Explorar el Código

删除无效codes

cxs hace 1 año
padre
commit
e2d5eb420a

+ 1 - 1
Bin/x64/Debug/Resources/XMLData/LanguageDefine.xml

@@ -1,4 +1,4 @@
 <?xml version="1.0" standalone="yes"?>
 <Language>
-  <DefaultLanguage>EN</DefaultLanguage>
+  <DefaultLanguage>ZH</DefaultLanguage>
 </Language>

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

@@ -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||