From 8a59259ebddf896fa272b2beb376538bfe8cd0f2 Mon Sep 17 00:00:00 2001 From: wells.liu <wells.liu@broconcentric.com> Date: 星期一, 06 七月 2020 11:30:25 +0800 Subject: [PATCH] 板卡底层优化 --- src/Bro.Common.Model/Helper/EnumHelper.cs | 38 +++++++++++++++++++++++++++++++++++++- 1 files changed, 37 insertions(+), 1 deletions(-) diff --git a/src/Bro.Common.Model/Helper/EnumHelper.cs b/src/Bro.Common.Model/Helper/EnumHelper.cs index 2b56867..a9cf25a 100644 --- a/src/Bro.Common.Model/Helper/EnumHelper.cs +++ b/src/Bro.Common.Model/Helper/EnumHelper.cs @@ -447,7 +447,7 @@ /// <summary> /// 椹揪/杩愬姩鏉垮崱杩愯妯″紡 /// </summary> - public enum MotorMoveMode + public enum MotionMode { /// <summary> /// 鏅�氱偣浣嶈繍鍔� @@ -576,5 +576,41 @@ [Description("OUTPUT")] OUTPUT = 1 } + + public enum IOValue + { + [Description("鍏抽棴")] + FALSE = 0, + [Description("寮�鍚�")] + TRUE = 1, + [Description("鍙嶈浆")] + REVERSE = 2, + } + + /// <summary> + /// PubSubCenter浜嬩欢涓績鐨勬秷鎭被鍨� + /// </summary> + public enum PubSubCenterMessageType + { + /// <summary> + /// 杩愯鐣岄潰鏇存柊浜у搧涓嬫媺 + /// </summary> + [Description("鏇存柊浜у搧涓嬫媺")] + UpdateProductionCodes, + ///// <summary> + ///// 鏇存柊鏁版嵁 + ///// </summary> + //[Description("鏇存柊鏁版嵁")] + //UpdateData, + } + + public enum MachineState + { + Unknown, + Ready, + Running, + Alarm, + Pause, + } } } -- Gitblit v1.8.0