领胜LDS 键盘AOI检测项目
patrick.xu
2021-04-28 96b6869bb20677f9b945f67c014a9b992ee05ac4
src/Bro.Common.Model/Model/LaserScanParam.cs
@@ -1,4 +1,5 @@
using System;
using 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}";
        }
    }
}