| SourceCode/Bond/Servo/CMaster.cpp | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
SourceCode/Bond/Servo/CMaster.cpp
@@ -822,6 +822,16 @@ unsigned CMaster::ReadBitsProc() { // 标志位清0复位 { StationIdentifier station; station.nNetNo = 0; station.nStNo = 255; char szBuffer[528] = { 0 }; // 0x0, 0x1087 m_cclink.WriteData(station, (long)DeviceType::B, 0, 528, (short*)szBuffer); } while (1) { // 待退出信号或时间到 int nRet = ::WaitForSingleObject(m_hEventReadBitsThreadExit[0], 1000);