路径算法调整为动态规划方式,新增预任务申请功能
This commit is contained in:
@@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Org.BouncyCastle.Asn1.Mozilla;
|
||||
|
||||
namespace Tnb.WarehouseMgr.Entities.Consts
|
||||
{
|
||||
@@ -12,5 +13,21 @@ namespace Tnb.WarehouseMgr.Entities.Consts
|
||||
/// 出入库单据状态TypeID
|
||||
/// </summary>
|
||||
public const string WMS_INSTOCK_D_BILL_STATUS_TYPEID = "25065133038101";
|
||||
/// <summary>
|
||||
/// 预任务生成EnCode
|
||||
/// </summary>
|
||||
public const string WMS_PRETASK_H_ENCODE = "PreTaskGen";
|
||||
/// <summary>
|
||||
/// 预任务单据状态-待下发Id
|
||||
/// </summary>
|
||||
public const string PRETASK_BILL_STATUS_DXF_ID = "26126822610469";
|
||||
/// <summary>
|
||||
/// 预任务生成业务类型-载具移入Id
|
||||
/// </summary>
|
||||
public const string BIZTYPE_MOVEIN_ID = "26121988909861";
|
||||
/// <summary>
|
||||
/// 单据状态-作业中
|
||||
/// </summary>
|
||||
public const string BILLSTATUS_ON_ID = "25065143245845";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Tnb.WarehouseMgr.Entities.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 生成预任务成功后输入参数
|
||||
/// </summary>
|
||||
public class GenPreTaskUpInput
|
||||
{
|
||||
/// <summary>
|
||||
/// 预任务Id
|
||||
/// </summary>
|
||||
public string PreTaskId { get; set; }
|
||||
/// <summary>
|
||||
/// 载具Id
|
||||
/// </summary>
|
||||
public string CarryId { get; set; }
|
||||
/// <summary>
|
||||
/// 载具起始库位Id
|
||||
/// </summary>
|
||||
public string CarryStartLocationId { get; set; }
|
||||
/// <summary>
|
||||
/// 载具起始库位编号
|
||||
/// </summary>
|
||||
public string CarryStartLocationCode { get; set; }
|
||||
/// <summary>
|
||||
/// 库位IdS
|
||||
/// </summary>
|
||||
public List<string> LocationIds { get; set; }
|
||||
/// <summary>
|
||||
/// 预任务操作记录
|
||||
/// </summary>
|
||||
public List<WmsHandleH> PreTaskRecords { get; set; }
|
||||
/// <summary>
|
||||
/// 预任务条码记录
|
||||
/// </summary>
|
||||
public List<WmsHandleCode> PreTaskHandleCodes { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Tnb.WarehouseMgr.Entities
|
||||
{
|
||||
public interface IWmsRoadEntity
|
||||
{
|
||||
string startpoint_id { get; set; }
|
||||
string endpoint_id { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -134,4 +134,24 @@ public partial class WmsPretaskH : BaseEntity<string>
|
||||
/// </summary>
|
||||
public DateTime? timestamp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 流程任务Id
|
||||
/// </summary>
|
||||
public string? f_flowtaskid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 流程引擎Id
|
||||
/// </summary>
|
||||
public string? f_flowid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 起始库位编号
|
||||
/// </summary>
|
||||
public string startlocation_code { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 目标库位编号
|
||||
/// </summary>
|
||||
public string endlocation_code { get; set; } = string.Empty;
|
||||
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Tnb.WarehouseMgr.Entities;
|
||||
/// 路段管理表
|
||||
/// </summary>
|
||||
[SugarTable("wms_road")]
|
||||
public partial class WmsRoad : BaseEntity<string>
|
||||
public partial class WmsRoad : BaseEntity<string>, IWmsRoadEntity
|
||||
{
|
||||
public WmsRoad()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user