LAPTOP-SNT8I5JK\Boounion
2025-07-08 d9c3fbc92d2a775674943d4ab882fbd77f0db688
SourceCode/Bond/Servo/HsmsPassive.cpp
@@ -68,11 +68,7 @@
void CHsmsPassive::setListener(SECSListener listener)
{
   m_listener.onEQOffLine = listener.onEQOffLine;
   m_listener.onEQOnLine = listener.onEQOnLine;
   m_listener.onCommand = listener.onCommand;
   m_listener.onEQConstantRequest = listener.onEQConstantRequest;
   m_listener.onEQConstantSend = listener.onEQConstantSend;
   m_listener = listener;
}
void CHsmsPassive::setActionTimeout(int nSecond)
@@ -499,7 +495,7 @@
   pList->addItem(m_strEquipmentModelType.c_str(), "MDLN");
   pList->addItem(m_strSoftRev.c_str(), "SOFTREV");
   m_pPassive->sendMessage(pMessage);
   LOGI("<HSMS>[SECS Msg SEND]S1F14 (SysByte=%u)", pMessage->getHeader()->systemBytes);
   LOGI("<HSMS>[SECS Msg SEND]%s", pMessage->toString());
   HSMS_Destroy1Message(pMessage);
   return 0;
@@ -623,6 +619,9 @@
      time.wYear = atoi(&szBuffer[0]);
      time.wMilliseconds = 0;
      SetLocalTime(&time);
      if (m_listener.onDatetimeSync != nullptr) {
         m_listener.onDatetimeSync(this, time);
      }
   }
   replyAck(2, 32, pRecv->getHeader()->systemBytes, BYTE(0), "TIACK");