服务端的TigerApi 框架,基于.NET6 2024 版本
Ben Lin
2024-10-11 9f49831b4fc9d883acaec0601dc0d5b3bb25bf4f
Tiger.Model.Net/Entitys/MES/ParameterEntity/PositionParameter.cs
@@ -45,6 +45,10 @@
        /// 当前操作需要提交的数据
        /// </summary>
        public string Data { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public string Qty { get; set; }
    }
    public class SubmitOutput
@@ -155,9 +159,12 @@
    /// </summary>
    public class WipPkg
    {
        public string WorkBatch { get; set; }
        public string RULE_CODE { get; set; }
        public string RULE_NAME { get; set; }
        public string ITEM_CODE { get; set; }
        public WipPkgItem Item { get; set; }
        public bool NeedWeighing { get; set; } = false;
        public bool IsWeighed { get; set; } = false;
        public WeightInfo WeightInfo { get; set; } = new WeightInfo();
        public bool IsFinished => Item.IsFinished;
@@ -177,7 +184,7 @@
        public MES_WIP_PKG Package { get; set; }
        public bool IsFinished { get; set; } = false;
        public List<WipPkgItem> Items { get; set; } = new List<WipPkgItem>();
        public int TotalQty => Items.Any() ? Items.Sum(q => q.TotalQty) : 1;
    }
    /// <summary>
@@ -219,6 +226,7 @@
        /// 是否批次物料
        /// </summary>
        public bool IsBatchItem { get; set; }
        public List<BAS_ITEM> SubItems { get; set; } = new List<BAS_ITEM>();
        public List<MES_WIP_ASSY> Records { get; set; } = new List<MES_WIP_ASSY>();
        public bool IsFinished { get; set; } = false;
    }
@@ -240,5 +248,25 @@
        public string NextNode { get; set; } = "   —   ";
        public string CurNode { get; set; } = "   —   ";
        public int InputQty { get; set; } = 0;
        public List<WorkStepInfo> StepsInfo { get; set; } = new List<WorkStepInfo>();
    }
    /// <summary>
    /// 工步信息
    /// </summary>
    public class WorkStepInfo
    {
        public string ID { get; set; }
        public string Name { get; set; }
        public int Sequence { get; set; }
        public string NodeID { get; set; }
        public string NodeType { get; set; }
        public MES_WO_NODE Node { get; set; }
        public MES_WO_OPER OperSetting { get; set; }
        public MES_WO_NODE_ACT NodeAct { get; set; }
        public MES_WO_ACTION ActSetting { get; set; }
        public string Status { get; set; }
        public string Message { get; set; }
    }
}