add event fun
This commit is contained in:
@@ -1007,7 +1007,6 @@ rocketmq::ConsumeStatus myMessageCallbackrecall(const rocketmq::MQMessageExt& ms
|
||||
|
||||
if (!result.empty()) {
|
||||
|
||||
std::lock_guard<std::mutex> lock(ledgermtx);
|
||||
recall_json_handle(result);//不再使用文件补招方式
|
||||
|
||||
} else {
|
||||
@@ -1824,7 +1823,7 @@ bool parsemsg(const std::string& devid, const std::string& guid, const nlohmann:
|
||||
|
||||
ClientManager::instance().get_fixedvalue_action_to_device(
|
||||
devid, static_cast<uint16_t>(parsed.cldid)); // 获取装置测点定值数据
|
||||
ClientManager::instance().get_fixedvaluedes_action_to_device(devid); // 获取装置定值描述
|
||||
ClientManager::instance().get_fixedvaluedes_action_to_device(devid); // 获取装置定值描述 只有这一步可以响应成功和关闭
|
||||
break;
|
||||
}
|
||||
case 2: { // 写
|
||||
@@ -1871,7 +1870,7 @@ bool parsemsg(const std::string& devid, const std::string& guid, const nlohmann:
|
||||
|
||||
ClientManager::instance().get_interfixedvalue_action_to_device(devid); // 获取内部定值
|
||||
ClientManager::instance().get_fixedvalucontrolword_action_to_device(devid, 1); // 1-内部定值描述
|
||||
ClientManager::instance().get_fixedvalucontrolword_action_to_device(devid, 2); // 2-控制字描述
|
||||
ClientManager::instance().get_fixedvalucontrolword_action_to_device(devid, 2); // 2-控制字描述 只有这一步可以响应成功和关闭
|
||||
break;
|
||||
}
|
||||
case 2: { // 写
|
||||
|
||||
Reference in New Issue
Block a user