|
@@ -133,7 +133,7 @@ namespace OTSIncAReportGrids
|
|
|
double high = resfile.GetImageHeight();
|
|
|
|
|
|
double filedsArea = scanFieldSize * (scanFieldSize * high / wide) * filedCount;
|
|
|
- int particleArea = fielddata.GetparticleArea();
|
|
|
+ double particleArea = fielddata.GetparticleArea();
|
|
|
|
|
|
|
|
|
|
|
@@ -173,7 +173,7 @@ namespace OTSIncAReportGrids
|
|
|
keyValues.Add(table["col6"].ToString(), LibraryName);
|
|
|
keyValues.Add(table["col7"].ToString(), fielddata.GetparticleCount().ToString());
|
|
|
keyValues.Add(table["col8"].ToString() + "\x00B2)", filedsArea.ToString());
|
|
|
- keyValues.Add(table["col9"].ToString()+ "\x00B2)", particleArea.ToString());
|
|
|
+ keyValues.Add(table["col9"].ToString()+ "\x00B2)", String.Format("{0:f2}", particleArea));
|
|
|
keyValues.Add(table["col10"].ToString(), ratio.ToString());
|
|
|
|
|
|
//keyValues.Add(table["col11"].ToString(), sizestr);
|
|
@@ -231,7 +231,7 @@ namespace OTSIncAReportGrids
|
|
|
double high = resfile.GetImageHeight();
|
|
|
double pixelSize = resfile.GetPixelSize();
|
|
|
double filedsArea = Math.Round(high * wide * pixelSize * pixelSize * filedCount, 2);
|
|
|
- int particleArea = fielddata.GetparticleArea();
|
|
|
+ double particleArea = fielddata.GetparticleArea();
|
|
|
|
|
|
double ratio = particleArea / filedsArea;
|
|
|
|