ZT2 Inhibit

Implementation de l'inhibition Modbus de la ZT2
This commit is contained in:
zonetest
2017-08-31 14:50:55 -04:00
parent 0efe9b3e8d
commit 36a735db06
4 changed files with 46 additions and 23 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ unsigned int CZT2StatsZone::Reset()
unsigned int CZT2StatsZone::SetTrainParameters(int TrainType, QList<qint16> TrainComposition)
{
if(mTrainType != (unsigned)TrainType)
// if(mTrainType != (unsigned)TrainType)
{
mTrainType = TrainType;
mTrainTypeText->setPlainText(QString("Type de train : %1").arg(CZTData::GetTrainTypeString(mTrainType)));