using BPASmartClient.S7Net; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.JXJFoodSmallStation.Model.Siemens { internal class XL_Start_DB { [Siemens(16)] /// /// 配方编码 /// public string RecipeCode { get; set; } [Siemens(16)] /// /// 配发名称 /// public string RecipeName { get; set; } /// /// 工站的编号 /// public short StockCode { get; set; } /// /// 托盘编号 /// public short TrayCode { get; set; } public UDT2Start[] Powder { get; set; } = new UDT2Start[10]; /// /// 物料信息 /// public UDTStart[] Material { get; set; } = new UDTStart[20]; /// /// 西门子下发订单 /// public bool Order_Request_ACK { get; set; } public bool Order_Cancel { get; set; } public short[] Standby { get; set; } = new short[4]; /// /// 上位机订单请求 /// public bool Order_Request { get; set; } public bool Order_Cancel_ACK { get; set; } public short[] Standby1 { get; set; } = new short[4]; } public class UDTStart { [Siemens(6)] /// /// 原料名称 /// public string Material_Name { get; set; } = ""; /// /// 原料重量 /// public float Material_Weight { get; set; } /// /// 原料桶号 /// public short Material_BarrelNum { get; set; } } public class UDT2Start { /// /// 粉料仓名称 /// [Siemens(6)] public string Powder_Name { get; set; } = ""; /// /// 粉料仓重量 /// public float Powder_Weight { get; set; } } }