From 5f84b6324b78b0882e6c6f9c9eeae6c798922767 Mon Sep 17 00:00:00 2001 From: wells.liu <wells.liu@broconcentric.com> Date: 星期五, 03 七月 2020 10:20:53 +0800 Subject: [PATCH] 新增配置优化 --- src/Bro.Common.Model/Helper/EnumHelper.cs | 34 +++++++++++++++++++++++++++++++--- 1 files changed, 31 insertions(+), 3 deletions(-) diff --git a/src/Bro.Common.Model/Helper/EnumHelper.cs b/src/Bro.Common.Model/Helper/EnumHelper.cs index cc90e89..a264b4a 100644 --- a/src/Bro.Common.Model/Helper/EnumHelper.cs +++ b/src/Bro.Common.Model/Helper/EnumHelper.cs @@ -365,7 +365,7 @@ // Jpeg, //} - public enum PLCReplyValue + public enum ReplyValue { OK = 1, NG = -1, @@ -523,9 +523,9 @@ } /// <summary> - /// 椹揪IO瀹氫箟绫诲瀷 + /// IO瀹氫箟绫诲瀷 /// </summary> - public enum MotorIODefine + public enum IODefine { Nothing, InputStartLeft, @@ -583,5 +583,33 @@ [Description("杩愬姩鎺у埗鍣ㄦ病鏈夊搷搴�")] GRCNotAck = -7 // 杩愬姩鎺у埗鍣ㄦ病鏈夊搷搴� } + + /// <summary> + /// 杩愬姩鏉垮崱 IO 绫诲瀷锛圛N OUT锛� + /// </summary> + public enum IOType + { + [Description("INPUT")] + In = 0, + [Description("OUTPUT")] + Out = 1 + } + + /// <summary> + /// PubSubCenter浜嬩欢涓績鐨勬秷鎭被鍨� + /// </summary> + public enum PubSubCenterMessageType + { + /// <summary> + /// 杩愯鐣岄潰鏇存柊浜у搧涓嬫媺 + /// </summary> + [Description("鏇存柊浜у搧涓嬫媺")] + UpdateProductionCodes, + ///// <summary> + ///// 鏇存柊鏁版嵁 + ///// </summary> + //[Description("鏇存柊鏁版嵁")] + //UpdateData, + } } } -- Gitblit v1.8.0