|
|
@ -36,6 +36,11 @@ public class Launch extends Application {
|
|
|
|
Platform.runLater(() -> {
|
|
|
|
Platform.runLater(() -> {
|
|
|
|
for (Capteur capteurs1 : capteurs) {
|
|
|
|
for (Capteur capteurs1 : capteurs) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
|
|
|
|
if (capteurs1 instanceof CapteurVirtuel){
|
|
|
|
|
|
|
|
for (Capteur capteur: ((CapteurVirtuel) capteurs1).getLesCapteurs().values()) {
|
|
|
|
|
|
|
|
capteur.genTemp();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
capteurs1.genTemp();
|
|
|
|
capteurs1.genTemp();
|
|
|
|
} catch (IOException e) {
|
|
|
|
} catch (IOException e) {
|
|
|
|
throw new RuntimeException(e);
|
|
|
|
throw new RuntimeException(e);
|
|
|
|