|
|
|
|
@ -193,7 +193,7 @@ namespace Khd.Core.Wcs.Wcs
|
|
|
|
|
createBy = "WCS",
|
|
|
|
|
createTime = DateTime.Now,
|
|
|
|
|
isEmpty = "0",
|
|
|
|
|
taskType = agvEquip.objid == 28 ? 66 : 55,
|
|
|
|
|
taskType = agvEquip.objid == 28 ? StaticTaskType.FiveRemove : StaticTaskType.SecondRemove,
|
|
|
|
|
qty = 1,
|
|
|
|
|
};
|
|
|
|
|
fromLocationCode.locationStatus = "4";
|
|
|
|
|
@ -307,7 +307,7 @@ namespace Khd.Core.Wcs.Wcs
|
|
|
|
|
createBy = "WCS",
|
|
|
|
|
createTime = DateTime.Now,
|
|
|
|
|
isEmpty = "0",
|
|
|
|
|
taskType = agvEquip.objid == 28 ? 66 : 67,
|
|
|
|
|
taskType = agvEquip.objid == 28 ? StaticTaskType.FiveRemove : StaticTaskType.ThirdRemove,
|
|
|
|
|
qty = 1,
|
|
|
|
|
};
|
|
|
|
|
fromLocationCode.locationStatus = "4";
|
|
|
|
|
@ -434,7 +434,7 @@ namespace Khd.Core.Wcs.Wcs
|
|
|
|
|
newTask.materialId = mesBasePalletInfo.materialId;
|
|
|
|
|
newTask.objid = StaticData.SnowId.NextId();
|
|
|
|
|
newTask.createTime = DateTime.Now;
|
|
|
|
|
newTask.taskType = 28;
|
|
|
|
|
newTask.taskType = StaticTaskType.FiveRawSplitReturn;
|
|
|
|
|
newTask.useFlag = 1;
|
|
|
|
|
wmsBaseLocation.locationStatus = "2";
|
|
|
|
|
WmsRawInstockDetail wmsRawInstockDetail = new WmsRawInstockDetail
|
|
|
|
|
@ -630,7 +630,7 @@ namespace Khd.Core.Wcs.Wcs
|
|
|
|
|
{
|
|
|
|
|
objid = StaticData.SnowId.NextId(),
|
|
|
|
|
serialNo = SystemData.GetSerialNo(dbContext),
|
|
|
|
|
taskType = 43,
|
|
|
|
|
taskType = StaticTaskType.ThirdBinToTransit,
|
|
|
|
|
nextPointId = agvEquip.objid,
|
|
|
|
|
nextPointNo = agvEquip.equipNo,
|
|
|
|
|
endPointId = endEquip.objid,
|
|
|
|
|
@ -668,7 +668,7 @@ namespace Khd.Core.Wcs.Wcs
|
|
|
|
|
{
|
|
|
|
|
objid = StaticData.SnowId.NextId(),
|
|
|
|
|
serialNo = SystemData.GetSerialNo(dbContext),
|
|
|
|
|
taskType = 101,
|
|
|
|
|
taskType = StaticTaskType.ThirdTransitToSecond,
|
|
|
|
|
nextPointId = agvEquip.objid,
|
|
|
|
|
nextPointNo = agvEquip.equipNo,
|
|
|
|
|
currPointId = startEquip.objid,
|
|
|
|
|
@ -700,7 +700,7 @@ namespace Khd.Core.Wcs.Wcs
|
|
|
|
|
{
|
|
|
|
|
objid = StaticData.SnowId.NextId(),
|
|
|
|
|
serialNo = SystemData.GetSerialNo(dbContext),
|
|
|
|
|
taskType = 101,
|
|
|
|
|
taskType = StaticTaskType.ThirdTransitToSecond,
|
|
|
|
|
nextPointId = agvEquip.objid,
|
|
|
|
|
nextPointNo = agvEquip.equipNo,
|
|
|
|
|
currPointId = startEquip.objid,
|
|
|
|
|
@ -842,7 +842,7 @@ namespace Khd.Core.Wcs.Wcs
|
|
|
|
|
{
|
|
|
|
|
objid = StaticData.SnowId.NextId(),
|
|
|
|
|
serialNo = SystemData.GetSerialNo(dbContext),
|
|
|
|
|
taskType = 34,
|
|
|
|
|
taskType = StaticTaskType.FiveHalfIn,
|
|
|
|
|
endPointId = wmsBaseLocation.locationId,
|
|
|
|
|
endPointNo = wmsBaseLocation.locationCode,
|
|
|
|
|
currPointId = endEquip.objid,
|
|
|
|
|
@ -1041,7 +1041,7 @@ namespace Khd.Core.Wcs.Wcs
|
|
|
|
|
var RemoveTask = new WcsTask()
|
|
|
|
|
{
|
|
|
|
|
objid = StaticData.SnowId.NextId(),
|
|
|
|
|
taskType = 67,
|
|
|
|
|
taskType = StaticTaskType.ThirdRemove,
|
|
|
|
|
containerNo = wmsRawStock1.palletInfoCode,
|
|
|
|
|
createBy = "WCS",
|
|
|
|
|
createTime = DateTime.Now.AddSeconds(-10),
|
|
|
|
|
@ -1120,7 +1120,7 @@ namespace Khd.Core.Wcs.Wcs
|
|
|
|
|
{
|
|
|
|
|
objid = StaticData.SnowId.NextId(),
|
|
|
|
|
orderId = wmsRawOutstock.rawOutstockId,
|
|
|
|
|
taskType = 41,
|
|
|
|
|
taskType = StaticTaskType.ThirdRawToFlip,
|
|
|
|
|
containerNo = wmsRawStock.palletInfoCode,
|
|
|
|
|
createBy = "WCS",
|
|
|
|
|
createTime = DateTime.Now,
|
|
|
|
|
@ -1376,7 +1376,7 @@ namespace Khd.Core.Wcs.Wcs
|
|
|
|
|
{
|
|
|
|
|
objid = StaticData.SnowId.NextId(),
|
|
|
|
|
orderId = item.productOutstockId,
|
|
|
|
|
taskType = 66,
|
|
|
|
|
taskType = StaticTaskType.FiveRemove,
|
|
|
|
|
containerNo = wmsProductStock.palletInfoCode,
|
|
|
|
|
createBy = "WCS",
|
|
|
|
|
createTime = DateTime.Now.AddSeconds(-10),
|
|
|
|
|
@ -1446,7 +1446,7 @@ namespace Khd.Core.Wcs.Wcs
|
|
|
|
|
{
|
|
|
|
|
objid = StaticData.SnowId.NextId(),
|
|
|
|
|
orderId = item.productOutstockId,
|
|
|
|
|
taskType = 38,
|
|
|
|
|
taskType = StaticTaskType.FiveProductOut,
|
|
|
|
|
containerNo = stock.palletInfoCode,
|
|
|
|
|
createBy = "WCS",
|
|
|
|
|
createTime = DateTime.Now,
|
|
|
|
|
@ -1627,7 +1627,7 @@ namespace Khd.Core.Wcs.Wcs
|
|
|
|
|
{
|
|
|
|
|
objid = StaticData.SnowId.NextId(),
|
|
|
|
|
orderId = item.productOutstockId,
|
|
|
|
|
taskType = 55,
|
|
|
|
|
taskType = StaticTaskType.SecondRemove,
|
|
|
|
|
containerNo = wmsBaseLocation.containerCode,
|
|
|
|
|
createBy = "WCS",
|
|
|
|
|
createTime = DateTime.Now.AddSeconds(-10),
|
|
|
|
|
@ -1679,7 +1679,7 @@ namespace Khd.Core.Wcs.Wcs
|
|
|
|
|
{
|
|
|
|
|
objid = StaticData.SnowId.NextId(),
|
|
|
|
|
orderId = item.productOutstockId,
|
|
|
|
|
taskType = 50,
|
|
|
|
|
taskType = StaticTaskType.SecondStorageToLift,
|
|
|
|
|
containerNo = stock.palletInfoCode,
|
|
|
|
|
createBy = "WCS",
|
|
|
|
|
createTime = DateTime.Now,
|
|
|
|
|
@ -2067,7 +2067,7 @@ namespace Khd.Core.Wcs.Wcs
|
|
|
|
|
{
|
|
|
|
|
objid = StaticData.SnowId.NextId(),
|
|
|
|
|
orderId = wmsRawOutstock.rawOutstockId,
|
|
|
|
|
taskType = 30,
|
|
|
|
|
taskType = StaticTaskType.FiveAccessoryOut,
|
|
|
|
|
containerNo = location.containerCode,
|
|
|
|
|
createBy = "WCS",
|
|
|
|
|
createTime = DateTime.Now,
|
|
|
|
|
@ -2277,7 +2277,7 @@ namespace Khd.Core.Wcs.Wcs
|
|
|
|
|
{
|
|
|
|
|
objid = StaticData.SnowId.NextId(),
|
|
|
|
|
orderId = item.rawOutstockId,
|
|
|
|
|
taskType = 66,
|
|
|
|
|
taskType = StaticTaskType.FiveRemove,
|
|
|
|
|
containerNo = wmsRawStock.palletInfoCode,
|
|
|
|
|
createBy = "WCS",
|
|
|
|
|
createTime = DateTime.Now.AddSeconds(-10),
|
|
|
|
|
@ -2327,7 +2327,7 @@ namespace Khd.Core.Wcs.Wcs
|
|
|
|
|
{
|
|
|
|
|
objid = StaticData.SnowId.NextId(),
|
|
|
|
|
orderId = item.rawOutstockId,
|
|
|
|
|
taskType = endEquip.equipType == 12 ? 46 : 33,//如果是12那么就是原材料到柜体验收区,如果是13那么就是原材料到背板安装区
|
|
|
|
|
taskType = StaticTaskType.FiveRawToSplit,//如果是12那么就是原材料到柜体验收区,如果是13那么就是原材料到背板安装区
|
|
|
|
|
containerNo = location.containerCode,
|
|
|
|
|
createBy = "WCS",
|
|
|
|
|
createTime = DateTime.Now,
|
|
|
|
|
@ -2467,7 +2467,7 @@ namespace Khd.Core.Wcs.Wcs
|
|
|
|
|
{
|
|
|
|
|
objid = StaticData.SnowId.NextId(),
|
|
|
|
|
orderId = item.rawOutstockId,
|
|
|
|
|
taskType = 66,
|
|
|
|
|
taskType = StaticTaskType.FiveRemove,
|
|
|
|
|
containerNo = wmsRawStock.palletInfoCode,
|
|
|
|
|
createBy = "WCS",
|
|
|
|
|
createTime = DateTime.Now.AddSeconds(-10),
|
|
|
|
|
@ -2522,7 +2522,7 @@ namespace Khd.Core.Wcs.Wcs
|
|
|
|
|
{
|
|
|
|
|
objid = StaticData.SnowId.NextId(),
|
|
|
|
|
orderId = item.rawOutstockId,
|
|
|
|
|
taskType = endEquip.equipType == 12 ? 46 : 33,//如果是12那么就是原材料到柜体验收区,如果是13那么就是原材料到背板安装区
|
|
|
|
|
taskType = StaticTaskType.FiveRawToBack,//如果是12那么就是原材料到柜体验收区,如果是13那么就是原材料到背板安装区
|
|
|
|
|
containerNo = location.containerCode,
|
|
|
|
|
createBy = "WCS",
|
|
|
|
|
createTime = DateTime.Now,
|
|
|
|
|
|