Interface ILap
Interface representing a Lap
Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public interface ILap
Properties
CountForFastestLap
Gets a value indicating whether the lap should count towards the fastest lap determination for the session.
Declaration
bool CountForFastestLap { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EndTime
Gets or sets the end time of the lap in nanoseconds. If the end time is not specified the implementation will attempt to determine the end time from the session end time. EndTimeUnbounded
Declaration
Nullable<long> EndTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
EndTimeUnbounded
Gets the end time of the lap in nanoseconds.
Declaration
Nullable<long> EndTimeUnbounded { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
LapId
Gets the lap identifier.
Declaration
int LapId { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The lap identifier. |
LapTime
Gets the lap time in nanoseconds.
Declaration
Nullable<long> LapTime { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Name
Gets or sets the lap name.
Declaration
string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | value |
System.ArgumentException | Lap Name exceeds maximum allowed lap name length of 150 characters. |
Number
Gets or sets the lap number.
Declaration
short Number { get; set; }
Property Value
Type | Description |
---|---|
System.Int16 | The number. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Negative lap number is not allowed. |
StartTime
Gets or sets the start time of the lap in nanoseconds.
Declaration
long StartTime { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
TimeRange
Gets the time range for the lap.
Declaration
Nullable<TimeRange> TimeRange { get; }
Property Value
Type | Description |
---|---|
System.Nullable<TimeRange> |
TriggerSource
Gets the trigger source for a lap.
Declaration
byte TriggerSource { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
Remarks
Trigger sources are user defined and can be values such as:
- On Circuit
- Pit Lane
- Out Lap
- In Lap
- etc.
Methods
ToString()
Returns a System.String that represents the current System.Object.
Declaration
string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current System.Object. |