From 7ac6ad15e5af1024f4d21d33bb3af98ffce43874 Mon Sep 17 00:00:00 2001 From: HuBingJie <3146306518@qq.com> Date: 星期四, 18 九月 2025 14:59:20 +0800 Subject: [PATCH] 1 --- 代码管理/WCS/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/SpeStackerCraneJob/SpeStackerCraneJob.cs | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/SpeStackerCraneJob/SpeStackerCraneJob.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/SpeStackerCraneJob/SpeStackerCraneJob.cs" index 8f5137d..11b6056 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/SpeStackerCraneJob/SpeStackerCraneJob.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/SpeStackerCraneJob/SpeStackerCraneJob.cs" @@ -124,8 +124,8 @@ { return task.TaskState switch { - (int)TaskInStatusEnum.RGV_InNew => task, - (int)TaskInStatusEnum.RGV_InPickupFinish => HandlePickupFinish(task), + (int)TaskInStatusEnum.RGV_InNew => task, + (int)TaskInStatusEnum.RGV_InPickupFinish => HandlePickupFinish(task), (int)TaskInStatusEnum.RGV_InReleaseFinish => task, //闇�瑕佸垽鏂瓙杞︽槸鍐呬晶鍖鸿繕鏄渚у彇璐э紙寰呭畬鎴愶級 (int)TaskInStatusEnum.RGV_InZicheFinish => HandleZicheFinish(task), (int)TaskInStatusEnum.RGV_InZicheReleaseFinish => HandleZicheReleaseFinish(task), @@ -266,21 +266,21 @@ //鑾峰彇鍐呬晶姣嶈溅浣嶇疆 int ncadder = GetMothercarlocation(_Task.TaskNum, _Task.NextAddress); - if (mcadder != int.Parse(aGVStation.MotherCarDeviceCode) && ncadder == aGVStation.Station_code) + if (mcadder != int.Parse(aGVStation.MotherCarDeviceCode) && ncadder == aGVStation.Station_code) { return true; } else { - if (mcadder == int.Parse(aGVStation.MotherCarDeviceCode)) + if (mcadder == int.Parse(aGVStation.MotherCarDeviceCode)) { - AGVStation aGVSta = _agvStationService.GetMothercarCode(aGVStation.MotherCarDeviceCode); + AGVStation aGVSta = _agvStationService.GetMothercarCode(aGVStation.MotherCarDeviceCode); RGVMovetask(aGVSta.ChildPosiDeviceCode, aGVSta.Station_code.ToString(), _Task.TaskId); } - if (ncadder != aGVStation.Station_code) + if (ncadder != aGVStation.Station_code) { RGVMovetask(aGVStation.ChildPosiDeviceCode, aGVStation.Station_code.ToString(), _Task.TaskId); @@ -301,17 +301,17 @@ } else { - if (mcadder == int.Parse(aGVStation.MotherCarDeviceCode)) + if (mcadder == int.Parse(aGVStation.MotherCarDeviceCode)) { - AGVStation aGVSta = _agvStationService.GetMothercarCode(aGVStation.MotherCarDeviceCode); + AGVStation aGVSta = _agvStationService.GetMothercarCode(aGVStation.MotherCarDeviceCode); RGVMovetask(aGVSta.ChildPosiDeviceCode, aGVSta.Station_code.ToString(), _Task.TaskId); } - if (ncadder == int.Parse(aGVStation.MotherCardeputy)) + if (ncadder == int.Parse(aGVStation.MotherCardeputy)) { - AGVStation aGVSta = _agvStationService.GetMothercarCode(aGVStation.MotherCardeputy); + AGVStation aGVSta = _agvStationService.GetMothercarCode(aGVStation.MotherCardeputy); RGVMovetask(aGVSta.ChildPosiDeviceCode, aGVSta.Station_code.ToString(), _Task.TaskId); } @@ -421,8 +421,8 @@ }; stackerCraneTaskCommand.RGV_RGVTasklocation = locaticurr; stackerCraneTaskCommand.RGV_RGVtasktype = (short)task.RGVTaskType; - stackerCraneTaskCommand.RGV_Rgvtaskid = (short)task.TaskNum; - stackerCraneTaskCommand.RGV_Lanjiantaskid = (short)task.TaskNum; + stackerCraneTaskCommand.RGV_Rgvtaskid = (short)task.TaskNum; + stackerCraneTaskCommand.RGV_Lanjiantaskid = (short)task.TaskNum; return stackerCraneTaskCommand; } -- Gitblit v1.9.3