fix some error and add some fun
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user