From 229dcce8c3cc990b9ae5fdb278de12c4235ff876 Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com> Date: 星期四, 21 八月 2025 15:55:51 +0800 Subject: [PATCH] 代码提交 --- 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/RGV/CommonRGV.cs | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/RGV/CommonRGV.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/RGV/CommonRGV.cs" index 71f2a3b..bdfe7e9 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/RGV/CommonRGV.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/RGV/CommonRGV.cs" @@ -12,8 +12,12 @@ using WIDESEAWCS_QuartzJob.StackerCrane.Enum; using WIDESEAWCS_QuartzJob.StackerCrane; -namespace WIDESEAWCS_QuartzJob.RGV +namespace WIDESEAWCS_QuartzJob { + /// <summary> + /// 涓�鑸爢鍨涙満瀹炵幇绫伙紝瀹炵幇鍫嗗灈鏈烘帴鍙e眰 + /// </summary> + [Description("RGV")] public class CommonRGV: ICommonRGV { #region Private Member @@ -180,7 +184,7 @@ _deviceProtocolDetailDTOs = deviceProtocolDetailDTOs; _deviceCode = deviceCode; _deviceName = deviceName; - CheckConnect(); + //CheckConnect(); } #endregion @@ -357,7 +361,7 @@ if (Communicator.WriteCustomer(devicePro.DeviceProAddress, command)) { StackerCraneTaskCommand = command; - CheckStackerCraneTaskCompleted(); + //CheckStackerCraneTaskCompleted(); return true; } return false; @@ -380,10 +384,10 @@ { try { - DeviceProDTO? devicePro = _deviceProDTOs.FirstOrDefault(x => x.DeviceProParamName == nameof(StackerCraneTaskCompleted)); + DeviceProDTO? devicePro = _deviceProDTOs.FirstOrDefault(x => x.DeviceProParamName == nameof(RGVTaskCompleted)); if (devicePro != null) { - DeviceProtocolDetailDTO? deviceProtocolDetail = _deviceProtocolDetailDTOs.FirstOrDefault(x => x.DeviceProParamName == devicePro.DeviceProParamName && x.ProtocolDetailType == StackerCraneTaskCompleted.WorkCompleted.ToString()); + DeviceProtocolDetailDTO? deviceProtocolDetail = _deviceProtocolDetailDTOs.FirstOrDefault(x => x.DeviceProParamName == devicePro.DeviceProParamName && x.ProtocolDetailType == RGVTaskCompleted.WorkCompleted.ToString()); if (deviceProtocolDetail != null) { OperateResult<TimeSpan> operateResult = new OperateResult<TimeSpan>(); -- Gitblit v1.9.3