|
@@ -37,7 +37,6 @@ namespace OTSIncAReportGrids
|
|
|
private void ResultGrid_Load(object sender, EventArgs e)
|
|
|
{
|
|
|
BindGrid();
|
|
|
-
|
|
|
SetDataGridViewStyleIncLib();
|
|
|
|
|
|
}
|
|
@@ -144,7 +143,7 @@ namespace OTSIncAReportGrids
|
|
|
double filedsArea = Math.Round(high * wide * pixelSize* pixelSize* filedCount, 2);
|
|
|
int particleArea = fielddata.GetparticleArea();
|
|
|
|
|
|
- double ratio = particleArea / filedsArea;
|
|
|
+ double ratio = Math.Round(particleArea / filedsArea*1000,3);
|
|
|
int ScanFieldSize100 = Convert.ToInt32(((Dictionary<string, object>)((Dictionary<string, object>)((Dictionary<string, object>)resfile.ResultInfo["Sample"])["Members"])["SEMDataMsr"])["ScanFieldSize100"].ToString());
|
|
|
int ScanFieldSize = Convert.ToInt32(((Dictionary<string, object>)((Dictionary<string, object>)((Dictionary<string, object>)resfile.ResultInfo["Sample"])["Members"])["SEMDataMsr"])["ScanFieldSize"].ToString());
|
|
|
double Magnification = ScanFieldSize100 * 100 / ScanFieldSize;
|
|
@@ -178,8 +177,8 @@ namespace OTSIncAReportGrids
|
|
|
}
|
|
|
keyValues.Add(table["col6"].ToString(), LibraryName);
|
|
|
keyValues.Add(table["col7"].ToString(), fielddata.GetparticleCount().ToString());
|
|
|
- keyValues.Add(table["col8"].ToString(), filedsArea.ToString());
|
|
|
- keyValues.Add(table["col9"].ToString(), particleArea.ToString());
|
|
|
+ keyValues.Add(table["col8"].ToString() + "\x00B2)", filedsArea.ToString());
|
|
|
+ keyValues.Add(table["col9"].ToString()+ "\x00B2)", particleArea.ToString());
|
|
|
keyValues.Add(table["col10"].ToString(), ratio.ToString());
|
|
|
|
|
|
keyValues.Add(table["col11"].ToString(), sizestr);
|
|
@@ -252,7 +251,7 @@ namespace OTSIncAReportGrids
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
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");
|