kazelee
2025-05-23 c4e968254a4f1c5d538a9fd91284b4843ea08198
Models/TN_Task.cs
@@ -1,7 +1,7 @@
using SqlSugar;
using System;
namespace HH.WCS.Mobox3.AnGang.Models {
namespace HH.WCS.Mobox3.AnGang.models {
    [SugarTable("TN_Task")]
    public class TN_Task : BaseModel {
@@ -15,7 +15,7 @@
        /// <summary>
        /// AGV 车号
        /// </summary>
        public string S_EQ_NO { get; set; }
        public string S_EQ_NO { get; set; } = "";
        public string S_TYPE { get; set; }
        public string S_B_STATE { get; set; } = "等待";
        /// <summary>
@@ -33,17 +33,15 @@
        public string S_CODE { get; set; }
        public string S_EQ_TASK_CODE { get; set; }
        public string S_CNTR_CODE { get; set; }
        public string S_OP_NAME { get; set; }
        public int N_START_LAYER { get; internal set; }
        public int N_END_LAYER { get; internal set; }
        public int N_CNTR_COUNT { get; internal set; }
        public string S_CNTR_CODE { get; set; } = "";
        public string S_OP_NAME { get; set; } = "";
        //public int N_CNTR_COUNT { get; internal set; }
        /// <summary>
        /// 任务的货物重量
        /// </summary>
        public float F_WEIGHT { get; set; }
        public float F_WEIGHT { get; set; } = 0f;
        internal static string GetStateStr(int state) {
            //0等待     1已推送       2执行    3完成    4错误