Class SubsessionChartLap
Contains details about a particular lap for a particular driver suitable for creating a lap chart.
Inherited Members
Namespace: Aydsko.iRacingData.Results
Assembly: Aydsko.iRacingData.dll
Syntax
public class SubsessionChartLap : SubsessionLap
Properties
FastestLap
Indicates if this lap time was the fastest lap of the race across all drivers.
Declaration
[JsonPropertyName("fastest_lap")]
public bool FastestLap { get; set; }
Property Value
Type | Description |
---|---|
bool |
Interval
If IntervalUnits is ms
and IntervalRaw is available this returns the interval to the leader. Otherwise returns null.
Declaration
[JsonIgnore]
public TimeSpan? Interval { get; }
Property Value
Type | Description |
---|---|
Nullable |
Remarks
There's no reasonable value that can be used to return a value here for lapped cars so if the interval is a lap count we just return null.
IntervalRaw
Contains the value of the interval at the end of this lap to the leader.
Declaration
[JsonPropertyName("interval")]
public long? IntervalRaw { get; set; }
Property Value
Type | Description |
---|---|
long? |
IntervalUnits
Describes the unit for the IntervalRaw value. Can be either ms
for milliseconds or lap
if the interval is one or more laps.
Declaration
[JsonPropertyName("interval_units")]
public string IntervalUnits { get; set; }
Property Value
Type | Description |
---|---|
string |
LapPosition
Contains the position of the car at the end of this lap.
Declaration
[JsonPropertyName("lap_position")]
public int LapPosition { get; set; }
Property Value
Type | Description |
---|---|
int |