|
|
@@ -347,9 +347,10 @@ namespace FurnaceRT.Equipments.PMs
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- LOG.Info($"{message} Trigger {item.AssociationProcessRecipeName}");
|
|
|
+ LOG.Info($"{message} Trigger {item.AssociationProcessRecipeName} ,auto clear CurrentValue {item.LimitValue} to 0");
|
|
|
RecipeExecEntryEnumValue = RecipeExecEntryEnum.RecipeStepRangeTrigger;
|
|
|
CheckToPostMessage((int)MSG.RunOtherRecipe, item.AssociationProcessRecipeName, "Process");
|
|
|
+ Singleton<ScheduleMaintenanceDataManager>.Instance.SetValue(item.Item, 0);
|
|
|
}
|
|
|
|
|
|
}
|
|
|
@@ -394,12 +395,27 @@ namespace FurnaceRT.Equipments.PMs
|
|
|
if (isWarning)
|
|
|
Singleton<EquipmentManager>.Instance.ReatorStepRunTimeWarning.Set(message);
|
|
|
|
|
|
+
|
|
|
if (isAlarm)
|
|
|
{
|
|
|
Singleton<EquipmentManager>.Instance.ReatorStepRunTimeAlarm.Set(message);
|
|
|
+ if (command == MaintenanceProcessingCommandEnum.JobAutoStart)
|
|
|
+ {
|
|
|
+ if (string.IsNullOrEmpty(item.AssociationProcessRecipeName))
|
|
|
+ {
|
|
|
+ Singleton<EquipmentManager>.Instance.ReatorStepRunTimeAlarm.Set(message);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ LOG.Info($"{message} Trigger {item.AssociationProcessRecipeName} ,auto clear CurrentValue {item.LimitValue} to 0");
|
|
|
+ RecipeExecEntryEnumValue = RecipeExecEntryEnum.RecipeStepRangeTrigger;
|
|
|
+ CheckToPostMessage((int)MSG.RunOtherRecipe, item.AssociationProcessRecipeName, "Process");
|
|
|
+ Singleton<ScheduleMaintenanceDataManager>.Instance.SetValue(item.Item, 0);
|
|
|
+ }
|
|
|
+ }
|
|
|
isPause = true;
|
|
|
+ return;
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
@@ -432,7 +448,22 @@ namespace FurnaceRT.Equipments.PMs
|
|
|
if (isAlarm)
|
|
|
{
|
|
|
Singleton<EquipmentManager>.Instance.ReatorStepRunFreqAlarm.Set(message);
|
|
|
+ if (command == MaintenanceProcessingCommandEnum.JobAutoStart)
|
|
|
+ {
|
|
|
+ if (string.IsNullOrEmpty(item.AssociationProcessRecipeName))
|
|
|
+ {
|
|
|
+ Singleton<EquipmentManager>.Instance.ReatorStepRunFreqAlarm.Set(message);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ LOG.Info($"{message} Trigger {item.AssociationProcessRecipeName} ,auto clear CurrentValue {item.LimitValue} to 0");
|
|
|
+ RecipeExecEntryEnumValue = RecipeExecEntryEnum.RecipeStepRangeTrigger;
|
|
|
+ CheckToPostMessage((int)MSG.RunOtherRecipe, item.AssociationProcessRecipeName, "Process");
|
|
|
+ Singleton<ScheduleMaintenanceDataManager>.Instance.SetValue(item.Item, 0);
|
|
|
+ }
|
|
|
+ }
|
|
|
isPause = true;
|
|
|
+ return;
|
|
|
}
|
|
|
|
|
|
}
|
|
|
@@ -483,9 +514,10 @@ namespace FurnaceRT.Equipments.PMs
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- LOG.Info($"{message} Trigger {item.AssociationProcessRecipeName}");
|
|
|
+ LOG.Info($"{message} Trigger {item.AssociationProcessRecipeName} ,auto clear CurrentValue {item.LimitValue} to 0");
|
|
|
RecipeExecEntryEnumValue = RecipeExecEntryEnum.RecipeRangeTrigger;
|
|
|
CheckToPostMessage((int)MSG.RunOtherRecipe, item.AssociationProcessRecipeName, "Process");
|
|
|
+ Singleton<ScheduleMaintenanceDataManager>.Instance.SetValue(item.Item, 0);
|
|
|
}
|
|
|
}
|
|
|
isPause = true;
|
|
|
@@ -533,9 +565,10 @@ namespace FurnaceRT.Equipments.PMs
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- LOG.Info($"{message} Trigger {item.AssociationProcessRecipeName}");
|
|
|
+ LOG.Info($"{message} Trigger {item.AssociationProcessRecipeName} ,auto clear CurrentValue {item.LimitValue} to 0");
|
|
|
RecipeExecEntryEnumValue = RecipeExecEntryEnum.BoatRecipeRangeTrigger;
|
|
|
CheckToPostMessage((int)MSG.RunOtherRecipe, item.AssociationProcessRecipeName, "Process");
|
|
|
+ Singleton<ScheduleMaintenanceDataManager>.Instance.SetValue(item.Item, 0);
|
|
|
}
|
|
|
|
|
|
}
|
|
|
@@ -583,9 +616,10 @@ namespace FurnaceRT.Equipments.PMs
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- LOG.Info($"{message} Trigger {item.AssociationProcessRecipeName}");
|
|
|
+ LOG.Info($"{message} Trigger {item.AssociationProcessRecipeName} ,auto clear CurrentValue {item.LimitValue} to 0");
|
|
|
RecipeExecEntryEnumValue = RecipeExecEntryEnum.RecipeRangeTrigger;
|
|
|
CheckToPostMessage((int)MSG.RunOtherRecipe, item.AssociationProcessRecipeName, "Process");
|
|
|
+ Singleton<ScheduleMaintenanceDataManager>.Instance.SetValue(item.Item, 0);
|
|
|
}
|
|
|
|
|
|
}
|