修改AGV相关

This commit is contained in:
zhangzhuo 2025-03-20 00:43:24 +08:00
parent 34a3a32621
commit 78c5949c2e
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ public class HyosungAgvService(
PositionCode = bin.CtnrCode, PositionCode = bin.CtnrCode,
Type = "05" 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 _agv.CarryToAsync(start, stop, ctnrType, 120, "1");
await agvBinService.BindAsync(bin); await agvBinService.BindAsync(bin);
} }

View File

@ -170,7 +170,7 @@ public class Variety
ls.Add((short)TopAndBottomPallet.Width); ls.Add((short)TopAndBottomPallet.Width);
ls.Add((short)TopAndBottomPallet.Height); ls.Add((short)TopAndBottomPallet.Height);
ls.Add((short)(MiddlePallet.HoleCount is null ? 0 : MiddlePallet.HoleCount)); 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.Length);
ls.Add((short)MiddlePallet.Width); ls.Add((short)MiddlePallet.Width);
ls.Add((short)MiddlePallet.Height); ls.Add((short)MiddlePallet.Height);