| | |
| | | public List<PlcAndBasketcode> PlcAndBasketcodes { get; set; } = new List<PlcAndBasketcode>(); |
| | | |
| | | |
| | | [Category("MES配置")] |
| | | [Description("产品ID集合")] |
| | | [DisplayName("产品ID集合")] |
| | | [TypeConverter(typeof(CollectionCountConvert))] |
| | | [Editor(typeof(ComplexCollectionEditor<ProductionID>), typeof(UITypeEditor))] |
| | | public List<ProductionID> Productioncode { get; set; } = new List<ProductionID>(); |
| | | |
| | | [Category("MES配置")] |
| | | [Description("条码集合")] |
| | | [DisplayName("条码集合")] |
| | | [TypeConverter(typeof(CollectionCountConvert))] |
| | | [Editor(typeof(ComplexCollectionEditor<MES_code>), typeof(UITypeEditor))] |
| | | public List<MES_code> MES_codes { get; set; } = new List<MES_code>(); |
| | | |
| | | |
| | | } |
| | | public class MES_code: IComplexDisplay |
| | | { |
| | | [Category("配置")] |
| | | [Description("MES下发的条码")] |
| | | [DisplayName("条码")] |
| | | public string Printers_code { get; set; } |
| | | public string GetDisplayText() |
| | | { |
| | | return $"{Printers_code}"; |
| | | } |
| | | } |
| | | |
| | | |
| | | public class ProductionID : IComplexDisplay |
| | | { |
| | | [Category("配置")] |
| | | [Description("序号")] |
| | | [DisplayName("序号")] |
| | | public int Uptomesid { get; set; } = 0; |
| | | |
| | | [Category("配置")] |
| | | [Description("条码")] |
| | | [DisplayName("PID")] |
| | | public string PID { get; set; } |
| | | |
| | | [Category("配置")] |
| | | [Description("条码")] |
| | | [DisplayName("SEQUENCE")] |
| | | public string SEQUENCE { get; set; } |
| | | |
| | | [Category("配置")] |
| | | [Description("条码")] |
| | | [DisplayName("BasketCode")] |
| | | public string BasketCode { get; set; } |
| | | |
| | | [Category("配置")] |
| | | [Description("条码")] |
| | | [DisplayName("Zword")] |
| | | public string Zword { get; set; } |
| | | |
| | | [Category("配置")] |
| | | [Description("条码")] |
| | | [DisplayName("SN")] |
| | | public string SN { get; set; } |
| | | |
| | | public string GetDisplayText() |
| | | { |
| | | return $"产品{PID}上传批次序号{Uptomesid}"; |
| | | } |
| | | } |
| | | |
| | | public class WorkPositionSet : IComplexDisplay |
| | | { |
| | | [Category("plc地址")] |