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); }
public TelemetryLap(Circuit circuit, string lapType) { Packets = new List<TelemetryPacket>(); Circuit = circuit; LapType = lapType; }