From beb0f2c826515c0a2abc9ee6eb296dd5d7199b3a Mon Sep 17 00:00:00 2001
From: xcd <834800634@qq.com>
Date: 星期一, 06 七月 2020 13:24:44 +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..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