From f30e226b536e448b5a957cf21cf5a2e781fdd36d Mon Sep 17 00:00:00 2001 From: jfmartel Date: Tue, 29 Jun 2021 10:06:58 -0400 Subject: [PATCH] =?UTF-8?q?Ajout=20du=20refresh=20de=20l'itin=C3=A9raire?= =?UTF-8?q?=20actif=20pour=20l'=C3=A9mission=20d'alarmes=20en=20mode=20ent?= =?UTF-8?q?retien?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sources/ZTVersion.h | 2 ++ sources/Zonetest.cpp | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/sources/ZTVersion.h b/sources/ZTVersion.h index ef06eb1..25e976a 100755 --- a/sources/ZTVersion.h +++ b/sources/ZTVersion.h @@ -34,6 +34,8 @@ //LOG DES CHANGEMENTS //Version 1.24 //-Changements à la station Côte-Vertu pour la nouvelle configuration de la ZT. +//-Correction d'un petit bug qui ne permettait pas d'avoir le bon itinéraire dans les +// alarmes du mode entretien à chaque fois. //Version 1.23 diff --git a/sources/Zonetest.cpp b/sources/Zonetest.cpp index 334a21b..29faf3a 100644 --- a/sources/Zonetest.cpp +++ b/sources/Zonetest.cpp @@ -961,6 +961,10 @@ void CZoneTest::ZTMaintenanceOptionSeleced() { panel.mOptionsPage->hide(); panel.mMaintenancePage->show(); + if(mModbusCCMgr != 0) + { + mModbusCCMgr->SetActivatedITI(mZTStation->GetCurrentITI()); //Fetch and update the activated ITI for alarm simulation + } } ///////////////