|
|
@@ -347,10 +347,12 @@ namespace FurnaceRT.Equipments.PMs
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- LOG.Info($"{message} Trigger {item.AssociationProcessRecipeName} ,auto clear CurrentValue {item.LimitValue} to 0");
|
|
|
+ var logInfo = $"{message} Trigger {item.AssociationProcessRecipeName}";
|
|
|
+ // var logInfo = $"{message} Trigger {item.AssociationProcessRecipeName} ,auto clear CurrentValue {item.LimitValue} to 0";
|
|
|
+ LOG.Info(logInfo);
|
|
|
RecipeExecEntryEnumValue = RecipeExecEntryEnum.RecipeStepRangeTrigger;
|
|
|
CheckToPostMessage((int)MSG.RunOtherRecipe, item.AssociationProcessRecipeName, "Process");
|
|
|
- Singleton<ScheduleMaintenanceDataManager>.Instance.SetValue(item.Item, 0);
|
|
|
+ //Singleton<ScheduleMaintenanceDataManager>.Instance.SetValue(item.Item, 0, true);
|
|
|
}
|
|
|
|
|
|
}
|
|
|
@@ -395,7 +397,7 @@ namespace FurnaceRT.Equipments.PMs
|
|
|
if (isWarning)
|
|
|
Singleton<EquipmentManager>.Instance.ReatorStepRunTimeWarning.Set(message);
|
|
|
|
|
|
-
|
|
|
+
|
|
|
if (isAlarm)
|
|
|
{
|
|
|
Singleton<EquipmentManager>.Instance.ReatorStepRunTimeAlarm.Set(message);
|
|
|
@@ -407,10 +409,12 @@ namespace FurnaceRT.Equipments.PMs
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- LOG.Info($"{message} Trigger {item.AssociationProcessRecipeName} ,auto clear CurrentValue {item.LimitValue} to 0");
|
|
|
+ var logInfo = $"{message} Trigger {item.AssociationProcessRecipeName}";
|
|
|
+ // var logInfo = $"{message} Trigger {item.AssociationProcessRecipeName} ,auto clear CurrentValue {item.LimitValue} to 0";
|
|
|
+ LOG.Info(logInfo);
|
|
|
RecipeExecEntryEnumValue = RecipeExecEntryEnum.RecipeStepRangeTrigger;
|
|
|
CheckToPostMessage((int)MSG.RunOtherRecipe, item.AssociationProcessRecipeName, "Process");
|
|
|
- Singleton<ScheduleMaintenanceDataManager>.Instance.SetValue(item.Item, 0);
|
|
|
+ // Singleton<ScheduleMaintenanceDataManager>.Instance.SetValue(item.Item, 0, true);
|
|
|
}
|
|
|
}
|
|
|
isPause = true;
|
|
|
@@ -456,10 +460,12 @@ namespace FurnaceRT.Equipments.PMs
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- LOG.Info($"{message} Trigger {item.AssociationProcessRecipeName} ,auto clear CurrentValue {item.LimitValue} to 0");
|
|
|
+ var logInfo = $"{message} Trigger {item.AssociationProcessRecipeName}";
|
|
|
+ // var logInfo = $"{message} Trigger {item.AssociationProcessRecipeName} ,auto clear CurrentValue {item.LimitValue} to 0";
|
|
|
+ LOG.Info(logInfo);
|
|
|
RecipeExecEntryEnumValue = RecipeExecEntryEnum.RecipeStepRangeTrigger;
|
|
|
CheckToPostMessage((int)MSG.RunOtherRecipe, item.AssociationProcessRecipeName, "Process");
|
|
|
- Singleton<ScheduleMaintenanceDataManager>.Instance.SetValue(item.Item, 0);
|
|
|
+ // Singleton<ScheduleMaintenanceDataManager>.Instance.SetValue(item.Item, 0, true);
|
|
|
}
|
|
|
}
|
|
|
isPause = true;
|
|
|
@@ -514,10 +520,12 @@ namespace FurnaceRT.Equipments.PMs
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- LOG.Info($"{message} Trigger {item.AssociationProcessRecipeName} ,auto clear CurrentValue {item.LimitValue} to 0");
|
|
|
+ var logInfo = $"{message} Trigger {item.AssociationProcessRecipeName}";
|
|
|
+ // var logInfo = $"{message} Trigger {item.AssociationProcessRecipeName} ,auto clear CurrentValue {item.LimitValue} to 0";
|
|
|
+ LOG.Info(logInfo);
|
|
|
RecipeExecEntryEnumValue = RecipeExecEntryEnum.RecipeRangeTrigger;
|
|
|
CheckToPostMessage((int)MSG.RunOtherRecipe, item.AssociationProcessRecipeName, "Process");
|
|
|
- Singleton<ScheduleMaintenanceDataManager>.Instance.SetValue(item.Item, 0);
|
|
|
+ // Singleton<ScheduleMaintenanceDataManager>.Instance.SetValue(item.Item, 0, true);
|
|
|
}
|
|
|
}
|
|
|
isPause = true;
|
|
|
@@ -565,10 +573,12 @@ namespace FurnaceRT.Equipments.PMs
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- LOG.Info($"{message} Trigger {item.AssociationProcessRecipeName} ,auto clear CurrentValue {item.LimitValue} to 0");
|
|
|
+ var logInfo = $"{message} Trigger {item.AssociationProcessRecipeName}";
|
|
|
+ // var logInfo = $"{message} Trigger {item.AssociationProcessRecipeName} ,auto clear CurrentValue {item.LimitValue} to 0";
|
|
|
+ LOG.Info(logInfo);
|
|
|
RecipeExecEntryEnumValue = RecipeExecEntryEnum.BoatRecipeRangeTrigger;
|
|
|
CheckToPostMessage((int)MSG.RunOtherRecipe, item.AssociationProcessRecipeName, "Process");
|
|
|
- Singleton<ScheduleMaintenanceDataManager>.Instance.SetValue(item.Item, 0);
|
|
|
+ // Singleton<ScheduleMaintenanceDataManager>.Instance.SetValue(item.Item, 0, true);
|
|
|
}
|
|
|
|
|
|
}
|
|
|
@@ -616,10 +626,12 @@ namespace FurnaceRT.Equipments.PMs
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- LOG.Info($"{message} Trigger {item.AssociationProcessRecipeName} ,auto clear CurrentValue {item.LimitValue} to 0");
|
|
|
+ var logInfo = $"{message} Trigger {item.AssociationProcessRecipeName}";
|
|
|
+ // var logInfo = $"{message} Trigger {item.AssociationProcessRecipeName} ,auto clear CurrentValue {item.LimitValue} to 0";
|
|
|
+ LOG.Info(logInfo);
|
|
|
RecipeExecEntryEnumValue = RecipeExecEntryEnum.RecipeRangeTrigger;
|
|
|
CheckToPostMessage((int)MSG.RunOtherRecipe, item.AssociationProcessRecipeName, "Process");
|
|
|
- Singleton<ScheduleMaintenanceDataManager>.Instance.SetValue(item.Item, 0);
|
|
|
+ // Singleton<ScheduleMaintenanceDataManager>.Instance.SetValue(item.Item, 0, true);
|
|
|
}
|
|
|
|
|
|
}
|