public PlanningTrackCondition(TractionSystem tractionSystem, bool isYellowColour, float distanceToTrainM) { DistanceToTrainM = distanceToTrainM; Type = TrackConditionType.TractionSystemChange; YellowColour = isYellowColour; TractionSystem = tractionSystem; }
public PlanningTrackCondition(TrackConditionType type, bool isYellowColour, float distanceToTrainM) { DistanceToTrainM = distanceToTrainM; Type = type; YellowColour = isYellowColour; TractionSystem = null; }