| | |
| | | /// </summary> |
| | | public string DFT_CODE { get; set; } |
| | | /// <summary> |
| | | /// 当前操作需要提交的选项 |
| | | /// 当前操作的行为的变量字典,如果是不是行为,否则留空 |
| | | /// </summary> |
| | | public Dictionary<string, string> Options { get; set; } = new Dictionary<string, string>(); |
| | | public Dictionary<string, string> ActionDic { get; set; } = new Dictionary<string, string>(); |
| | | /// <summary> |
| | | /// 当前操作需要提交的数据 |
| | | /// </summary> |
| | |
| | | /// </summary> |
| | | public bool IsFinished { get; set; } = false; |
| | | /// <summary> |
| | | /// 短消息 |
| | | /// </summary> |
| | | public ShortMessage ShortMsg { get; set; } |
| | | /// <summary> |
| | | /// 当前操作的节点名称 |
| | | /// </summary> |
| | | public string NodeName { get; set; } |
| | |
| | | /// </summary> |
| | | public string ActionType { get; set; } |
| | | /// <summary> |
| | | /// 当前操作的行为的变量字典,如果是不是行为,否则留空 |
| | | /// </summary> |
| | | public Dictionary<string, string> ActionDic { get; set; } |
| | | /// <summary> |
| | | /// 下一个操作的工步ID |
| | | /// </summary> |
| | | public string NextStepID { get; set; } |
| | | /// <summary> |
| | | /// 短消息 |
| | | /// </summary> |
| | | public ShortMessage ShortMsg { get; set; } |
| | | /// <summary> |
| | | /// Mqtt消息 |
| | | /// </summary> |
| | | public MQTT.Message MqttMsg { get; set; } |
| | | /// <summary> |
| | | /// 当前操作返回的数据 |
| | | /// </summary> |
| | |
| | | public string SN { get; set; } |
| | | public MES_WIP_PKG Package { get; set; } |
| | | public bool IsFinished { get; set; } = false; |
| | | public bool PkgComplete => PKG_LEVEL == 1 || Items.Count(q => q.IsFinished) == PKG_QTY; |
| | | public List<WipPkgItem> Items { get; set; } = new List<WipPkgItem>(); |
| | | public Dictionary<string, string> WipSNs { get; set; } = new Dictionary<string, string>(); |
| | | public int TotalQty => Items.Any() ? Items.Sum(q => q.TotalQty) : 1; |
| | | public double TotalQty => Items.Any() ? Items.Sum(q => q.TotalQty) : Package?.QTY ?? 0; |
| | | |
| | | public List<MES_WIP_PKG> GetMinPackageList() |
| | | { |
| | |
| | | public string Message { get; set; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 出货信息 |
| | | /// </summary> |
| | | public class ShipingInfo |
| | | { |
| | | public bool IsPrintCustomerLabel { get; set; } |
| | | public int OldShipQty { get; set; } |
| | | public int ShipQty { get; set; } |
| | | } |
| | | |
| | | } |