From 00ea1cd461d6d8d128d727f6a40edca75da9ccdd Mon Sep 17 00:00:00 2001
From: xcd <834800634@qq.com>
Date: 星期三, 08 七月 2020 16:38:46 +0800
Subject: [PATCH] 相机运行界面基类添加操作配置 gocator驱动修正长宽比例,输出进行复制插值处理 显示基元添加8个方向的拉伸和移动处理 标签基元实现3个方向的拉伸和移动

---
 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..757cb42 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 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

--
Gitblit v1.8.0