using System; using System.Net.NetworkInformation; namespace ProductionLineMonitor.Web.Services.LineService { public class KeyInInfo { /// /// 计划 Id 唯一标识 /// public string Id { get; set; } = string.Empty; /// /// 0:品质异常停线 /// 1:宕机 /// 2:换线 /// 3:实验 /// 4:W/F送样 /// 5:物料缺料或生管调整影响 /// 6:放假 /// 7:停电气等停线 /// 8:换耗材类 /// 9:停机未生产 /// 10:缺WF:2023-09-22 IT与制造将 “效率爬升” 修改为 “缺WF” /// public int KeyInType { get; set; } public string KeyInTypeName { get { return KeyInType switch { 0 => "品质异常停线", 1 => "宕机", 2 => "换线", 3 => "实验", 4 => "W/F送样/前导批", 5 => "物料缺料或生管调整影响", 6 => "放假", 7 => "停电气等停线", 8 => "换耗材", 9 => "停机未生产", 10 => "缺WF", _ => "", }; } } /// /// 描述 /// 0:品质异常停线 /// 1:宕机 /// 2:换线 机种切换-有程序 EL097ER1->TS097SC1 /// 3:实验 EL097ER1 1300pcs 李文健 测试新程序 /// 4:W/F送样 /// 5:物料缺料或生管调整影响 /// 6:放假 /// 7:停电气等停线 /// 8:换耗材类 /// 9:停机未生产 /// 10:缺WF /// public string Description { get; set; } = string.Empty; /// /// 开始时间 /// public DateTime? StartTime { get; set; } /// /// 结束时间 /// public DateTime? EndTime { get; set; } /// /// 影响时间 min /// public int AffectTime { get; set; } /// /// 影响产能 /// public int AffectCapacity { get; set; } } }