using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static System.Net.Mime.MediaTypeNames; namespace Model { public enum TipsType { Unknown = -10, Cleared = -1, Common = 0, } public class Tips { public string Message { get; set; } public TipsType Type { get; set; } public DateTime Timestamp { get; set; } public static List<(string Node,string Message,bool DesiredValue)>TipsNodeWithMessage = new List<(string Node, string Message, bool DesiredValue)> { ("Application.A00_Turntable_Manual.b转盘轴使能状态" , "A00转盘轴未使能",false), ("Application.A01_FeedInStation_Auto.b下压轴使能状态" , "A01入料站下压轴未使能",false), ("Application.A01_FeedInStation_Auto.b分离轴使能状态" , "A01入料站分离轴未使能",false), ("Application.A02_TestStation_Auto.b下压轴使能状态" , "A02电测站下压轴未使能",false), ("Application.A03_DirectionTrun_Auto.b下压轴使能状态" , "A03转向站1下压轴未使能",false), ("Application.A03_DirectionTrun_Auto.b旋转轴使能状态" , "A03转向站1旋转轴未使能",false), ("Application.A04_TestStation_Auto.b下压轴使能状态" , "A04测试站1下压轴未使能",false), ("Application.A05_TestStation_Auto.b下压轴使能状态" , "A05测试站2下压轴未使能",false), ("Application.A06_TestStation_Auto.b下压轴使能状态" , "A06测试站3下压轴未使能",false), ("Application.A07_TestStation_Auto.b下压轴使能状态" , "A07测试站4下压轴未使能",false), ("Application.A08_TestNGContainer_Auto.b料盒轴使能状态" , "A08四料盒1料盒轴未使能",false), ("Application.A09_TestNGContainer_Auto.b料盒轴使能状态" , "A09四料盒2料盒轴未使能",false), ("Application.A10_LocateStation_Auto.b下压轴使能状态" , "A10定位站1下压轴未使能",false), ("Application.A14_ThermalTest_Auto.b下压轴使能状态" , "A14热测站下压轴未使能",false), ("Application.A14_ThermalTest_Auto.b热测升降轴使能状态" , "A14热测站热测升降轴未使能",false), ("Application.A14_ThermalTest_Auto.b热测盘使能状态" , "A14热测站热测盘未使能",false), ("Application.A14_ThermalTest_Auto.b翻转升降轴使能状态" , "A14热测站翻转升降轴未使能",false), ("Application.A14_ThermalTest_Auto.b翻转轴使能状态" , "A14热测站翻转轴未使能",false), ("Application.A18_CoolingStation_Auto.b下压轴使能状态" , "A18降温站1下压轴未使能",false), ("Application.A19_CoolingStation_Auto.b下压轴使能状态" , "A19降温站2下压轴未使能",false), ("Application.A20_TestNGContainer_Auto.b料盒轴使能状态" , "A20四料盒3料盒轴未使能",false), ("Application.A21_LocateStation_Auto.b下压轴使能状态" , "A21定位站2下压轴未使能",false), ("Application.A23_LaserMarking_Auto.b下压轴使能状态" , "A24镭射站下压轴未使能",false), ("Application.A23_LaserMarking_Auto.b镭射盘使能状态" , "A24镭射站镭射盘未使能",false), ("Application.A25_TestStation_Auto.b下压轴使能状态" , "A25测试站5下压轴未使能",false), ("Application.A26_DirectionTurn_Auto.b下压轴使能状态" , "A26转向站1下压轴未使能",false), ("Application.A26_DirectionTurn_Auto.b旋转轴使能状态" , "A26转向站1旋转轴未使能",false), ("Application.A27_3DTestStation_Auto.b下压轴使能状态" , "A29 3D检测站下压轴未使能",false), ("Application.A28_TestNGContainer_Auto.b料盒轴使能状态" , "A28四料盒4料盒轴未使能",false), ("Application.A29_TestNGContainer_Auto.b料盒轴使能状态" , "A29四料盒5料盒轴未使能",false), ("Application.A30_LocateStation_Auto.b下压轴使能状态" , "A30封装前定位站下压轴未使能",false), ("Application.A33_Encapsulation1_Manual.b下压轴使能状态" , "A33封装站下压轴未使能",false), ("Application.A33_Encapsulation1_Manual.b封合轴使能状态" , "A33封装站封合轴未使能",false), ("Application.A33_Encapsulation1_Manual.b走带轴使能状态" , "A33封装站走带轴未使能",false), ("Application.A00_Turntable_Manual.b转盘轴回原完成" , "A00转盘轴未回原",false), ("Application.A01_FeedInStation_Auto.b下压轴回原完成" , "A01入料站下压轴未回原",false), ("Application.A01_FeedInStation_Auto.b分离轴回原完成" , "A01入料站分离轴未回原",false), ("Application.A02_TestStation_Auto.b下压轴回原完成" , "A02电测站下压轴未回原",false), ("Application.A03_DirectionTrun_Auto.b下压轴回原完成" , "A03转向站1下压轴未回原",false), ("Application.A03_DirectionTrun_Auto.b旋转轴回原完成" , "A03转向站1旋转轴未回原",false), ("Application.A04_TestStation_Auto.b下压轴回原完成" , "A04测试站1下压轴未回原",false), ("Application.A05_TestStation_Auto.b下压轴回原完成" , "A05测试站2下压轴未回原",false), ("Application.A06_TestStation_Auto.b下压轴回原完成" , "A06测试站3下压轴未回原",false), ("Application.A07_TestStation_Auto.b下压轴回原完成" , "A07测试站4下压轴未回原",false), ("Application.A08_TestNGContainer_Auto.b料盒轴回原完成" , "A08四料盒1料盒轴未回原",false), ("Application.A09_TestNGContainer_Auto.b料盒轴回原完成" , "A08四料盒2料盒轴未回原",false), ("Application.A10_LocateStation_Auto.b下压轴回原完成" , "A10定位站1下压轴未回原",false), ("Application.A14_ThermalTest_Auto.b下压轴回原完成" , "A15热测站下压轴未回原",false), ("Application.A14_ThermalTest_Auto.b热测升降轴回原完成" , "A15热测站热测升降轴未回原",false), ("Application.A14_ThermalTest_Auto.b热测盘回原完成" , "A15热测站热测盘未回原",false), ("Application.A14_ThermalTest_Auto.b翻转升降轴回原完成" , "A15热测站翻转升降轴未回原",false), ("Application.A14_ThermalTest_Auto.b翻转轴回原完成" , "A15热测站翻转轴未回原",false), ("Application.A18_CoolingStation_Auto.b下压轴回原完成" , "A18降温站1下压轴未回原",false), ("Application.A19_CoolingStation_Auto.b下压轴回原完成" , "A19降温站2下压轴未回原",false), ("Application.A20_TestNGContainer_Auto.b料盒轴回原完成" , "A20四料盒3料盒轴未回原",false), ("Application.A21_LocateStation_Auto.b下压轴回原完成" , "A21定位站2下压轴未回原",false), ("Application.A23_LaserMarking_Auto.b下压轴回原完成" , "A24镭射站下压轴未回原",false), ("Application.A23_LaserMarking_Auto.b镭射盘回原完成" , "A24镭射站镭射盘未回原",false), ("Application.A25_TestStation_Auto.b下压轴回原完成" , "A25测试站5下压轴未回原",false), ("Application.A26_DirectionTurn_Auto.b下压轴回原完成" , "A26转向站2下压轴未回原",false), ("Application.A26_DirectionTurn_Auto.b旋转轴回原完成" , "A26转向站2旋转轴未回原",false), ("Application.A27_3DTestStation_Auto.b下压轴回原完成" , "A27 3D测试站下压轴未回原",false), ("Application.A28_TestNGContainer_Auto.b料盒轴回原完成" , "A28四料盒4料盒轴未回原",false), ("Application.A29_TestNGContainer_Auto.b料盒轴回原完成" , "A29四料盒5料盒轴未回原",false), ("Application.A30_LocateStation_Auto.b下压轴回原完成" , "A30封装前定位站下压轴未回原",false), ("Application.A33_Encapsulation1_Manual.b下压轴回原完成" , "A33封装站下压轴未回原",false), ("Application.A33_Encapsulation1_Manual.b封合轴回原完成" , "A33封装站封合轴未回原",false), ("Application.A33_Encapsulation1_Manual.b走带轴回原完成" , "A33封装站走带轴未回原",false), }; } public class TipsDisplay { public int Id { get; set; } public int RowNumber { get; set; } public DateTime Timestamp { get; set; } public string Username { get; set; } public string Message { get; set; } public string Type { get; set; } } }