QCtDrive *ctApp = NULL;
ctApp = (QCtDrive*)qApp;
if(nMeterIndex >= domparser.dataPackge.iMeterNum){
nMeterIndex = 0;
cSendType = FINISH;
ctApp->stopRealDataTimer();
ctApp->startInterruptTimer();
}
void QCtDrive::startRealDataTimer()
{
if(!realDataTimer->isActive())
realDataTimer->start(protocol.domparser.net.cycTime, FALSE);
}
void QCtDrive::stopRealDataTimer()
{
if(realDataTimer->isActive())
realDataTimer->stop();
}