From b016e35f170a6e1a98d39f125762f97af677fd20 Mon Sep 17 00:00:00 2001 From: wells.liu <wells.liu@broconcentric.com> Date: 星期一, 06 七月 2020 18:17:30 +0800 Subject: [PATCH] 板卡 运行 +操作界面 --- src/Bro.Common.Model/Model/MotionCardRelated.cs | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/src/Bro.Common.Model/Model/MotionCardRelated.cs b/src/Bro.Common.Model/Model/MotionCardRelated.cs index 0e5d746..c97e847 100644 --- a/src/Bro.Common.Model/Model/MotionCardRelated.cs +++ b/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 -- Gitblit v1.8.0