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