using BPASmartClient.CustomResource.Pages.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HKControl { public class DataModel { public WindowDataModel LeftWindowData { get; set; } = new WindowDataModel(); public WindowDataModel RightWindowData { get; set; } = new WindowDataModel(); } public class WindowDataModel { /// /// 是否允许刷卡 /// public bool IsSwipe { get; set; } /// /// 开始配餐 /// public bool Start { get; set; } /// /// 配餐完成状态 /// public bool Complete { get; set; } /// /// 刷卡机编号 /// public string CarNum { get; set; } [Alarm("警告左侧机构餐盘无盘")] public bool L1 { get; set; } [Alarm("警告左侧升降气缸下降不到位")] public bool L2 { get; set; } [Alarm("警告左侧升降气缸中间不到位")] public bool L3 { get; set; } [Alarm("警告左侧升降气缸上升不到位")] public bool L4 { get; set; } [Alarm("警告左侧升降气缸上升不到位")] public bool L5 { get; set; } [Alarm("警告左侧机构推空餐盘不到位")] public bool L6 { get; set; } [Alarm("警告左侧出餐推不到位")] public bool L7 { get; set; } [Alarm("警告左侧出餐回退不到位")] public bool L8 { get; set; } [Alarm("警告左餐盘掉落位置有餐盘")] public bool L9 { get; set; } [Alarm("警告右侧机构餐盘无盘")] public bool R1 { get; set; } [Alarm("警告右侧升降气缸下降不到位")] public bool R2 { get; set; } [Alarm("警告右侧升降气缸中间不到位")] public bool R3 { get; set; } [Alarm("警告右侧升降气缸上升不到位")] public bool R4 { get; set; } [Alarm("警告右侧升降气缸上升不到位")] public bool R5 { get; set; } [Alarm("警告右侧机构推空餐盘不到位")] public bool R6 { get; set; } [Alarm("警告右侧出餐推不到位")] public bool R7 { get; set; } [Alarm("警告右侧出餐回退不到位")] public bool R8 { get; set; } [Alarm("警告右餐盘掉落位置有餐盘")] public bool R9 { get; set; } } }