领胜LDS 键盘AOI检测项目
wells.liu
2020-07-06 4823d6031b6081c4c25c2ada5e477a9118c549bf
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 int CurPosition { get; set; }
        /// <summary>
        /// 目的地
        /// </summary>
        public int Destination { get; set; }
        /// <summary>
        /// 当前速度参数
        /// </summary>
        public double CurVelocity { get; set; }
        /// <summary>
        /// 规划速度参数
        /// </summary>
        public double PrfVelocity { get; set; }
        /// <summary>
        /// 轴状态
        /// </summary>
        public int AxisStatus { get; set; }
        public string GetDisplayText()
        {
            return $"轴{AxisIndex}:{AxisName}-当前:{CurPosition}-规划:{Destination}";
        }
    }
    /// <summary>
    /// 运动对象
    /// </summary>
    public class MovingOption : INotifyPropertyChanged, IComplexDisplay