update
This commit is contained in:
parent
c6aaaa4193
commit
e7f49fcf18
@ -972,7 +972,6 @@ BOOLEAN CHostADSBFProcess::OnTimer(void)
|
||||
{
|
||||
if (m_turbine == NULL)
|
||||
{
|
||||
//vLog(LOG_DEBUG, "%s not connected.\n", m_pidName.c_str());
|
||||
if ((m_apdu_t0_begin + 20) < system32.timers)
|
||||
{
|
||||
m_apdu_t0_begin = system32.timers;
|
||||
@ -1149,7 +1148,6 @@ BOOLEAN CHostADSBFProcess::readFileID()
|
||||
|
||||
vLog(LOG_DEBUG, "%s 最新文件夹编号: %ld, 最新文件名编号: %ld: 最新文件夹中第一个文件的编号: %ld\n", m_pidName.c_str(), m_currentDirNo, m_currentFileNo, m_currentDirStartFileNo);
|
||||
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
4
das-dn/third_party/AdsLib/AdsDevice.cpp
vendored
4
das-dn/third_party/AdsLib/AdsDevice.cpp
vendored
@ -44,7 +44,7 @@ AdsDevice::~AdsDevice()
|
||||
{
|
||||
if (m_Connected == true)
|
||||
{
|
||||
DisconnectTarget(*m_NetId.get());
|
||||
//DisconnectTarget(*m_NetId.get());
|
||||
m_Connected = false;
|
||||
}
|
||||
}
|
||||
@ -53,7 +53,7 @@ void AdsDevice::DisconnectDevice()
|
||||
{
|
||||
if (m_Connected == true)
|
||||
{
|
||||
DisconnectTarget(*m_NetId.get());
|
||||
//DisconnectTarget(*m_NetId.get());
|
||||
m_Connected = false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user