|
|
@@ -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);
|