fix some error and add some fun

This commit is contained in:
lnk
2025-10-11 09:08:43 +08:00
parent 35231baae7
commit c494225b38
5 changed files with 106 additions and 27 deletions

View File

@@ -322,6 +322,13 @@ public:
std::string key; // 消息key
};
//台账更新回复
struct DeviceReply {
std::string deviceId;
int code;
std::string result;
};
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// SOE 事件类
@@ -676,6 +683,8 @@ void check_device_busy_timeout();
//业务上报
void send_reply_to_cloud(int reply_code, const std::string& dev_id, int type, const std::string& guid, const std::string& mac);
void send_batch_reply_to_queue(const std::string& guid,
const std::vector<DeviceReply>& replies);
//内部定值响应
bool send_internal_value_reply(const std::string &dev_id, const std::vector<DZ_kzz_bit> &control_words);