| | |
| | | Measuring = 21, |
| | | MeasureDoneOK = 22, |
| | | MeasureDoneNG = 23, |
| | | |
| | | CanStretchLeft = 41, |
| | | CanStretchRight = 42, |
| | | CanStretchTop = 43, |
| | | CanStretchBottom = 44, |
| | | |
| | | CanStretchLeftUpperCorner = 45, |
| | | CanStretchLeftLowerCorner = 46, |
| | | CanStretchRightUpperCorner = 47, |
| | | CanStretchRightLowerCorner = 48, |
| | | |
| | | StretchingLeft = 31, |
| | | StretchingRight = 32, |
| | | StretchingTop = 33, |
| | | StretchingBottom = 34, |
| | | |
| | | StretchingLeftUpperCorner = 35, |
| | | StretchingLeftLowerCorner = 36, |
| | | StretchingRightUpperCorner = 37, |
| | | StretchingRightLowerCorner = 38, |
| | | } |
| | | |
| | | public enum MouseState |
| | |
| | | HoverElement = 2, |
| | | InSideElement = 3, |
| | | |
| | | MoveElement = 4, |
| | | |
| | | StretchingLeft = 11, |
| | | StretchingRight = 12, |
| | | StretchingUp = 13, |
| | | StretchingDown = 14, |
| | | MoveElement = 15, |
| | | StretchingTop = 13, |
| | | StretchingBottom = 14, |
| | | |
| | | StretchingLeftUpperCorner = 15, |
| | | StretchingLeftLowerCorner = 16, |
| | | StretchingRightUpperCorner =17, |
| | | StretchingRightLowerCorner = 18, |
| | | |
| | | New = 21, |
| | | Editing = 22, |
| | | SelectedElement = 23, |
| | | //SelectedElement = 23, |
| | | |
| | | MovingAll = 31, |
| | | |
| | |
| | | /// <summary> |
| | | /// 马达/运动板卡运行模式 |
| | | /// </summary> |
| | | public enum MotorMoveMode |
| | | public enum MotionMode |
| | | { |
| | | /// <summary> |
| | | /// 普通点位运动 |
| | |
| | | } |
| | | |
| | | /// <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> |
| | |
| | | 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> |
| | |
| | | //[Description("更新数据")] |
| | | //UpdateData, |
| | | } |
| | | |
| | | public enum MachineState |
| | | { |
| | | Unknown, |
| | | Ready, |
| | | Running, |
| | | Alarm, |
| | | Pause, |
| | | Resetting, |
| | | } |
| | | } |
| | | } |