提交 64c148ca authored 作者: blu's avatar blu

big refacting of communitation architect

上级 44c36e1d
...@@ -89,18 +89,10 @@ private: ...@@ -89,18 +89,10 @@ private:
int init() int init()
{ {
int ret = 0; int ret = 0;
spdlog::info("evmlmotion boot {}", selfId); spdlog::info("evmlmotion boot {}", selfId);
// TODO: req config // TODO: req config
bool found = false; bool found = false;
try { try {
ret = LVDB::getLocalConfig(config);
if(ret < 0) {
spdlog::error("failed to get local configuration");
exit(1);
}
spdlog::info("evmlmotion {} config: {}", devSn, config.dump(4)); spdlog::info("evmlmotion {} config: {}", devSn, config.dump(4));
json evmlmotion; json evmlmotion;
json &evmgr = this->config; json &evmgr = this->config;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论