|
@@ -194,26 +194,6 @@ namespace OTSIncAReportGrids
|
|
|
DateTime star = new DateTime();
|
|
|
DateTime end = new DateTime();
|
|
|
|
|
|
- //int filedCount = fielddata.GetFiledCount();
|
|
|
- //double wide = resfile.GetImageWidth();
|
|
|
- //double high = resfile.GetImageHeight();
|
|
|
- //double pixelSize = resfile.GetPixelSize();
|
|
|
- //double filedsArea = Math.Round(high * wide * pixelSize * pixelSize * filedCount, 2);
|
|
|
- //int particleArea = fielddata.GetparticleArea();
|
|
|
- //string xmlpath = Application.StartupPath + RptConfigFile.m_ReportMgrParamFile;
|
|
|
- //DataSet ds = XMLoperate.GetXmlData(xmlpath, "XMLData");
|
|
|
- //DataTable dt1 = ds.Tables["Member"];
|
|
|
- //string sizestr = "1000";
|
|
|
- //for (int i = 0; i < dt1.Rows.Count; i++)
|
|
|
- //{
|
|
|
- // if (dt1.Rows[i]["RegName"].ToString() == "Scale")
|
|
|
- // {
|
|
|
- // sizestr = dt1.Rows[i]["strValue"].ToString();
|
|
|
- // break;
|
|
|
- // }
|
|
|
- //}
|
|
|
- //double ratio = Math.Round(particleArea / filedsArea * double.Parse(sizestr), 3);
|
|
|
-
|
|
|
System.Globalization.DateTimeFormatInfo dtFormat = new System.Globalization.DateTimeFormatInfo();
|
|
|
dtFormat.ShortDatePattern = "dd/MM/yyyy hh:mm:ss";
|
|
|
|
|
@@ -233,7 +213,6 @@ namespace OTSIncAReportGrids
|
|
|
|
|
|
}
|
|
|
TimeSpan timeSpan = end - star;
|
|
|
- int all_FiledCount = resfile.GetTotalFields();
|
|
|
double Magnification = resfile.GetMeasurementMagnification();
|
|
|
int filedCount = fielddata.GetFiledCount();
|
|
|
|
|
@@ -266,6 +245,7 @@ namespace OTSIncAReportGrids
|
|
|
keyValues.Add(table["col4"].ToString(), Math.Round(timeSpan.TotalMinutes, 2).ToString() + "mins");
|
|
|
keyValues.Add(table["col5"].ToString(), filedCount.ToString());
|
|
|
|
|
|
+
|
|
|
string LibraryName = "";
|
|
|
string rstSTD = resfile.GetSTDName();
|
|
|
if ("NoSTDDB" == rstSTD||
|