You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- 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)]
- /// <summary>
- /// 配方编码
- /// </summary>
- public string RecipeCode { get; set; }
- [Siemens(16)]
- /// <summary>
- /// 配发名称
- /// </summary>
- public string RecipeName { get; set; }
- /// <summary>
- /// 工站的编号
- /// </summary>
- public short StockCode { get; set; }
- /// <summary>
- /// 托盘编号
- /// </summary>
- public short TrayCode { get; set; }
-
- public UDT2Start[] Powder { get; set; } = new UDT2Start[10];
- /// <summary>
- /// 物料信息
- /// </summary>
- public UDTStart[] Material { get; set; } = new UDTStart[20];
- /// <summary>
- /// 西门子下发订单
- /// </summary>
- public bool Order_Request_ACK { get; set; }
- public bool Order_Cancel { get; set; }
- public short[] Standby { get; set; } = new short[4];
- /// <summary>
- /// 上位机订单请求
- /// </summary>
- 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)]
- /// <summary>
- /// 原料名称
- /// </summary>
- public string Material_Name { get; set; } = "";
- /// <summary>
- /// 原料重量
- /// </summary>
- public float Material_Weight { get; set; }
- /// <summary>
- /// 原料桶号
- /// </summary>
- public short Material_BarrelNum { get; set; }
- }
-
-
- public class UDT2Start
- {
- /// <summary>
- /// 粉料仓名称
- /// </summary>
- [Siemens(6)]
- public string Powder_Name { get; set; } = "";
- /// <summary>
- /// 粉料仓重量
- /// </summary>
- public float Powder_Weight { get; set; }
- }
- }
|