using BPASmartClient.S7Net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BPASmartClient.JXJFoodSmallStation.Model.Siemens
{
public class XL_Finish_DB
{
///
/// 配料完成信号确认
///
public bool Ask_For_Finish_PLC { get; set; }
public short[] StandbyFinish { get; set; }=new short[4];
[Siemens(16)]
///
/// 生产工单编码
///
/// 产品名称
///
public string Product_Code { get; set; }
///
/// 工位号
///
public short Job_No { get; set; }
public UDT2[] Powder { get; set; } = new UDT2[10];
///
/// 原料信息
///
public UDT1[] Material { get; set; } = new UDT1[20];
///
/// 配料时间
///
public short DosingTime { get; set; }
///
/// 配料完成信号
///
public bool Ask_For_Finish { get; set; }
public short[] StandbyFinish2 { get; set; } = new short[4];
}
public class UDT1
{
///
/// 原料名称
///
[Siemens(6)]
public string Material_Name { get; set; } = "";
///
/// 原料下料重量
///
public float Material_Laying_Off_Weight { get; set; }
///
/// 原料的桶号
///
public short Material_BarrelNum { get; set; }
}
public class UDT2
{
///
/// 粉料仓名称
///
[Siemens(6)]
public string Powder_Name { get; set; } = "";
///
/// 粉料仓重量
///
public float Powder_Weight { get; set; }
}
}