public void AddStation(Station station) { if (!StationIsInSimulation(station)) { SelectedStations.Add(station); StationIsInSimulationChanged?.Invoke(true, station); } }
public void RemoveStation(Station station) { SelectedStations.RemoveAll(s => s.Id == station.Id); StationIsInSimulationChanged?.Invoke(false, station); }