浏览代码

修改 IMeasureHardware.cs

CXS 5 年之前
父节点
当前提交
cd2c374d1f
共有 1 个文件被更改,包括 14 次插入1 次删除
  1. 14 1
      OTS/OTSModelSharp/MeasureControl/IMeasureHardware.cs

+ 14 - 1
OTS/OTSModelSharp/MeasureControl/IMeasureHardware.cs

@@ -7,7 +7,6 @@ using OTSDataType;
 using System.Drawing;
 namespace OTSIncAMeasureApp.OTSMeasureControl
 {
-
    public  interface IMeasureHardware
     {
         bool ConnectHardware();
@@ -59,5 +58,19 @@ namespace OTSIncAMeasureApp.OTSMeasureControl
         void SetQuantification(bool a_bQuantification);
         bool GetXRayByPoints(ref List<CPosXray> a_vXRayPoints,int a_nXRayAQTime);
         string GetName();
+        bool GetXRayByFeatures(ref List<CPosXray> a_listXRayPoints,ref List<List<BrukerSegment>> a_listFeatures,int a_nXRayAQTime);
     }
+
+    public struct BrukerSegment
+    {
+        public long Y;
+        public long XStart;
+        public long XCount;
+        public BrukerSegment(int Y1=0, int XStart1=0, long XCount1=1)// this default 1 for XCount is used by point list x-ray analysis
+        {
+            Y = Y1;
+            XStart = XStart1;
+            XCount = XCount1;
+        }
+    };
 }