kopia lustrzana https://github.com/SP8EBC/MeteoSystem
first public release - hiding disabled stations
rodzic
c0cb3e5be8
commit
4c903d2231
|
@ -53,6 +53,7 @@ public class AllStationsDao {
|
|||
out = new LinkedList<WeatherStation>();
|
||||
|
||||
for (StationDefinition def : intermediate.stations) {
|
||||
if (def.enabled) {
|
||||
WeatherStation elem = new WeatherStation();
|
||||
|
||||
elem.setSystemName(def.name);
|
||||
|
@ -72,6 +73,7 @@ public class AllStationsDao {
|
|||
out.add(elem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue