工艺前后给昂坤发送通知
This commit is contained in:
@@ -137,6 +137,8 @@ namespace SicModules.PMs.RecipeExecutions
|
||||
}
|
||||
|
||||
_swTimer.Restart();
|
||||
|
||||
AKunTriggerTempStop();
|
||||
Notify("Start");
|
||||
return Result.RUN;
|
||||
}
|
||||
|
||||
@@ -124,7 +124,7 @@ namespace SicModules.PMs.RecipeExecutions
|
||||
public override Result Start(params object[] objs)
|
||||
{
|
||||
Reset();
|
||||
|
||||
AKunTriggerTempStop();//每次开始工艺都触发一次停止,确保之前的T状态被清除掉,宕机的时候不会停止
|
||||
if (!RecipeParser.Parse(_recipeName, Module, out var recipeHead, out var recipeSteps, out string reason))
|
||||
{
|
||||
Stop($"Load recipe {_recipeName} failed, {reason}");
|
||||
@@ -203,6 +203,9 @@ namespace SicModules.PMs.RecipeExecutions
|
||||
return Result.FAIL;
|
||||
}
|
||||
|
||||
//AKunTriggerTempRunId(_lotID);
|
||||
AKunTriggerTempStart();
|
||||
|
||||
_rotationSpeed = SC.GetValue<int>($"PM.{Module}.ProcessIdle.RotationSpeed");
|
||||
|
||||
_isDryRun = SC.GetValue<bool>($"PM.{Module}.DryRun.IsDryRun");
|
||||
|
||||
Reference in New Issue
Block a user