Преглед на файлове

Z991239-6399 #comment feat: 问题修复

陈纪林80310970 преди 2 месеца
родител
ревизия
3c0d0f0522
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 1 0
      Module/mod_ResourceWatcher/ResourceWatcherFSM.cpp
  2. 1 1
      Module/mod_ResourceWatcher/mod_ResourceWatcher.h

+ 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);
 		}