RedMist
Search Results for

    Show / Hide Table of Contents

    Class CarPosition

    Status data for a car.

    Inheritance
    object
    CarPosition
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: RedMist.TimingCommon.Models
    Assembly: RedMist.TimingCommon.dll
    Syntax
    [GeneratePatch]
    [MessagePackObject(false)]
    public class CarPosition

    Constructors

    View Source

    CarPosition()

    Declaration
    public CarPosition()

    Fields

    View Source

    InvalidPosition

    Used to indicate position information is not available.

    Declaration
    public const int InvalidPosition = -999
    Field Value
    Type Description
    int

    Properties

    View Source

    BestLap

    Car's best lap number.

    Declaration
    [JsonPropertyName("bl")]
    [Key(6)]
    public int BestLap { get; set; }
    Property Value
    Type Description
    int
    View Source

    BestTime

    Car's best lap time formatted as HH:mm:ss.fff.

    Declaration
    [JsonPropertyName("bt")]
    [MaxLength(12)]
    [Key(5)]
    public string? BestTime { get; set; }
    Property Value
    Type Description
    string
    View Source

    BlackFlags

    Number of black flags applied to the car.

    Declaration
    [JsonPropertyName("bf")]
    [Key(30)]
    public int BlackFlags { get; set; }
    Property Value
    Type Description
    int
    View Source

    Class

    Car's class as indicated by the timing system.

    Declaration
    [JsonPropertyName("class")]
    [MaxLength(40)]
    [Key(4)]
    public string? Class { get; set; }
    Property Value
    Type Description
    string
    View Source

    ClassPosition

    Car's position in-class.

    Declaration
    [JsonPropertyName("clp")]
    [Key(21)]
    public int ClassPosition { get; set; }
    Property Value
    Type Description
    int
    View Source

    CompletedSections

    Car's completed section for the current lap.

    Declaration
    [JsonPropertyName("csec")]
    [Key(41)]
    [MaxLength(5)]
    public List<CompletedSection> CompletedSections { get; set; }
    Property Value
    Type Description
    List<CompletedSection>
    View Source

    CurrentStatus

    Active, In Pits,DNS, Contact, Mechanical, etc. Only available with multiloop systems.

    Declaration
    [JsonPropertyName("mcs")]
    [MaxLength(12)]
    [Key(49)]
    public string CurrentStatus { get; set; }
    Property Value
    Type Description
    string
    View Source

    DriverId

    Current ID of the driver.

    Declaration
    [JsonPropertyName("did")]
    [Key(45)]
    [MaxLength(36)]
    public string DriverId { get; set; }
    Property Value
    Type Description
    string
    View Source

    DriverName

    Current name of the driver.

    Declaration
    [JsonPropertyName("dn")]
    [Key(44)]
    [MaxLength(25)]
    public string DriverName { get; set; }
    Property Value
    Type Description
    string
    View Source

    EventId

    Redmist Event ID.

    Declaration
    [JsonPropertyName("eid")]
    [MaxLength(11)]
    [Key(0)]
    public string? EventId { get; set; }
    Property Value
    Type Description
    string
    View Source

    ImpactWarning

    Car may have been involved in an incident. Only available with certain in-car systems.

    Declaration
    [JsonPropertyName("iw")]
    [Key(50)]
    public bool ImpactWarning { get; set; }
    Property Value
    Type Description
    bool
    View Source

    InCarVideo

    In-car video details if available.

    Declaration
    [JsonPropertyName("vid")]
    [Key(46)]
    public VideoStatus? InCarVideo { get; set; }
    Property Value
    Type Description
    VideoStatus
    View Source

    InClassDifference

    Time to the in-class leader formatted as HH:mm:ss.fff.

    Declaration
    [JsonPropertyName("cd")]
    [MaxLength(12)]
    [Key(10)]
    public string? InClassDifference { get; set; }
    Property Value
    Type Description
    string
    View Source

    InClassFastestAveragePace

    Indicates this car has the fastest moving average lap time in its class (last 5 laps).

    Declaration
    [JsonPropertyName("faic")]
    [Key(51)]
    public bool InClassFastestAveragePace { get; set; }
    Property Value
    Type Description
    bool
    View Source

    InClassGap

    Time to the next car in the same class formatted as HH:mm:ss.fff.

    Declaration
    [JsonPropertyName("cg")]
    [MaxLength(12)]
    [Key(9)]
    public string? InClassGap { get; set; }
    Property Value
    Type Description
    string
    View Source

    InClassPositionsGained

    Number of position the car has gained in-class. Negative number means positions lost. Value of -999 means not available.

    Declaration
    [JsonPropertyName("cpg")]
    [Key(25)]
    public int InClassPositionsGained { get; set; }
    Property Value
    Type Description
    int
    View Source

    InClassStartingPosition

    Car's starting position in-class inferred by the order the cars pass S/F at the start of the race or by the multiloop timing system if available.

    Declaration
    [JsonPropertyName("icsp")]
    [Key(24)]
    public int InClassStartingPosition { get; set; }
    Property Value
    Type Description
    int
    View Source

    IsBestTime

    Whether the car set the best lap time of the session.

    Declaration
    [JsonPropertyName("ibt")]
    [Key(7)]
    public bool IsBestTime { get; set; }
    Property Value
    Type Description
    bool
    View Source

    IsBestTimeClass

    Whether the car set the best lap time in its class.

    Declaration
    [JsonPropertyName("btc")]
    [Key(8)]
    public bool IsBestTimeClass { get; set; }
    Property Value
    Type Description
    bool
    View Source

    IsClassMostPositionsGained

    This car has gained the most positions in-class.

    Declaration
    [JsonPropertyName("cmpg")]
    [Key(27)]
    public bool IsClassMostPositionsGained { get; set; }
    Property Value
    Type Description
    bool
    View Source

    IsEnteredPit

    Car just passed the pit lane entry line.

    Declaration
    [JsonPropertyName("enp")]
    [Key(31)]
    public bool IsEnteredPit { get; set; }
    Property Value
    Type Description
    bool
    View Source

    IsExitedPit

    Car just passed the pit lane exit line.

    Declaration
    [JsonPropertyName("exp")]
    [Key(33)]
    public bool IsExitedPit { get; set; }
    Property Value
    Type Description
    bool
    View Source

    IsInPit

    Car is currently in pits.

    Declaration
    [JsonPropertyName("ip")]
    [Key(34)]
    public bool IsInPit { get; set; }
    Property Value
    Type Description
    bool
    View Source

    IsOverallMostPositionsGained

    This car has gained the most positions overall.

    Declaration
    [JsonPropertyName("ompg")]
    [Key(26)]
    public bool IsOverallMostPositionsGained { get; set; }
    Property Value
    Type Description
    bool
    View Source

    IsPitStartFinish

    Car is just passed the pit lane start/finish line.

    Declaration
    [JsonPropertyName("psf")]
    [Key(32)]
    public bool IsPitStartFinish { get; set; }
    Property Value
    Type Description
    bool
    View Source

    IsStale

    Car position is stale and has not been updated for a while.

    Declaration
    [JsonPropertyName("st")]
    [Key(37)]
    public bool IsStale { get; set; }
    Property Value
    Type Description
    bool
    View Source

    LapHadLocalFlag

    This lap had a local flag for the car. Requires specific in-car equipment.

    Declaration
    [JsonPropertyName("lhlf")]
    [Key(40)]
    public bool? LapHadLocalFlag { get; set; }
    Property Value
    Type Description
    bool?
    View Source

    LapIncludedPit

    Current lap includes a pit stop.

    Declaration
    [JsonPropertyName("lip")]
    [Key(35)]
    public bool LapIncludedPit { get; set; }
    Property Value
    Type Description
    bool
    View Source

    LapStartTime

    Time at which the current lap started in UTC.

    Declaration
    [JsonPropertyName("lstt")]
    [Key(43)]
    public TimeOnly LapStartTime { get; set; }
    Property Value
    Type Description
    TimeOnly
    View Source

    LapsLedInClass

    Laps completed by the car in class. Null if not supported by the timing system.

    Declaration
    [JsonPropertyName("llic")]
    [Key(19)]
    public int? LapsLedInClass { get; set; }
    Property Value
    Type Description
    int?
    View Source

    LapsLedOverall

    Laps completed by the car. Null if not supported by the timing system.

    Declaration
    [JsonPropertyName("llo")]
    [Key(18)]
    public int? LapsLedOverall { get; set; }
    Property Value
    Type Description
    int?
    View Source

    LastLapCompleted

    Last lap number.

    Declaration
    [JsonPropertyName("llp")]
    [Key(15)]
    public int LastLapCompleted { get; set; }
    Property Value
    Type Description
    int
    View Source

    LastLapPitted

    Last lap number the car pitted. Null if not supported by the timing system.

    Declaration
    [Key(17)]
    public int? LastLapPitted { get; set; }
    Property Value
    Type Description
    int?
    View Source

    LastLapTime

    Car's last lap time formatted as HH:mm:ss.fff.

    Declaration
    [JsonPropertyName("ltm")]
    [MaxLength(12)]
    [Key(14)]
    public string? LastLapTime { get; set; }
    Property Value
    Type Description
    string
    View Source

    LastLoopName

    Name of the last timing loop passed.

    Declaration
    [JsonPropertyName("ln")]
    [Key(36)]
    [MaxLength(10)]
    public string LastLoopName { get; set; }
    Property Value
    Type Description
    string
    View Source

    Latitude

    Last reported latitude of the car in WGS84 spherical Mercator.

    Declaration
    [JsonPropertyName("lat")]
    [Key(47)]
    public double? Latitude { get; set; }
    Property Value
    Type Description
    double?
    View Source

    LocalFlag

    Current local flag for the car. Requires specific in-car equipment.

    Declaration
    [JsonPropertyName("lflg")]
    [Key(39)]
    public Flags LocalFlag { get; set; }
    Property Value
    Type Description
    Flags
    View Source

    Longitude

    Last reported longitude of the car in WGS84 spherical Mercator.

    Declaration
    [JsonPropertyName("lon")]
    [Key(48)]
    public double? Longitude { get; set; }
    Property Value
    Type Description
    double?
    View Source

    Number

    Car number which can include letters such as 99x.

    Declaration
    [JsonPropertyName("n")]
    [MaxLength(5)]
    [Key(2)]
    public string? Number { get; set; }
    Property Value
    Type Description
    string
    View Source

    OverallDifference

    Time to the overall leader formatted as HH:mm:ss.fff.

    Declaration
    [JsonPropertyName("od")]
    [MaxLength(12)]
    [Key(12)]
    public string? OverallDifference { get; set; }
    Property Value
    Type Description
    string
    View Source

    OverallGap

    Time to the next car overall formatted as HH:mm:ss.fff.

    Declaration
    [JsonPropertyName("og")]
    [MaxLength(12)]
    [Key(11)]
    public string? OverallGap { get; set; }
    Property Value
    Type Description
    string
    View Source

    OverallPosition

    Car's overall position in the race by laps and as reported by the timing system.

    Declaration
    [JsonPropertyName("ovp")]
    [Key(20)]
    public int OverallPosition { get; set; }
    Property Value
    Type Description
    int
    View Source

    OverallPositionsGained

    Number of position the car has gained overall. Negative number means positions lost. Value of -999 means not available.

    Declaration
    [JsonPropertyName("opg")]
    [Key(23)]
    public int OverallPositionsGained { get; set; }
    Property Value
    Type Description
    int
    View Source

    OverallStartingPosition

    Car's starting overall position inferred by the order the cars pass S/F at the start of the race or by the multiloop timing system if available.

    Declaration
    [JsonPropertyName("osp")]
    [Key(22)]
    public int OverallStartingPosition { get; set; }
    Property Value
    Type Description
    int
    View Source

    PenalityLaps

    Laps lost due to penalties.

    Declaration
    [JsonPropertyName("pl")]
    [Key(28)]
    public int PenalityLaps { get; set; }
    Property Value
    Type Description
    int
    View Source

    PenalityWarnings

    Number of warnings issued.

    Declaration
    [JsonPropertyName("pw")]
    [Key(29)]
    public int PenalityWarnings { get; set; }
    Property Value
    Type Description
    int
    View Source

    PitStopCount

    Number of times the car pitted. Null if not supported by the timing system.

    Declaration
    [JsonPropertyName("psc")]
    [Key(16)]
    public int? PitStopCount { get; set; }
    Property Value
    Type Description
    int?
    View Source

    ProjectedLapTimeMs

    Estimated lap time for the car.

    Declaration
    [JsonPropertyName("plt")]
    [Key(42)]
    public int ProjectedLapTimeMs { get; set; }
    Property Value
    Type Description
    int
    View Source

    SessionId

    Current session ID as reported by the timing system.

    Declaration
    [JsonPropertyName("sid")]
    [MaxLength(11)]
    [Key(1)]
    public string? SessionId { get; set; }
    Property Value
    Type Description
    string
    View Source

    TotalTime

    Total race time formatted as HH:mm:ss.fff.

    Declaration
    [JsonPropertyName("ttm")]
    [MaxLength(12)]
    [Key(13)]
    public string? TotalTime { get; set; }
    Property Value
    Type Description
    string
    View Source

    TrackFlag

    Flag active for the overall track.

    Declaration
    [JsonPropertyName("flg")]
    [Key(38)]
    public Flags TrackFlag { get; set; }
    Property Value
    Type Description
    Flags
    View Source

    TrackPrecipitationPerc

    Estimated precipitation on the track as a percentage. Value of 0 means no chance of precipitation, 100 means certain precipitation.

    Declaration
    [JsonPropertyName("precip")]
    [Key(53)]
    public int? TrackPrecipitationPerc { get; set; }
    Property Value
    Type Description
    int?
    View Source

    TrackTempDegF

    Estimated temperature of the track in degrees Fahrenheit.

    Declaration
    [JsonPropertyName("temp")]
    [Key(52)]
    public int? TrackTempDegF { get; set; }
    Property Value
    Type Description
    int?
    View Source

    TransponderId

    Car's main transponder ID as indicated by the timing system.

    Declaration
    [JsonPropertyName("tp")]
    [Key(3)]
    public uint TransponderId { get; set; }
    Property Value
    Type Description
    uint

    Extension Methods

    CarPositionExtensions.DeepCopy(CarPosition)
    • View Source
    In this article
    Back to top © 2025 Big Mission Motorsports, LLC. Red Mist Timing & Scoring