123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #pragma once
- #include <iostream>
- using namespace std;
- #include <rapidjson/document.h>
- #include <rapidjson/rapidjson.h>
- #include <rapidjson/stringbuffer.h>
- #include <rapidjson/writer.h>
- #include "Util/logger.h"
- #include "Util/NoticeCenter.h"
- #include "Util/SqlPool.h"
- #include "Network/TcpClient.h"
- #include "Poller/Timer.h"
- using namespace toolkit;
- class NettyHttpDeviceConfig
- {
- public:
- std::string addTime;
- std::string updateTime;
- int createBy;
- int updateBy;
- int enableFlag;
- std::string attr1;
- std::string attr2;
- std::string attr3;
- int appId;
- int dvConfigId;
- int dvId;
- int algoType;
- std::string remark;
- public:
- NettyHttpDeviceConfig() {}
- ~NettyHttpDeviceConfig() {}
- bool jsonToObject(const rapidjson::Value& object);
- /**
- * @description: 数据同步
- * @param {*}
- * @return {*}
- */
- bool NettyClientDataSync();
- };
|