From 8cbf4a6b9f334246d88c8101ae3db9a21f1bab3f Mon Sep 17 00:00:00 2001
From: patrick.xu <patrick.xu@broconcentric.com>
Date: 星期三, 28 四月 2021 11:40:08 +0800
Subject: [PATCH] Merge branch 'master' of http://gitblit.broconcentric.com:8088/r/M071

---
 src/Bro.Common.Model/Model/LaserScanParam.cs |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/src/Bro.Common.Model/Model/LaserScanParam.cs b/src/Bro.Common.Model/Model/LaserScanParam.cs
index a7eb899..8c42409 100644
--- a/src/Bro.Common.Model/Model/LaserScanParam.cs
+++ b/src/Bro.Common.Model/Model/LaserScanParam.cs
@@ -1,4 +1,5 @@
-锘縰sing System;
+锘縰sing Bro.Common.Helper;
+using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
@@ -6,7 +7,7 @@
 
 namespace Bro.Common.Model
 {
-    public class LaserScanParam
+    public class LaserScanParam : IComplexDisplay
     {
         public int Resolution_X { get; set; }
         public int Resolution_Y { get; set; }
@@ -17,5 +18,15 @@
         public int Offset_Z { get; set; }
 
         public int Angle_Z { get; set; }
+
+        public override string ToString()
+        {
+            return GetDisplayText();
+        }
+
+        public string GetDisplayText()
+        {
+            return $"Resolution:{Resolution_X},{Resolution_Y},{Resolution_Z}; Offset:{Offset_X},{Offset_Y},{Offset_Z}; Angel_Z:{Angle_Z}";
+        }
     }
 }

--
Gitblit v1.8.0