领胜LDS 键盘AOI检测项目
xcd
2020-07-03 3cba54c4ee8d29d33ed21a2c749a9d2f2d03e22d
src/Bro.Common.Model/Helper/EnumHelper.cs
@@ -523,44 +523,26 @@
        }
        /// <summary>
        /// IO定义类型
        /// IO预定义类型 主要针对输出
        /// </summary>
        public enum IODefine
        public enum IOPrestatement
        {
            Nothing,
            InputStartLeft,
            InputStartRight,
            InputCurtainLeft,
            InputCurtainRight,
            InputSafeDoor,
            InputEmergency,
            InputReset,
            InputScrew1,
            InputScrew2,
            InputSuckLeft,
            InputSuckRight,
            InputSuckXYZ,
            InputCylinderLeftLimitFront,
            InputCylinderLeftLimitBack,
            InputCylinderRightLimitFront,
            InputCylinderRightLimitBack,
            [Description("自定义")]
            Customized = 0,
            [Description("指示灯-黄")]
            Light_Yellow = 1,
            [Description("指示灯-红")]
            Light_Green = 2,
            [Description("指示灯-绿")]
            Light_Red = 3,
            [Description("蜂鸣器")]
            Beep = 4,
            [Description("照明灯")]
            Light = 5,
            OutputYellow,
            OutputGreen,
            OutputRed,
            OutputBeep,
            OutputLight,
            OutputMotorPower,
            OutputInitOK,
            OutputZLock,
            OutputLeftCylinder,
            OutputRightCylinder,
            OutputLeftSuck,
            OutputRightSuck,
            OutputScrewBlow,
            OutputCamera,
            OutputScrewSuck,
            [Description("急停")]
            EmergencyStop = 99,
        }
        /// <summary>
@@ -590,9 +572,19 @@
        public enum IOType
        {
            [Description("INPUT")]
            In = 0,
            INPUT = 0,
            [Description("OUTPUT")]
            Out = 1
            OUTPUT = 1
        }
        public enum IOValue
        {
            [Description("关闭")]
            FALSE = 0,
            [Description("开启")]
            TRUE = 1,
            [Description("反转")]
            REVERSE = 2,
        }
        /// <summary>
@@ -611,5 +603,14 @@
            //[Description("更新数据")]
            //UpdateData,
        }
        public enum MachineState
        {
            Unknown,
            Ready,
            Running,
            Alarm,
            Pause,
        }
    }
}