Class Organization
Represents an organization, series, or league that hosts racing events, including configuration for timing systems and branding.
Inherited Members
Namespace: RedMist.TimingCommon.Models
Assembly: RedMist.TimingCommon.dll
Syntax
[MessagePackObject(false)]
public class Organization
Constructors
View SourceOrganization()
Declaration
public Organization()
Properties
View SourceClasses
Class definitions.
Declaration
[Key(17)]
public List<ClassMetadata> Classes { get; set; }
Property Value
| Type | Description |
|---|---|
| List<ClassMetadata> |
ClientId
Gets or sets the unique authentication identifier for the client.
Declaration
[Required]
[MaxLength(255)]
[Key(1)]
public string ClientId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ControlLogParams
Gets or sets the parameters for the control log system. Maximum length: 512 characters.
Declaration
[Key(7)]
[MaxLength(512)]
public string ControlLogParams { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ControlLogType
Gets or sets the type of control log system used by this organization. Maximum length: 40 characters.
Declaration
[Key(6)]
[MaxLength(40)]
public string ControlLogType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FlagtronicsApiKey
Gets the API key used to authenticate requests to the Flagtronics service.
Declaration
[Key(16)]
[MaxLength(42)]
public string FlagtronicsApiKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FlagtronicsUrl
Gets or sets the URL used to connect to the Flagtronics service. Example: http://192.168.1.100:52733/api/driverid/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Declaration
[Key(15)]
[MaxLength(512)]
public string FlagtronicsUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Gets or sets the unique identifier for this organization.
Declaration
[Key]
[Key(0)]
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Logo
Gets or sets the organization's logo as a byte array, or null if not available.
Maximum size: 5242880 bytes (5 MB).
Declaration
[Key(5)]
[MaxLength(5242880)]
public byte[]? Logo { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
MultiloopIp
Gets or sets the IP address for the Multiloop timing system, or null if not configured.
Maximum length: 40 characters.
Declaration
[Key(12)]
[MaxLength(40)]
public string? MultiloopIp { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MultiloopPort
Gets or sets the port number for the Multiloop timing system. Default is 50004.
Declaration
[Key(13)]
public int MultiloopPort { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Name
Gets or sets the full name of the organization. Maximum length: 255 characters.
Declaration
[Required]
[MaxLength(255)]
[Key(2)]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OrbitsLogsPath
Gets or sets the file system path to Orbits logs, or null if not configured.
Maximum length: 512 characters.
Declaration
[Key(14)]
[MaxLength(512)]
public string? OrbitsLogsPath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RMonitorIp
Gets or sets the IP address for the RMonitor timing system, or null if not configured.
Maximum length: 40 characters.
Declaration
[Key(10)]
[MaxLength(40)]
public string? RMonitorIp { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RMonitorPort
Gets or sets the port number for the RMonitor timing system. Default is 50000.
Declaration
[Key(11)]
public int RMonitorPort { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
RelayLastConnected
Gets or sets the date and time when the relay was last successfully connected.
Declaration
[Key(24)]
public DateTime? RelayLastConnected { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
RelayVersion
Last relay version that connected.
Declaration
[Key(23)]
[MaxLength(18)]
public string RelayVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ShortName
Gets or sets the abbreviated name of the organization. Maximum length: 8 characters.
Declaration
[Required]
[MaxLength(8)]
[Key(3)]
public string ShortName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ShowControlLogConnection
Gets or sets a value indicating whether control log connections are displayed in the relay connections list.
Declaration
[Key(20)]
public bool ShowControlLogConnection { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ShowFlagtronicsConnection
Gets or sets a value indicating whether the Flagtronics connection is displayed in the relay connections list.
Declaration
[Key(22)]
public bool ShowFlagtronicsConnection { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ShowMultiloopConnection
Gets or sets a value indicating whether multiloop connections are displayed in the relay connections list.
Declaration
[Key(18)]
public bool ShowMultiloopConnection { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ShowOrbitsLogsConnection
Gets or sets a value indicating whether Orbits logs connections are displayed in the relay connections list.
Declaration
[Key(19)]
public bool ShowOrbitsLogsConnection { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ShowX2Connection
Gets or sets a value indicating whether the X2 connection is displayed in the relay connections list.
Declaration
[Key(21)]
public bool ShowX2Connection { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Website
Gets or sets the organization's website URL, or null if not available.
Maximum length: 1024 characters.
Declaration
[MaxLength(1024)]
[Key(4)]
public string? Website { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
X2
Gets or sets the X2 decoder server configuration.
Declaration
[Key(9)]
public X2Configuration X2 { get; set; }
Property Value
| Type | Description |
|---|---|
| X2Configuration |