1
z8018
2025-05-05 b6837f097e9cdb2645368aed4ddb03f580c331e4
ÏîÄ¿´úÂë/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/TaskInfo/Dt_Task.cs
@@ -22,6 +22,7 @@
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEAWCS_Core.Attributes;
using WIDESEAWCS_Core.DB.Models;
namespace WIDESEAWCS_Model.Models
@@ -42,7 +43,7 @@
        /// </summary>
        [ImporterHeader(Name = "任务号")]
        [ExporterHeader(DisplayName = "任务号")]
        [SugarColumn(IsNullable = false, ColumnDescription = "任务号")]
        [SugarColumn(IsNullable = false, ColumnDescription = "任务号"), Sequence(nameof(TaskNum), int.MaxValue)]
        public int TaskNum { get; set; }
        /// <summary>
@@ -54,12 +55,12 @@
        public string PalletCode { get; set; }
        /// <summary>
        /// åŒºåŸŸå·
        /// è®¾å¤‡ç¼–号
        /// </summary>
        [ImporterHeader(Name = "区域号")]
        [ExporterHeader(DisplayName = "区域号")]
        [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "区域号")]
        public string Roadway { get; set; }
        [ImporterHeader(Name = "设备编号")]
        [ExporterHeader(DisplayName = "设备编号")]
        [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "设备编号")]
        public string? DeviceCode { get; set; }
        /// <summary>
        /// ä»»åŠ¡ç±»åž‹
@@ -82,7 +83,7 @@
        /// </summary>
        [ImporterHeader(Name = "起始地址")]
        [ExporterHeader(DisplayName = "起始地址")]
        [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "起始地址")]
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "起始地址")]
        public string SourceAddress { get; set; }
        /// <summary>
@@ -90,24 +91,32 @@
        /// </summary>
        [ImporterHeader(Name = "目标地址")]
        [ExporterHeader(DisplayName = "目标地址")]
        [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "目标地址")]
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "目标地址")]
        public string TargetAddress { get; set; }
        /// <summary>
        /// å½“前位置
        /// å–货坐标
        /// </summary>
        [ImporterHeader(Name = "当前位置")]
        [ExporterHeader(DisplayName = "当前位置")]
        [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "当前位置")]
        [ImporterHeader(Name = "取货坐标")]
        [ExporterHeader(DisplayName = "取货坐标")]
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "取货坐标")]
        public string CurrentAddress { get; set; }
        /// <summary>
        /// ä¸‹ä¸€åœ°å€
        /// æ”¾è´§åæ ‡
        /// </summary>
        [ImporterHeader(Name = "下一地址")]
        [ExporterHeader(DisplayName = "下一地址")]
        [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "下一地址")]
        [ImporterHeader(Name = "放货坐标")]
        [ExporterHeader(DisplayName = "放货坐标")]
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "放货坐标")]
        public string NextAddress { get; set; }
        /// <summary>
        /// é•¿*宽*高
        /// </summary>
        [ImporterHeader(Name = "长*宽*高")]
        [ExporterHeader(DisplayName = "长*宽*高")]
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "长*宽*高")]
        public string ItemInfo { get; set; }
        /// <summary>
        /// å¼‚常信息
@@ -126,14 +135,6 @@
        public int Grade { get; set; }
        /// <summary>
        /// WMS任务主键
        /// </summary>
        [ImporterHeader(Name = "WMS任务主键")]
        [ExporterHeader(DisplayName = "WMS任务主键")]
        [SugarColumn(IsNullable = false, ColumnDescription = "WMS任务主键")]
        public int WMSId { get; set; }
        /// <summary>
        /// ä»»åŠ¡ä¸‹å‘æ—¶é—´
        /// </summary>
        [ImporterHeader(Name = "任务下发时间")]
@@ -148,27 +149,5 @@
        [ExporterHeader(DisplayName = "备注")]
        [SugarColumn(IsNullable = true, Length = 255, ColumnDescription = "备注")]
        public string Remark { get; set; }
        /// <summary>
        /// æ‰˜ç›˜æ•°é‡
        /// </summary>
        [ImporterHeader(Name = "托盘数量")]
        [ExporterHeader(DisplayName = "托盘数量")]
        [SugarColumn(IsNullable = true, ColumnDescription = "托盘数量")]
        public int PalletCodequantity { get; set; }
        /// <summary>
        /// åŽŸææ–™åŽ»å‘
        /// </summary>
        [ImporterHeader(Name = "原材料去向")]
        [ExporterHeader(DisplayName = "原材料去向")]
        [SugarColumn(IsNullable = false, ColumnDescription = "原材料去向")]
        public int PLCTo { get; set; }
        /// <summary>
        /// ç‰©æ–™ç±»åž‹
        /// </summary>
        [ExporterHeader(DisplayName = "物料类型")]
        [SugarColumn(IsNullable = false, ColumnDescription = "物料类型")]
        public int MaterialType { get; set; }
    }
}