| | |
| | | public string AxisName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 运动模式 |
| | | /// </summary> |
| | | public MotionMode MoveMode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 当前位置 |
| | | /// </summary> |
| | | public int CurPosition { get; set; } |
| | |
| | | /// <summary> |
| | | /// 当前速度参数 |
| | | /// </summary> |
| | | public VelocityPara CurVelocityPara { get; set; } |
| | | public double CurVelocity { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 规划速度参数 |
| | | /// </summary> |
| | | public VelocityPara VelocityPara { get; set; } |
| | | public double PrfVelocity { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 轴状态 |
| | | /// </summary> |
| | | public int AxisStatus { get; set; } |
| | | |
| | | public string GetDisplayText() |
| | | { |
| | | return $"轴{AxisIndex}:{AxisName}-{MoveMode.ToString()}-当前:{CurPosition}-规划:{Destination}"; |
| | | return $"轴{AxisIndex}:{AxisName}-当前:{CurPosition}-规划:{Destination}"; |
| | | } |
| | | } |
| | | |