Selaa lähdekoodia

修改 IMeasureHardware.cs

CXS 5 vuotta sitten
vanhempi
commit
cd2c374d1f
1 muutettua tiedostoa jossa 14 lisäystä ja 1 poistoa
  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;
+        }
+    };
 }