浏览代码

Z991239-6399 #comment feat: 问题修复

陈纪林80310970 2 月之前
父节点
当前提交
3c0d0f0522

+ 1 - 0
Module/mod_ResourceWatcher/ResourceWatcherFSM.cpp

@@ -333,6 +333,7 @@ void ResourceWatcherFSM::TriggerProccessUpload()
 void ResourceWatcherFSM::TriggerFileListUpload()
 {
     CSmartPointer<IConfigInfo> spCtSettingConfig;
+    GetEntityBase()->GetFunction()->OpenConfig(Config_CenterSetting, spCtSettingConfig);
     //集中配置读取需要上送的路径
     CSimpleStringA fileListPath("");
     spCtSettingConfig->ReadConfigValue(m_pEntity->GetEntityName(), "DirPathToUploadFileList", fileListPath);

+ 1 - 1
Module/mod_ResourceWatcher/mod_ResourceWatcher.h

@@ -106,7 +106,7 @@ public:
 		else
 		{
 			DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM)("Terminal is starting, regist the teminalStage Event.");
-			spEntityFunction->RegistSysVarEvent("terminalStage", this);
+			spEntityFunction->RegistSysVarEvent("TerminalStage", this);
 		}