修改AGV相关
This commit is contained in:
parent
34a3a32621
commit
78c5949c2e
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user