领胜LDS 键盘AOI检测项目
wells.liu
2020-07-06 99587d3c26f5b952cb7dc87a56be91b08c5d277b
src/Bro.Common.Model/Model/MotionCardRelated.cs
@@ -193,6 +193,52 @@
    }
    /// <summary>
    /// 板卡运动状态对象
    /// </summary>
    public class AxisMovingStatus : IComplexDisplay
    {
        /// <summary>
        /// 轴索引
        /// </summary>
        public int AxisIndex { get; set; }
        /// <summary>
        /// 轴名称
        /// </summary>
        public string AxisName { get; set; }
        /// <summary>
        /// 运动模式
        /// </summary>
        public MotionMode MoveMode { get; set; }
        /// <summary>
        /// 当前位置
        /// </summary>
        public int CurPosition { get; set; }
        /// <summary>
        /// 目的地
        /// </summary>
        public int Destination { get; set; }
        /// <summary>
        /// 当前速度参数
        /// </summary>
        public VelocityPara CurVelocityPara { get; set; }
        /// <summary>
        /// 规划速度参数
        /// </summary>
        public VelocityPara VelocityPara { get; set; }
        public string GetDisplayText()
        {
            return $"轴{AxisIndex}:{AxisName}-{MoveMode.ToString()}-当前:{CurPosition}-规划:{Destination}";
        }
    }
    /// <summary>
    /// 运动对象
    /// </summary>
    public class MovingOption : INotifyPropertyChanged, IComplexDisplay