hutongqing
2024-11-27 7ff298c6834275b63b612af49651673689a39660
WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/CommonStackerCraneJob.cs
@@ -43,6 +43,9 @@
                CommonStackerCrane commonStackerCrane = (CommonStackerCrane)context.JobDetail.JobDataMap.Get("JobParams");
                if (commonStackerCrane != null)
                {
                    WriteDebug(commonStackerCrane.DeviceCode + "运行日志", "开始时间" + DateTime.Now);
                    short a = commonStackerCrane.Communicator.Read<short>("DB2.2.0");
                    //Console.Out.WriteLine(DateTime.Now + ":" + commonStackerCrane.DeviceName);
                    if (!commonStackerCrane.IsEventSubscribed)
@@ -72,6 +75,7 @@
                            }
                        }
                    }
                    WriteDebug(commonStackerCrane.DeviceCode + "运行日志", "结束时间" + DateTime.Now);
                }
            }
            catch (Exception ex)