using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TestDemo { public class PlcToComputer { /// /// 心跳 /// public bool Heartbeat { get; set; } /// /// 接收完成 /// public bool ResComplete { get; set; } /// /// 系统系统或停止 /// public bool SystemStartOrStop { get; set; } /// /// 手自动切换 /// public bool HandOrAuto { get; set; } /// /// 桶位置反馈 /// public short[] LocationFeedback { get; set; } = new short[32]; /// /// 是否允许配料 /// public bool[] IsAllowIngredients { get; set; } = new bool[32]; /// /// 报警信息 /// public bool[] ArrayInfo { get; set; } = new bool[32]; } }