领胜LDS 键盘AOI检测项目
wells.liu
2020-07-06 d007fd8d64ff33a1edb960fa33cf2312a955d933
src/Bro.Common.Model/Model/MotionCardRelated.cs
@@ -193,6 +193,47 @@
    }
    /// <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; }
        public string GetDisplayText()
        {
            return $"轴{AxisIndex}:{AxisName}-当前:{CurPosition}-规划:{Destination}";
        }
    }
    /// <summary>
    /// 运动对象
    /// </summary>
    public class MovingOption : INotifyPropertyChanged, IComplexDisplay
@@ -216,11 +257,11 @@
            }
        }
        private MotorMoveMode moveMode = MotorMoveMode.Normal;
        private MotionMode moveMode = MotionMode.Normal;
        [Category("运动配置")]
        [DisplayName("运动模式")]
        [Description("MoveMode:运动模式")]
        public MotorMoveMode MoveMode
        public MotionMode MoveMode
        {
            get => moveMode;
            set