using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DOAN.Model.MES.dev.Dto { /// /// 设备状态分析 /// public class DeviceStatusAnalysisDto { /// /// 设备总数:存在设备 /// public int AllTotal { get; set; } /// /// 正常设备总数 /// public int NormalTotal { get; set; } /// /// 未点/巡总数 /// public int UnmaintainedTotal { get; set; } /// /// 报修中总数 /// public int DamageTotal { get; set; } /// /// 停用总数 /// public int NoUseTotal { get; set; } /// /// 设备详情 /// public List LineDetailList { get; set; } } /// /// 设备详情 /// public class LineDetail { /// /// 车间 /// public string Workshop { get; set; } /// /// 产线 /// public string Workline { get; set; } /// /// 总计 /// public int Total { get; set; } /// /// 设备信息 /// public List Children { get; set; } } /// /// 设备信息 /// public class DeviceInfo { /// /// 设备id /// public int Id { get; set; } /// /// 设备名称 /// public string DeviceName { get; set; } /// /// 设备code /// public string DeviceCode { get; set; } /// /// 设备状态 :1(正常)2(未维护) 3(报修中)4(停用中) /// public int DeviceStatus { get; set; } } }