update
This commit is contained in:
parent
151e23df2e
commit
e7b58121bd
@ -2814,7 +2814,7 @@ void CRYDevice::heart_beat(int status)
|
||||
#endif
|
||||
jsonValue["linkId"] = linkId;
|
||||
jsonValue["online"] = (config.processes[i].softdog >= PROCESS_WATCHDOG_TIME) ? false : true;
|
||||
//vLog(LOG_DEBUG, "link %s, %d\n", linkId, (config.processes[i].softdog >= PROCESS_WATCHDOG_TIME) ? 0 : 1);
|
||||
vLog(LOG_DEBUG, "link %s, %d\n", linkId, (config.processes[i].softdog >= PROCESS_WATCHDOG_TIME) ? 0 : 1);
|
||||
jsonLink.append(jsonValue);
|
||||
}
|
||||
}
|
||||
|
@ -992,7 +992,11 @@ BOOLEAN CHostADSBFProcess::OnTimer(void)
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
if (!m_turbine->IsConnected()) return TRUE;
|
||||
if (!m_turbine->IsConnected())
|
||||
{
|
||||
vLog(LOG_DEBUG, "%s device not connected.\n", m_pidName.c_str());
|
||||
return TRUE;
|
||||
}
|
||||
m_apdu_t0_begin = system32.timers;
|
||||
if (m_bHaveFTP)
|
||||
{ //启动时读取一次,后面自己维护序号
|
||||
|
Loading…
Reference in New Issue
Block a user