using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.JXJFoodBigStation.Model.HK_PLC { public class DB_Read { [PlcComm("plc心跳上报")] public bool HeartBeat { get; set; } [PlcComm("配方1允许下发配方")] public bool IsAllowIssueRecipe1 { get; set; } [PlcComm("配方2允许下发配方")] public bool IsAllowIssueRecipe2 { get; set; } [PlcComm("配方3允许下发配方")] public bool IsAllowIssueRecipe3 { get; set; } [PlcComm("配方4允许下发配方")] public bool IsAllowIssueRecipe4 { get; set; } [PlcComm("配方1接收配方完成")] public bool ReceiveFinishRecipe1 { get; set; } [PlcComm("配方2接收配方完成")] public bool ReceiveFinishRecipe2 { get; set; } [PlcComm("配方3接收配方完成")] public bool ReceiveFinishRecipe3 { get; set; } [PlcComm("配方4接收配方完成")] public bool ReceiveFinishRecipe4 { get; set; } [PlcComm("配方1配料完成")] public bool Recipe1DosingFinish { get; set; } [PlcComm("配方2配料完成")] public bool Recipe2DosingFinish { get; set; } [PlcComm("配方3配料完成")] public bool Recipe3DosingFinish { get; set; } [PlcComm("配方4配料完成")] public bool Recipe4DosingFinish { get; set; } [PlcComm("配方1托盘编号")] public short Recipe1TrayCode { get; set; } [PlcComm("配方2托盘编号")] public short Recipe2TrayCode { get; set; } [PlcComm("配方3托盘编号")] public short Recipe3TrayCode { get; set; } [PlcComm("配方4托盘编号")] public short Recipe4TrayCode { get; set; } [PlcComm("料仓1实际下料重量")] public float StockBin1ActualWeight { get; set; } [PlcComm("料仓2实际下料重量")] public float StockBin2ActualWeight { get; set; } [PlcComm("料仓3实际下料重量")] public float StockBin3ActualWeight { get; set; } [PlcComm("料仓4实际下料重量")] public float StockBin4ActualWeight { get; set; } [PlcComm("料仓5实际下料重量")] public float StockBin5ActualWeight { get; set; } [PlcComm("料仓6实际下料重量")] public float StockBin6ActualWeight { get; set; } [PlcComm("料仓7实际下料重量")] public float StockBin7ActualWeight { get; set; } [PlcComm("料仓8实际下料重量")] public float StockBin8ActualWeight { get; set; } [PlcComm("料仓9实际下料重量")] public float StockBin9ActualWeight { get; set; } [PlcComm("料仓10实际下料重量")] public float StockBin10ActualWeight { get; set; } [PlcComm("料仓11实际下料重量")] public float StockBin11ActualWeight { get; set; } [PlcComm("料仓12实际下料重量")] public float StockBin12ActualWeight { get; set; } [PlcComm("料仓13实际下料重量")] public float StockBin13ActualWeight { get; set; } [PlcComm("料仓14实际下料重量")] public float StockBin14ActualWeight { get; set; } /*[PlcComm("托盘到位")] public ushort TrayInPlace { get; set; } [PlcComm("托盘传感器信号")] public ushort TraySensor { get; set; } [PlcComm("托盘1气缸信号")] public ushort TrayCylinder { get; set; }*/ [PlcComm("托盘1到位")] public bool Tray1InPlace { get; set; } [PlcComm("托盘2到位")] public bool Tray2InPlace { get; set; } [PlcComm("托盘3到位")] public bool Tray3InPlace { get; set; } [PlcComm("托盘4到位")] public bool Tray4InPlace { get; set; } [PlcComm("托盘5到位")] public bool Tray5InPlace { get; set; } [PlcComm("托盘1气缸信号")] public bool Tray1Cylinder { get; set; } [PlcComm("托盘2气缸信号")] public bool Tray2Cylinder { get; set; } [PlcComm("托盘3气缸信号")] public bool Tray3Cylinder { get; set; } [PlcComm("托盘4气缸信号")] public bool Tray4Cylinder { get; set; } [PlcComm("托盘5气缸信号")] public bool Tray5Cylinder { get; set; } [PlcComm("托盘1传感器信号")] public bool Tray1Sensor { get; set; } [PlcComm("托盘2传感器信号")] public bool Tray2Sensor { get; set; } [PlcComm("托盘3传感器信号")] public bool Tray3Sensor { get; set; } [PlcComm("托盘4传感器信号")] public bool Tray4Sensor { get; set; } [PlcComm("托盘5传感器信号")] public bool Tray5Sensor { get; set; } } }