Esempio n. 1
0
        public void ChangeCircuit(Circuit newCircuit, string lapType)
        {
            logger.Info("Current circuit changed to " + newCircuit.Name + " '" + (lapType ?? "(none)") + "'");

            ReferenceLap = null;
            ComparisonMode = ComparisonModeEnum.FastestLap;
            this._currectCircuit = newCircuit;
            this._lapType = lapType ?? "";
            LoadFastestLap();

            OnCircuitChanged(this._currectCircuit.Name, this._lapType);
        }
Esempio n. 2
0
 public TelemetryLap(Circuit circuit, string lapType)
 {
     Packets = new List<TelemetryPacket>();
     Circuit = circuit;
     LapType = lapType;
 }