Browse Source

Add the detected field of view area to the overview of the measurement results

cxs 1 week ago
parent
commit
b0ac72748f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      OTSIncAReportApp/1-UI/Control_Grids/ResultGrid.cs

+ 2 - 2
OTSIncAReportApp/1-UI/Control_Grids/ResultGrid.cs

@@ -159,14 +159,14 @@ namespace OTSIncAReportGrids
                     break;
                 }
             }
-            //double filedsAreadetected = scanFieldSize * (scanFieldSize * high / wide) * filedCount;
+            double filedsAreadetected = scanFieldSize * (scanFieldSize * high / wide) * filedCount;
             double ratio = Math.Round(particleArea / (filedsArea * 1000000) *double.Parse(sizestr),3);
 
             keyValues.Add(table["col2"].ToString(), star.ToString("yyyy-MM-dd HH:mm:ss"));
             keyValues.Add(table["col3"].ToString(), end.ToString("yyyy-MM-dd HH:mm:ss"));
             keyValues.Add(table["col4"].ToString(), Math.Round(timeSpan.TotalMinutes, 2).ToString() + "mins");
             keyValues.Add(table["col5"].ToString(), filedCount.ToString());
-            //keyValues.Add(table["col20"].ToString(), Math.Round(filedsAreadetected/ 1000000, 1).ToString());
+            keyValues.Add(table["col20"].ToString(), Math.Round(filedsAreadetected/ 1000000, 1).ToString());
             keyValues.Add(table["col12"].ToString(), Math.Round(Magnification, 2).ToString());
 			string LibraryName = "";