- 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_Finish_DB
- {
- /// <summary>
- /// 配料完成信号确认
- /// </summary>
- public bool Ask_For_Finish_PLC { get; set; }
- public short[] StandbyFinish { get; set; }=new short[4];
-
- [Siemens(16)]
- /// <summary>
- /// 生产工单编码
- /// </summary
- public string Order_No { get; set; }
-
- [Siemens(16)]
- /// <summary>
- /// 产品名称
- /// </summary>
- public string Product_Code { get; set; }
- /// <summary>
- /// 工位号
- /// </summary>
- public short Job_No { get; set; }
- public UDT2[] Powder { get; set; } = new UDT2[10];
- /// <summary>
- /// 原料信息
- /// </summary>
- public UDT1[] Material { get; set; } = new UDT1[20];
- /// <summary>
- /// 配料时间
- /// </summary>
- public short DosingTime { get; set; }
- /// <summary>
- /// 配料完成信号
- /// </summary>
- public bool Ask_For_Finish { get; set; }
-
- public short[] StandbyFinish2 { get; set; } = new short[4];
- }
- public class UDT1
- {
- /// <summary>
- /// 原料名称
- /// </summary>
- [Siemens(6)]
- public string Material_Name { get; set; }
- /// <summary>
- /// 原料下料重量
- /// </summary>
- public float Material_Laying_Off_Weight { get; set; }
- /// <summary>
- /// 原料的桶号
- /// </summary>
- public short Material_BarrelNum { get; set; }
- }
- public class UDT2
- {
- /// <summary>
- /// 粉料仓名称
- /// </summary>
- [Siemens(6)]
- public string Powder_Name { get; set; }
- /// <summary>
- /// 粉料仓重量
- /// </summary>
- public float Powder_Weight { get; set; }
- }
- }
|