|
@@ -45,7 +45,7 @@ public:
|
|
*/
|
|
*/
|
|
void init(config_file& config, std::map<std::string, YA::MSG_HANDLE_FUNC_TYPE>& MsgFuncList)
|
|
void init(config_file& config, std::map<std::string, YA::MSG_HANDLE_FUNC_TYPE>& MsgFuncList)
|
|
{
|
|
{
|
|
- sleep_ms = std::stoi(config.get("service.interval_send_json_alarm","10000"));
|
|
|
|
|
|
+ sleep_ms = std::stoi(config.get("service.interval_send_json_alarm_ms","10000"));
|
|
|
|
|
|
MsgFuncList.insert( std::make_pair( JSON_CMD_VALUE_META_DATA_CHANGED, &module_web::accept ) );
|
|
MsgFuncList.insert( std::make_pair( JSON_CMD_VALUE_META_DATA_CHANGED, &module_web::accept ) );
|
|
MsgFuncList.insert( std::make_pair( JSON_CMD_VALUE_REQUEST_ALL_DATA, &module_web::accept ) );
|
|
MsgFuncList.insert( std::make_pair( JSON_CMD_VALUE_REQUEST_ALL_DATA, &module_web::accept ) );
|