using DllEapEntity.Dtos; using System; using System.Collections.Generic; using System.Reflection; using System.Text; namespace DllEapEntity.OFILM { /// /// WEB端机台状态数据展示实体 /// public class MacStatusForDashboardDto { /// /// 机台编号 /// public string MacCode { get; set; } /// /// 机台状态 /// public int Status { get; set; } /// /// 状态代码 /// public string StatusCode { get; set; } /// /// 状态名称 /// public string StatusName { get; set; } /// /// 开始时间 /// public DateTime? STime { get; set; } /// /// 结束时间 /// public DateTime? ETime { get; set; } /// /// 状态持续时长(秒为单位) /// public decimal TimeLen { get; set; } /// /// 机型 /// public string MacModel { get; set; } /// /// 制程 /// public string ProcessCode { get; set; } /// /// 线体 /// public string Line { get; set; } /// /// 楼层 /// public string Floor { get; set; } /// /// 厂房 /// public string Plant { get; set; } /// /// 园区 /// public string Factory { get; set; } /// /// 机种 /// public string Recipe { get; set; } /// /// 稼动率 /// public double RunRate { get; set; } /// /// 区域名称 /// public string RegionName { get; set; } /// /// 红 /// public int? Red { get; set; } /// /// 绿 /// public int? Green { get; set; } /// /// 蓝 /// public int? Blue { get; set; } /// /// 透明度 /// public int? Alpha { get; set; } /// /// 状态对应的颜色 /// public RgbColor Color { get; set; } /// /// 排序 /// public int? Rank { get; set; } public int? FloorRank { get; set; } public int? LineRank { get; set; } /// /// 使用的图片 /// public string UseImage { get; set; } /// /// 报警代码 /// public string AlarmCode { get; set; } } /// /// WEB版状态看板返回数据 /// public class MacStatusTotalInfo { /// /// 园区 /// public string Factory { get; set; } /// /// 厂房 /// public string Plant { get; set; } /// /// 总数量 /// public int Total { get; set; } /// /// 状态数量 /// public IEnumerable StatusCount { get; set; } /// /// 线体 /// public IEnumerable Lines { get; set; } /// /// 工序稼动率 /// public ChartDto2 ProcessRunRate { get; set; } } /// /// 机台状态 /// public class Status { /// /// 状态代码 /// public string StatusCode { get; set; } /// /// 状态名称 /// public string StatusName { get; set; } /// /// 机台数量 /// public int Count { get; set; } /// /// 颜色 /// public RgbColor Color { get; set; } } /// /// RGB颜色 /// public class RgbColor { public RgbColor(int red, int green, int blue, int alpha = 1) { Red = red; Green = green; Blue = blue; Alpha = alpha; } /// /// 红 /// public int Red { get; set; } /// /// 绿 /// public int Green { get; set; } /// /// 蓝 /// public int Blue { get; set; } /// /// 透明度 /// public decimal Alpha { get; set; } } /// /// 线体 /// public class Line { /// /// 楼层车间 /// public string FloorName { get; set; } /// /// 线体名称 /// public string LineName { get; set; } /// /// 线体中DA机台使用的机种 /// public string Recipe { get; set; } /// /// 机台状态 /// public IDictionary> ModelMachines { get; set; } } }