123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- #ifndef MICROSERVICES_API_TERMINAL_CENTER_CONFIG_HEADER_
- #define MICROSERVICES_API_TERMINAL_CENTER_CONFIG_HEADER_
- #include "api_comm.h"
- #include <string>
- #include <vector>
- namespace MicroServices
- {
- namespace API
- {
- namespace Terminal
- {
- /*
- * "branchNo": "755",
- "cnName": "",
- "moudle": "GPIO",
- "name": ";keba",
- "remark": "",
- "sites": "BIZ",
- "updateTime": "2021-07-14 16:12:37.178",
- "value": "Trace"
- */
- struct ModuleConfigItem
- {
- std::string branchNo;
- std::string remark;
- std::string sites;
- std::string updateTime;
- std::string moudle;
- std::string name;
- std::string value;
- };
- struct CenterSettingConfig
- {
- std::string lastUpdateTime;
- std::vector<ModuleConfigItem> config;
- };
- struct CenterSettingFile
- {
- std::string branchNo;
- CenterSettingConfig biz;
- CenterSettingConfig dmz;
- };
- }
- namespace TerminalV3
- {
- struct ModuleConfigItem
- {
- std::string m_moudle;
- std::string m_name;
- std::string m_value;
- };
- }
- }
- }
- #endif //MICROSERVICES_API_TERMINAL_CENTER_CONFIG_HEADER_
|