From 78c5949c2e28a6317414c01464730c9007ac5230 Mon Sep 17 00:00:00 2001 From: zhangzhuo <512464164@qq.com> Date: Thu, 20 Mar 2025 00:43:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9AGV=E7=9B=B8=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Seyounth.Hyosung.Core/Agv/HyosungAgvService.cs | 2 +- Seyounth.Hyosung.Data/Models/Variety.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Seyounth.Hyosung.Core/Agv/HyosungAgvService.cs b/Seyounth.Hyosung.Core/Agv/HyosungAgvService.cs index d215582..5f88bab 100644 --- a/Seyounth.Hyosung.Core/Agv/HyosungAgvService.cs +++ b/Seyounth.Hyosung.Core/Agv/HyosungAgvService.cs @@ -35,7 +35,7 @@ public class HyosungAgvService( PositionCode = bin.CtnrCode, Type = "05" }; - var ctnrType = await dictService.GetKeyAsync("AgvRackType", height.ToString()); + var ctnrType = await dictService.GetKeyAsync("AgvRackType", bin.Height.ToString()); await _agv.CarryToAsync(start, stop, ctnrType, 120, "1"); await agvBinService.BindAsync(bin); } diff --git a/Seyounth.Hyosung.Data/Models/Variety.cs b/Seyounth.Hyosung.Data/Models/Variety.cs index e4aa400..7327d8e 100644 --- a/Seyounth.Hyosung.Data/Models/Variety.cs +++ b/Seyounth.Hyosung.Data/Models/Variety.cs @@ -170,7 +170,7 @@ public class Variety ls.Add((short)TopAndBottomPallet.Width); ls.Add((short)TopAndBottomPallet.Height); ls.Add((short)(MiddlePallet.HoleCount is null ? 0 : MiddlePallet.HoleCount)); - ls.Add((short)(MiddlePallet.IsBigHole is null ? 2 : (MiddlePallet.IsBigHole.Value ? 1 : 2))); + ls.Add((short)(MiddlePallet.IsBigHole is null ? 2 : (MiddlePallet.IsBigHole.Value ?1 : 2))); ls.Add((short)MiddlePallet.Length); ls.Add((short)MiddlePallet.Width); ls.Add((short)MiddlePallet.Height);