服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2024-08-02 8bfaf7141c88f41d3dbd1995cfb9cb015ca0d1d6
Tiger.Model.Net/Entitys/MES/ParameterEntity/PositionParameter.cs
@@ -54,13 +54,13 @@
        /// </summary>
        public bool IsFinished { get; set; } = false;
        /// <summary>
        /// 当前操作的工单
        /// 当前操作的工单对象
        /// </summary>
        public string CurWO { get; set; }
        public BIZ_MES_WO CurWO { get; set; }
        /// <summary>
        /// 当前操作的工单批次
        /// 当前操作的工单批次对象
        /// </summary>
        public string CurBatch { get; set; }
        public BIZ_MES_WO_BATCH CurBatch { get; set; }
        /// <summary>
        /// 当前操作的节点名称
        /// </summary>
@@ -77,6 +77,7 @@
        /// 当前操作返回的数据
        /// </summary>
        public object Data { get; set; }
    }
    public class DefectOutput
@@ -87,4 +88,75 @@
        public string DFT_NAME { get; set; }
        public int DFT_LEVEL { get; set; }
    }
    public class PackingActionInput
    {
        /// <summary>
        /// 包装行为当前执行的操作代码,包括:<br/>
        /// Scan:扫码,扫描当前包装层级的条码<br/>
        /// Print:打印,打印当前包装层级的标签<br/>
        /// Complete:完成,完成全部包装后结束行为<br/>
        /// </summary>
        public string ExecCode { get; set; }
        /// <summary>
        /// 客户端是否完成当前操作
        /// </summary>
        public bool IsFinish { get; set; }
        /// <summary>
        /// 当前操作的包装层级
        /// </summary>
        public int PkgLevel { get; set; }
        /// <summary>
        /// 当前操作的包装层级的标签条码
        /// </summary>
        public string PkgSN { get; set; }
    }
    public class PackingActionOutput
    {
        public WipPkg PkgInfo { get; set; }
        /// <summary>
        /// 包装行为当前执行的操作代码,包括:<br/>
        /// Scan:扫码,扫描当前包装层级的条码<br/>
        /// Print:打印,打印当前包装层级的标签<br/>
        /// Complete:完成,已保存包装数据<br/>
        /// </summary>
        public string ExecCode { get; set; }
        /// <summary>
        /// 当前操作的包装层级
        /// </summary>
        public int PkgLevel { get; set; }
        /// <summary>
        /// 当前需要打印的包装层级的标签信息
        /// </summary>
        public BAS_LABEL_TEMP PrintLable { get; set; }
    }
    /// <summary>
    /// 在线包装
    /// </summary>
    public class WipPkg
    {
        public string RULE_CODE { get; set; }
        public string RULE_NAME { get; set; }
        public WipPkgItem Item { get; set; }
        public bool IsFinished { get; set; } = false;
    }
    /// <summary>
    /// 在线包装明细
    /// </summary>
    public class WipPkgItem
    {
        public string PKG_CODE { get; set; }
        public string PKG_NAME { get; set; }
        public string IS_MIN_PKG { get; set; }
        public int PKG_LEVEL { get; set; }
        public int PKG_QTY { get; set; }
        public string LABEL_CODE { get; set; }
        public MES_WIP_PKG Package { get; set; }
        public bool IsFinished { get; set; } = false;
        public List<WipPkgItem> Items { get; set; } = new List<WipPkgItem>();
    }
}