From 2ae5aa151f7b40a082e34aa7ed22b4b64edd1d3c Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期三, 11 六月 2025 17:13:56 +0800 Subject: [PATCH] 修改堆垛机通讯协议及交互逻辑 --- 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/GetStackerObject.cs | 13 +++---------- 1 files changed, 3 insertions(+), 10 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/GetStackerObject.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/GetStackerObject.cs" index d806122..adf2ed8 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/GetStackerObject.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/GetStackerObject.cs" @@ -1,17 +1,10 @@ 锘縰sing HslCommunication; -using System; -using System.Collections.Generic; using System.ComponentModel; -using System.Linq; using System.Reflection; -using System.Text; -using System.Threading.Tasks; using WIDESEAWCS_Communicator; using WIDESEAWCS_QuartzJob; -using WIDESEAWCS_QuartzJob.DeviceBase; using WIDESEAWCS_QuartzJob.DTO; using WIDESEAWCS_QuartzJob.StackerCrane; -using WIDESEAWCS_QuartzJob.StackerCrane.Enum; namespace WIDESEAWCS_Tasks.StackerCraneJob { @@ -56,7 +49,7 @@ /// </summary> /// <param name="speStackerCrane"></param> /// <returns></returns> - public int WorkCommandValue() => _speStackerCrane.GetValue<StackerCraneDBName, short>(StackerCraneDBName.WorkCommand); + //public int WorkCommandValue() => _speStackerCrane.GetValue<StackerCraneDBName, short>(StackerCraneDBName.WorkCommand); /// <summary> /// 鑾峰彇鍫嗗灈鏈鸿澶囩姸鎬� @@ -221,9 +214,9 @@ _speStackerCrane.SetValue(StackerCraneDBName.EndRow, command.EndRow); _speStackerCrane.SetValue(StackerCraneDBName.EndColumn, command.EndColumn); _speStackerCrane.SetValue(StackerCraneDBName.EndLayer, command.EndLayer); - _speStackerCrane.SetValue(StackerCraneDBName.Barcode, command.Barcode); + //_speStackerCrane.SetValue(StackerCraneDBName.Barcode, command.Barcode); _speStackerCrane.SetValue(StackerCraneDBName.WorkType, command.WorkType); - _speStackerCrane.SetValue(StackerCraneDBName.TrayType, command.TrayType); + //_speStackerCrane.SetValue(StackerCraneDBName.WorkType, command.TrayType); return true; } return false; -- Gitblit v1.9.3