This commit is contained in:
zhouhuang 2024-12-30 08:42:03 +08:00
parent c6aaaa4193
commit e7f49fcf18
2 changed files with 2 additions and 4 deletions

View File

@ -972,7 +972,6 @@ BOOLEAN CHostADSBFProcess::OnTimer(void)
{ {
if (m_turbine == NULL) if (m_turbine == NULL)
{ {
//vLog(LOG_DEBUG, "%s not connected.\n", m_pidName.c_str());
if ((m_apdu_t0_begin + 20) < system32.timers) if ((m_apdu_t0_begin + 20) < system32.timers)
{ {
m_apdu_t0_begin = 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); vLog(LOG_DEBUG, "%s 最新文件夹编号: %ld, 最新文件名编号: %ld: 最新文件夹中第一个文件的编号: %ld\n", m_pidName.c_str(), m_currentDirNo, m_currentFileNo, m_currentDirStartFileNo);
return TRUE; return TRUE;
} }

View File

@ -44,7 +44,7 @@ AdsDevice::~AdsDevice()
{ {
if (m_Connected == true) if (m_Connected == true)
{ {
DisconnectTarget(*m_NetId.get()); //DisconnectTarget(*m_NetId.get());
m_Connected = false; m_Connected = false;
} }
} }
@ -53,7 +53,7 @@ void AdsDevice::DisconnectDevice()
{ {
if (m_Connected == true) if (m_Connected == true)
{ {
DisconnectTarget(*m_NetId.get()); //DisconnectTarget(*m_NetId.get());
m_Connected = false; m_Connected = false;
} }
} }