Explorar o código

#IQRV #comment [Other] 补充日志

gifur %!s(int64=4) %!d(string=hai) anos
pai
achega
f9b253c779
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Module/mod_healthmanager/mod_healthmanager.cpp

+ 4 - 0
Module/mod_healthmanager/mod_healthmanager.cpp

@@ -2493,12 +2493,15 @@ void CHealthManagerEntity::DeployTerminal(SpReqAnsContext<HealthManagerService_D
 			if (lastStep > 0 && (stepStatus == DEPLOYSTATE_NOTINIT)) {
 				lastStep--;
 				Dbg("draw back to %d", lastStep);
+			} else {
+				Dbg("current step: %d", lastStep);
 			}
 
 			for (int cur = lastStep; cur > 0; --cur) {
 				switch (cur) {
 				case DeployStep_GetTerminalInfo:
 				{
+                    Dbg("clear terminalno etc at cache file...");
 					pConfig->WriteConfigValue("TerminalDeploy", "TerminalNo", NULL);
 					pConfig->WriteConfigValue("TerminalDeploy", "Manufacturer", NULL);
 					pConfig->WriteConfigValue("TerminalDeploy", "ServerIP", NULL);
@@ -2507,6 +2510,7 @@ void CHealthManagerEntity::DeployTerminal(SpReqAnsContext<HealthManagerService_D
                 case DeployStep_FetchCenterSettings:
 				{
 					//清理集中配置文件
+					Dbg("clear centersetting files...");
 					CSimpleStringA strEntityCfgPath;
 					tmpResult = GetFunction()->GetPath("Cfg", strEntityCfgPath);
                     array_header_t* subs = fileutil_get_sub_files_a(strEntityCfgPath);