Class Event
Represents the configuration for an event, including scheduling, track details, and broadcast settings.
Inherited Members
Namespace: RedMist.TimingCommon.Models.Configuration
Assembly: RedMist.TimingCommon.dll
Syntax
[MessagePackObject(false)]
public class Event
Constructors
View SourceEvent()
Declaration
public Event()
Properties
View SourceBroadcast
Gets or sets the broadcaster configuration for this event.
Declaration
[Key(13)]
public BroadcasterConfig Broadcast { get; set; }
Property Value
| Type | Description |
|---|---|
| BroadcasterConfig |
CourseConfiguration
Gets or sets the course configuration or layout variant being used. Maximum length: 64 characters.
Declaration
[Key(11)]
[MaxLength(64)]
public string CourseConfiguration { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Distance
Gets or sets the track distance or length. Maximum length: 20 characters.
Declaration
[Key(12)]
[MaxLength(20)]
public string Distance { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EnableSourceDataLogging
Gets or sets a value indicating whether source data logging is enabled for this event.
This will log all raw data received from the timing system.
Default is true.
Declaration
[Key(9)]
public bool EnableSourceDataLogging { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
EndDate
Gets or sets the end date and time of the event.
Declaration
[Key(4)]
public DateTime EndDate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
EventUrl
Gets or sets the URL for event-specific information or registration. Maximum length: 512 characters.
Declaration
[Key(7)]
[MaxLength(512)]
public string EventUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Gets or sets the unique identifier for this event.
Declaration
[Key]
[Key(0)]
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
IsActive
Gets or sets a value indicating whether this event is active, i.e. is selected in the Relay as the event to send data to.
Declaration
[Key(5)]
public bool IsActive { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
IsArchived
Gets or sets a value indicating whether this session is historical or archived.
Declaration
[Key(17)]
[Required]
public bool IsArchived { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
IsDeleted
Gets or sets a value indicating whether this event has been deleted.
Default is false.
Declaration
[Key(15)]
[Required]
public bool IsDeleted { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
IsLive
Gets or sets a value indicating whether this event is currently live.
Declaration
[Key(6)]
public bool IsLive { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
IsSimulation
Indicates whether this is a real event or a simulation/replay/test event.
Declaration
[Key(16)]
[Required]
public bool IsSimulation { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
LoopsMetadata
Gets or sets the list of loop metadata for timing loops used in this event.
Declaration
[Key(14)]
public List<LoopMetadata> LoopsMetadata { get; set; }
Property Value
| Type | Description |
|---|---|
| List<LoopMetadata> |
Name
Gets or sets the name of the event. Maximum length: 512 characters.
Declaration
[Key(2)]
[MaxLength(512)]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OrganizationId
Gets or sets the identifier of the organization that owns this event.
Declaration
[Key(1)]
[Required]
public int OrganizationId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Schedule
Gets or sets the schedule for this event.
Declaration
[Key(8)]
public EventSchedule Schedule { get; set; }
Property Value
| Type | Description |
|---|---|
| EventSchedule |
StartDate
Gets or sets the start date and time of the event.
Declaration
[Key(3)]
public DateTime StartDate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
TrackName
Gets or sets the name of the track where this event is held. Maximum length: 128 characters.
Declaration
[Key(10)]
[MaxLength(128)]
public string TrackName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |