using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StageController { public enum MotionUnit { Pulse, Micron, Pixel } public enum AxisType { X, Y, Z } public enum Border { /// /// 边界内 /// I = 0, /// /// 正向边界 /// F = 1, /// /// 反向边界 /// R = 2, /// /// 边界异常 /// E = 3 } public enum AxisState { Error, Stop, Moving } public enum MotionType { Continue, Location } public enum LimitState { Error, N, P, Safe } public enum LengthUnits { Micron, Millimetre, Centimetre, Mil, Inches, Nano } /// /// 8 象限 /// public enum Octant { XN = 2, XP = 3, YP = 12, YN = 8 } }