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