Correction reset nb passages aujourd'hui
This commit is contained in:
parent
48b69ebe97
commit
2f61197fb6
@ -3,6 +3,7 @@
|
||||
#include "ModbusRepository.h"
|
||||
#include "PIHistorianDefs.h"
|
||||
#include "EngLog.h"
|
||||
#include <QDebug>
|
||||
|
||||
CPIHistorianManager::CPIHistorianManager(CModbusRepository *PIHistorianRepo, int ModbusPort, int ModbusDevID)
|
||||
{
|
||||
@ -580,6 +581,7 @@ void CPIHistorianManager::StartHistorianTimer()
|
||||
|
||||
void CPIHistorianManager::HistorianTimerExpired()
|
||||
{
|
||||
// qDebug(qPrintable(QString("Vérification du changement de date: Today:%1, Current:%2").arg(mTodaysDate.toString("yyyy-MM-dd")).arg(QDate::currentDate().toString("yyyy-MM-dd"))));
|
||||
if(mTodaysDate != QDate::currentDate())
|
||||
{
|
||||
mNbFNToday = 0;
|
||||
@ -589,6 +591,7 @@ void CPIHistorianManager::HistorianTimerExpired()
|
||||
mNbPPIZT2Today = 0;
|
||||
mNbPPEZT2Today = 0;
|
||||
mNbDeclToday = 0;
|
||||
mNbPassagesToday = 0;
|
||||
|
||||
mTodaysDate = QDate::currentDate();
|
||||
|
||||
|
||||
@ -29,9 +29,12 @@
|
||||
#ifndef ZTVERSION_H
|
||||
#define ZTVERSION_H
|
||||
|
||||
#define ZT_SOFT_VERSION "V1.29"
|
||||
#define ZT_SOFT_VERSION "V1.30"
|
||||
|
||||
//LOG DES CHANGEMENTS
|
||||
//Version 1.30
|
||||
//-Finalement réglé le problème de reset du nombre de passages aujourd'hui.
|
||||
|
||||
//Version 1.29
|
||||
//-Tentative de faire marcher le reset des données Historien du jour
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user