From 923448337fd7881af7d08685bdfd0e0699ace215 Mon Sep 17 00:00:00 2001 From: wanshenmean <cathay_xy@163.com> Date: 星期三, 19 三月 2025 10:53:52 +0800 Subject: [PATCH] 添加WMS忽略项 --- CodeManagement/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerStationJob/CommonStackerStationCraneJob.cs | 15 +-------------- 1 files changed, 1 insertions(+), 14 deletions(-) diff --git a/CodeManagement/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerStationJob/CommonStackerStationCraneJob.cs b/CodeManagement/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerStationJob/CommonStackerStationCraneJob.cs index 73152f9..f197e7e 100644 --- a/CodeManagement/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerStationJob/CommonStackerStationCraneJob.cs +++ b/CodeManagement/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerStationJob/CommonStackerStationCraneJob.cs @@ -55,8 +55,6 @@ CommonStackerStationCrane commonStackerCrane = (CommonStackerStationCrane)context.JobDetail.JobDataMap.Get("JobParams"); if (commonStackerCrane != null) { - //EqptAlive(commonStackerCrane); - //Console.Out.WriteLine(commonStackerCrane.DeviceName); if (!commonStackerCrane.IsEventSubscribed) { commonStackerCrane.StackerCraneTaskCompletedEventHandler += CommonStackerCrane_StackerCraneTaskCompletedEventHandler;//璁㈤槄浠诲姟瀹屾垚浜嬩欢 @@ -68,12 +66,7 @@ if (commonStackerCrane.StackerCraneWorkStatusValue == StackerCraneWorkStatus.Standby) { - Dt_Task? task = null; - if (StaticVariable.isLineRun) - { - StaticVariable.isStackerRun = false; - task = GetTask(commonStackerCrane); - } + Dt_Task? task = GetTask(commonStackerCrane); if (task != null) { StackerCraneTaskCommand? stackerCraneTaskCommand = ConvertToStackerCraneTaskCommand(task); @@ -129,13 +122,7 @@ catch (Exception ex) { WriteError("CommonStackerStationCraneJob", "test", ex); - //Console.WriteLine(nameof(CommonStackerCraneJob) + ":" + ex.ToString()); } - finally - { - StaticVariable.isStackerRun = true; - } - //WriteDebug("CommonStackerStationCraneJob", "test"); return Task.CompletedTask; } -- Gitblit v1.9.3