浏览代码

fix issues when reclassification in cleanness mode.

gsp 1 年之前
父节点
当前提交
c44635af4d

+ 17 - 19
Bin/x64/Debug/Config/ReportTemplate/ReportTemplateConfig.xml

@@ -1,9 +1,10 @@
 <XmlConfig>
   <M_SY>
-    <str_tb_ZBT>Inca Report</str_tb_ZBT>
-    <str_tb_FBT>北满特钢</str_tb_FBT>
-    <str_tb_YPBH>0003</str_tb_YPBH>
-    <str_tb_CKBZ>GB30834</str_tb_CKBZ>
+    <str_tb_ZBT>Cleanness Report</str_tb_ZBT>
+    <str_tb_FBT>宁德时代</str_tb_FBT>
+    <str_tb_YPBH>0001</str_tb_YPBH>
+    <str_tb_CKBZ>
+    </str_tb_CKBZ>
     <b_ck_ypsm>True</b_ck_ypsm>
     <b_ck_jggk>True</b_ck_jggk>
     <str_bz>
@@ -12,15 +13,14 @@
     <int_xzkl>0</int_xzkl>
   </M_SY>
   <M_YMYJ>
-    <str_tb_ymwb>
-    </str_tb_ymwb>
+    <str_tb_ymwb>锂电异物分析报告</str_tb_ymwb>
     <str_tb_KHH>Copi0000123012</str_tb_KHH>
     <b_ck_ym>True</b_ck_ym>
-    <str_tb_yjwb>OTS夹杂物分析报告</str_tb_yjwb>
+    <str_tb_yjwb>OTS Result</str_tb_yjwb>
   </M_YMYJ>
   <M_KLFXJG>
     <b_ck_klcc_xsmk>True</b_ck_klcc_xsmk>
-    <index_cb_klcc_jsfs>0</index_cb_klcc_jsfs>
+    <index_cb_klcc_jsfs>3</index_cb_klcc_jsfs>
     <index_cb_klcc_ljb>0</index_cb_klcc_ljb>
     <index_cb_klcc_klfw>0</index_cb_klcc_klfw>
     <b_cb_jzwfl_xsmk>True</b_cb_jzwfl_xsmk>
@@ -28,10 +28,10 @@
     <index_cb_jzwfl_jsfs>0</index_cb_jzwfl_jsfs>
     <index_cb_jzwfl_ljb>0</index_cb_jzwfl_ljb>
     <index_cb_jzwfl_klfw>0</index_cb_jzwfl_klfw>
-    <str_cb_klcc_jsfs>DMAX</str_cb_klcc_jsfs>
+    <str_cb_klcc_jsfs>CIRCLE</str_cb_klcc_jsfs>
   </M_KLFXJG>
   <M_YSFXJG>
-    <b_ck_ysfx_xsmk>True</b_ck_ysfx_xsmk>
+    <b_ck_ysfx_xsmk>False</b_ck_ysfx_xsmk>
     <index_cb_yxfx_jsfs>0</index_cb_yxfx_jsfs>
     <index_cb_ysfx_klfw>0</index_cb_ysfx_klfw>
     <str_tb_ysfx_xsys>Al,Si,C,S,N,O,Fe,Ti,Mn,Mg,Ca,Ce,La</str_tb_ysfx_xsys>
@@ -60,7 +60,7 @@
     </list_str_tb_yscf_ysxx>
   </M_YSFXJG>
   <M_SYXT>
-    <b_ck_syxt_xsmk>True</b_ck_syxt_xsmk>
+    <b_ck_syxt_xsmk>False</b_ck_syxt_xsmk>
     <index_cb_syxt_jsfs>0</index_cb_syxt_jsfs>
     <index_cb_syxt_klfw>0</index_cb_syxt_klfw>
     <str_cb_syxt_mhxssl>2</str_cb_syxt_mhxssl>
@@ -108,21 +108,19 @@
     <str_cb_kllb_sort_p1>DMAX</str_cb_kllb_sort_p1>
     <b_ck_kllb_fjzt>True</b_ck_kllb_fjzt>
     <list_str_kllb_qcys>
-      <YS0>F</YS0>
-      <YS1>Fe</YS1>
-      <YS2>Cr</YS2>
     </list_str_kllb_qcys>
-    <str_kllb_qcys>F,Fe,Cr</str_kllb_qcys>
-    <str_kllb_DeleteClass>SiC</str_kllb_DeleteClass>
+    <str_kllb_qcys>
+    </str_kllb_qcys>
+    <str_kllb_DeleteClass>misc</str_kllb_DeleteClass>
     <list_str_kllb_DeleteClass>
-      <YS0>SiC</YS0>
+      <YS0>misc</YS0>
     </list_str_kllb_DeleteClass>
   </M_KLLBXX>
   <M_address>
     <Path>./Config/ReportTemplate/ReportTemplateConfig.xml</Path>
   </M_address>
   <M_JZWZB>
-    <b_ck_surface>True</b_ck_surface>
-    <b_ck_chart>True</b_ck_chart>
+    <b_ck_surface>False</b_ck_surface>
+    <b_ck_chart>False</b_ck_chart>
   </M_JZWZB>
 </XmlConfig>

+ 1 - 1
OTSCPP/OTSClassifyEngine/ParticleClassifyEngine.cpp

@@ -466,7 +466,7 @@ int ParticleClassifyEngine::GetAtomicNoBySortingPercentage(CString sortingNostr,
 		i++;
 	}
 	std::string NoStr = sortingNostr;
-	int No;
+	int No=10;
 	if (sortingNostr == "first_elem") No = 0;
 	if (sortingNostr == "second_elem") No = 1;
 	if (sortingNostr == "third_elem") No = 2;

+ 1 - 0
OTSCPP/OTSClassifyEngine/ParticleEngine/LogicExp.cpp

@@ -177,6 +177,7 @@ namespace expInterpreter {
 		{                                //ºó׺±í´ïʽÇóÖµ   
 			bool r = true;
 			char x, y, ans;
+			ans = 'F';
 			stack<char> s;
 			int n = q.size();
 			for (unsigned int i = 0; i < n; i++)

+ 1 - 1
OTSIncAMeasureApp/0-OTSModel/Measure/3-MeasureFlow/CMeasure.cs

@@ -310,7 +310,7 @@ namespace OTSModelSharp
                 CSmplMeasure pSmplMeasure;
                 if (!mapSmplMsr.ContainsKey(pSample.GetName()))
                 {// create a sample measure object for the sample
-                    switch (m_pProjData.m_systemTypeId)
+                    switch (m_pProjData.SystemTypeId)
                     {
                         case OTS_SysType_ID.IncA:
                             pSmplMeasure = new CSmplMeasureInclution(m_strWorkingFolder, pSample);

+ 65 - 196
OTSIncAMeasureApp/0-OTSModel/Measure/ParamData/COTSMsrPrjResultData.cs

@@ -51,10 +51,9 @@ namespace OTSModelSharp
         const String SMPL_MSR_RESULT_INCLUSION_FILE = "Inclusion.db";//put all the table in one db file so that report can make join query.
 
 
-        public otsdataconst.OTS_SysType_ID m_systemTypeId;
-
-
+        private otsdataconst.OTS_SysType_ID systemTypeId;
 
+        public OTS_SysType_ID SystemTypeId { get => systemTypeId; set => systemTypeId = value; }
 
         public COTSMsrPrjResultData()
         {
@@ -1200,110 +1199,7 @@ namespace OTSModelSharp
             return true;
         }
 
-        // get std file list, a_nPos = -1, current do not use any STD lib, a_nPos = 0, current use STD lib.
-        //public bool GetSTDFileList(ref int a_nPos, ref List<String> a_listSTDLibName)
-        //{
-
-
-        //    String a_strFolderName = m_GenParam.GetPartSTDLibFolderName();
-        //    if (a_strFolderName == "")
-        //    {
-
-        //        return false;
-        //    }
-
-        //    // lib name list
-        //    a_listSTDLibName.Clear();
-
-        //    // file list
-        //    List<String> listSTDFile = new List<string>();
-        //    listSTDFile.Clear();
-        //    const String STD_LIB_EXT = ".db";
-        //    // get file list
-        //    if (!GetFileNameList(a_strFolderName, STD_LIB_EXT, listSTDFile))
-        //    {
-
-        //        return false;
-        //    }
-
-        //    foreach (var file in listSTDFile)
-        //    {
-        //        //string fileName = file.Left(file.GetLength() - 3);
-        //        String fileName = file;
-        //        a_listSTDLibName.Add(fileName);
-        //    }
-
-        //    if (a_listSTDLibName.Count > -1)
-        //    {
-        //        string m_NoSTDDB = "NoSTDDB";
-        //        a_listSTDLibName.Add(m_NoSTDDB);
-        //    }
-
-        //    //before the use choose one STD, always should be null.
-        //    a_nPos = -1;
-
-        //    String sCurrentSTD;
-        //    CMeasureParam pCurrentParam;
-        //    COTSSample pSample = GetWorkingSample();
-        //    if (pSample == null)
-        //    {
-
-        //    }
-        //    else
-        //    {
-        //        pCurrentParam = pSample.GetMsrParams();
-        //        if (pCurrentParam == null)
-        //        {
-
-        //        }
-
-        //        //将当前使用的数据库的名字与下拉菜单的名字对应起来
-        //        sCurrentSTD = pCurrentParam.GetSTDName();
-        //        for (int i = 0; i < (int)a_listSTDLibName.Count; i++)
-        //        {
-        //            a_nPos++;
-        //            if (a_listSTDLibName[i].CompareTo(sCurrentSTD) == 0)
-        //                break;
-        //        }
-
-        //    }
-
-        //    return true;
-        //}
-
-        // get file name list in a folder
-        //public bool GetFileNameList(String a_strFolderName, String a_strFileType, List<String> a_listFileName)
-        //{
-
-        //    try
-        //    {
-            
-        //        string path = a_strFolderName;
-        //        List<string> lineStringList = new List<string>();//存储所有读取到的文件
-        //        DirectoryInfo[] dateDirArr = new DirectoryInfo(path).GetDirectories(); //取指定路径下的所有目录
-
-        //        string[] dir = Directory.GetDirectories(path); //文件夹列表   
-        //        DirectoryInfo fdir = new DirectoryInfo(path);
-        //        FileInfo[] files = fdir.GetFiles();
-        //        foreach (FileInfo file in files)
-        //        {
-        //            string extensionName = Path.GetExtension(file.FullName);
-        //            if (extensionName == a_strFileType)
-        //            {
-        //                string FileNameWithoutExtension = Path.GetFileNameWithoutExtension(file.FullName);
-        //                a_listFileName.Add(FileNameWithoutExtension);
-        //            }
-        //        }
-               
-        //    }
-        //    catch (Exception pe)
-        //    {
-        //        return false;
-        //    }
-
-        //    return true;
-
-        //}
+      
 
         static String FindFile(String filename, String path)
         {
@@ -1322,59 +1218,7 @@ namespace OTSModelSharp
             return null;
         }
 
-        //// change STD
-        //public bool ChangeSTDFromList(int a_nPos)
-        //{
-
-
-        //    String a_strFolderName = m_GenParam.GetPartSTDLibFolderName();
-        //    if (a_strFolderName == "")
-        //    {
-        //        return false;
-        //    }
-
-        //    // file list
-        //    List<String> listSTDFile = new List<string>();
-        //    listSTDFile.Clear();
-        //    const String STD_LIB_EXT = ".db";
-        //    // get file list
-        //    if (!GetFileNameList(a_strFolderName, STD_LIB_EXT, listSTDFile))
-        //    {
-
-        //        return false;
-        //    }
-
-        //    List<String> listSTDLibName = new List<string>();
-        //    listSTDLibName.Clear();
-
-        //    foreach (var file in listSTDFile)
-        //    {
-        //        //string fileName = file.Left(file.GetLength() - 3);
-        //        String fileName = file;
-        //        listSTDLibName.Add(fileName);
-        //    }
-        //    if (listSTDLibName.Count > 0)
-        //    {
-        //        listSTDLibName.Add("NoSTDDB");
-        //    }
-        //    if (a_nPos > (int)listSTDLibName.Count)
-        //    {
-        //        return false;
-        //    }
-        //    String STDName = listSTDLibName[a_nPos];
-
-        //    // updata STD to working sample
-        //    COTSSample pSample = GetWorkingSample();
-
-
-        //    CMeasureParam pParam = pSample.GetMsrParams();
-
-        //    pParam.SetSTDName(STDName);
-        //    pSample.SetMsrParams(pParam);
-
-        //    return true;
-
-        //}
+       
 
         // get measured sample list
         public bool GetMsredSampleList(ref List<COTSSample> a_listMsredSample)
@@ -1488,9 +1332,6 @@ namespace OTSModelSharp
                 }
                 
                 doc.Save(filename);
-
-                //get the steel technology parameter
-                STEEL_TECHNOLOGY steelTech = pMsrParam.GetSteelTechnology();
                 foreach (var fld in spl.GetFieldsData())
                 {
                     foreach (var part in fld.GetListAnalysisParticles())
@@ -1500,48 +1341,80 @@ namespace OTSModelSharp
                         part.SetTypeColor("#000000");
                     }
                 }
-
-
-                        var analysisparts = new List<COTSParticleClr>();
+                var analysisparts = new List<COTSParticleClr>();
                 var m_classifyEngine = new CClassifyEngine();
-                foreach (var fld in spl.GetFieldsData())
+                if (SystemTypeId == OTS_SysType_ID.IncA)
                 {
-                    foreach (var part in fld.GetListAnalysisParticles())
+                    //get the steel technology parameter
+                    STEEL_TECHNOLOGY steelTech = pMsrParam.GetSteelTechnology();
+                    if (spl.GetMsrParams().GetSysSTDSwitch())
                     {
-                        if (spl.GetMsrParams().GetSysSTDSwitch())
+                        if (stdFileName != "NoSTDDB.db")
                         {
-                            if (stdFileName != "NoSTDDB.db")
-                            {
-                              
-                             
-                                IClassifyEngine partEngine = m_classifyEngine.GetParticleEngine(stdFileName);
 
-                                if (!partEngine.Classify(part))
+                            foreach (var fld in spl.GetFieldsData())
+                            {
+                                foreach (var part in fld.GetListAnalysisParticles())
                                 {
 
-                                    NLog.LogManager.GetCurrentClassLogger().Error("1 failed to classify!"+ "Particle Engine");
+
+
+                                    IClassifyEngine partEngine = m_classifyEngine.GetParticleEngine(stdFileName);
+
+                                    if (!partEngine.Classify(part))
+                                    {
+
+                                        NLog.LogManager.GetCurrentClassLogger().Error("1 failed to classify!" + "Particle Engine");
+                                    }
+
+
+                                    if (part.GetType() == (int)OTS_PARTCLE_TYPE.NOT_IDENTIFIED)
+                                    {
+
+                                        IClassifyEngine incAEngine = m_classifyEngine.GetIncClassifyEngine();
+                                        if (!incAEngine.ClassifyIncA(part, (int)steelTech))
+                                        {
+
+                                            NLog.LogManager.GetCurrentClassLogger().Error("2 failed to classify!" + "IncA Engine");
+                                        }
+
+                                    }
+
                                 }
+                                analysisparts.AddRange(fld.GetListAnalysisParticles());
                             }
+                        }
+                    }
+                    else
+                    {
 
-                            if (part.GetType() == (int)OTS_PARTCLE_TYPE.NOT_IDENTIFIED)
+                        if (stdFileName != "NoSTDDB.db")
+                        {
+                            foreach (var fld in spl.GetFieldsData())
                             {
-
-
-                               
-                                IClassifyEngine incAEngine = m_classifyEngine.GetIncClassifyEngine();
-                                if (!incAEngine.ClassifyIncA(part, (int)steelTech))
+                                foreach (var part in fld.GetListAnalysisParticles())
                                 {
+                                    IClassifyEngine engine = m_classifyEngine.GetParticleEngine(stdFileName);
+                                    if (!engine.Classify(part))
+                                    {
 
-                                    NLog.LogManager.GetCurrentClassLogger().Error("2 failed to classify!" + "IncA Engine");
+                                        NLog.LogManager.GetCurrentClassLogger().Error("3 failed to classify!" + "Particle Engine");
+                                    }
                                 }
+                                analysisparts.AddRange(fld.GetListAnalysisParticles());
                             }
                         }
-                        else
+                    }
+
+                }
+                else if (SystemTypeId == OTS_SysType_ID.CleannessA)
+                {
+                    if (stdFileName != "NoSTDDB.db")
+                    {
+                        foreach (var fld in spl.GetFieldsData())
                         {
-                          
-                            if (stdFileName != "NoSTDDB.db")
+                            foreach (var part in fld.GetListAnalysisParticles())
                             {
-                               
                                 IClassifyEngine engine = m_classifyEngine.GetParticleEngine(stdFileName);
                                 if (!engine.Classify(part))
                                 {
@@ -1549,15 +1422,11 @@ namespace OTSModelSharp
                                     NLog.LogManager.GetCurrentClassLogger().Error("3 failed to classify!" + "Particle Engine");
                                 }
                             }
-                        }
-
+                            analysisparts.AddRange(fld.GetListAnalysisParticles());
 
+                        }
                     }
 
-                    analysisparts.AddRange(fld.GetListAnalysisParticles());
-
-
-
                 }
                 string strFieldFileSubFolder = strFilePath + "\\" + spl.GetName() + "\\" + SMPL_MSR_RESULT_FIELDS_FILE_SUBFOLDER;
 
@@ -1620,7 +1489,7 @@ namespace OTSModelSharp
             {
                 xProjMgrFileMark.AssignValue(0);
                 xProjMgrFileVersion.AssignValue("");
-                xSystype.AssignValue(m_systemTypeId.ToString());
+                xSystype.AssignValue(systemTypeId.ToString());
                 xstrPathName.AssignValue(m_strPathName);
                 xholeBSEImgs.Clear();
              
@@ -1645,11 +1514,11 @@ namespace OTSModelSharp
                 }
                 if(xSystype.value()== "IncA")
                 {
-                    m_systemTypeId = otsdataconst.OTS_SysType_ID.IncA;
+                    systemTypeId = otsdataconst.OTS_SysType_ID.IncA;
                 }
                 else 
                 {
-                    m_systemTypeId = otsdataconst.OTS_SysType_ID.CleannessA;
+                    systemTypeId = otsdataconst.OTS_SysType_ID.CleannessA;
                 }
             }
 

+ 8 - 14
OTSIncAMeasureApp/0-OTSModel/Measure/ParamData/OTSDefaultParam.cs

@@ -15,7 +15,7 @@ namespace OTSModelSharp
         protected static NLog.Logger logger = NLog.LogManager.GetCurrentClassLogger();
 
         // soft pack id
-        public otsdataconst.OTS_SysType_ID m_systemTypeId;
+        private otsdataconst.OTS_SysType_ID systemTypeId;
         public otsdataconst.RunMode m_runmode;
 
         // SEM stage data
@@ -57,20 +57,14 @@ namespace OTSModelSharp
         // measure switch
         const bool MEASURE_SWITCH = true;
 
-   
-
-   
-
-     
-
-   
-
         const String STR_COFIGPATH = "Config";
 
         const String STR_PROG_DATA = "ProData";
 
         const String STR_SYSTEM_DATA = "SysData";
 
+        public OTS_SysType_ID SystemTypeId { get => systemTypeId; set => systemTypeId = value; }
+
         public COTSDefaultParam()
         {
             Init();
@@ -116,11 +110,11 @@ namespace OTSModelSharp
 
         public string GetSysTypeName()
         {
-            return m_systemTypeId.ToString();
+            return systemTypeId.ToString();
         }
         public OTS_SysType_ID GetSysType()
         {
-            return m_systemTypeId;
+            return systemTypeId;
         }
 
         public RunMode GetRunMode()
@@ -272,7 +266,7 @@ namespace OTSModelSharp
             slo.Register("XrayParam", m_pXRayParam);
             if (isStoring)
             {
-                xSysType.AssignValue(m_systemTypeId.ToString());
+                xSysType.AssignValue(systemTypeId.ToString());
                 xRunMode.AssignValue(m_runmode.ToString());
                 slo.Serialize(true, classDoc, rootNode);
             }
@@ -283,10 +277,10 @@ namespace OTSModelSharp
                 switch (xSysType.value())
                 {
                     case "IncA":
-                        this.m_systemTypeId = OTS_SysType_ID.IncA;
+                        this.systemTypeId = OTS_SysType_ID.IncA;
                         break;
                     case "CleannessA":
-                        this.m_systemTypeId = OTS_SysType_ID.CleannessA;
+                        this.systemTypeId = OTS_SysType_ID.CleannessA;
                         break;
                     
                     default:

+ 2 - 2
OTSIncAMeasureApp/2-OTSMeasureParamManage/COTSMeasureParam.cs

@@ -201,7 +201,7 @@ namespace OTSMeasureApp
                 GetResultData().SetPathName("Untitled");             
             }
 
-            GetResultData().m_systemTypeId = GetDefaultParam().m_systemTypeId;
+            GetResultData().SystemTypeId = GetDefaultParam().SystemTypeId;
 
 
             return true;
@@ -353,7 +353,7 @@ namespace OTSMeasureApp
             CDomain pMsrArea = CalculateDefaultArea(pHole);
             // measure data parameters containing particle analysis std, image scan parameter, image process parameter and x-ray parameter 
             CSampleParam poMsrParams = new CSampleParam();
-            poMsrParams.m_nPackId = GetDefaultParam().m_systemTypeId;
+            poMsrParams.m_nPackId = GetDefaultParam().SystemTypeId;
             poMsrParams.m_runmode = GetDefaultParam().m_runmode;
             var m_pParam = GetDefaultParam().GetGenParam();
             MEMBRANE_TYPE a_nVal = (MEMBRANE_TYPE)m_pParam.GetMembraneType();

+ 1 - 1
OTSIncAMeasureApp/3-OTSDisplaySourceGridData/OTSPropertyWindow.cs

@@ -268,7 +268,7 @@ namespace OTSMeasureApp
             if(m_SampleGrid.m_ClickRow>=0 && m_SampleGrid.m_ClickColumn>=0)
             {
                 m_SampleGrid.SetGridTitleStatus();
-                if(m_MeasureAppForm.m_ProjData.m_systemTypeId == otsdataconst.OTS_SysType_ID.CleannessA )
+                if(m_MeasureAppForm.m_ProjData.SystemTypeId == otsdataconst.OTS_SysType_ID.CleannessA )
                 {
                     const int CleannessASysStopModeGridRowPos = 7;
                     if (m_SampleGrid.m_ClickRow == CleannessASysStopModeGridRowPos && m_SampleGrid.m_ClickColumn == 2)

+ 1 - 1
OTSIncAMeasureApp/5-OTSMeasureStatuImageFun/OTSMeasureStatusWindow.cs

@@ -1941,7 +1941,7 @@ namespace OTSMeasureApp
                 //更新属性窗口
                 m_MeasureAppForm.UpdatePropertyVal();
                 //确认后进行去背景
-                var m_systype = m_MeasureAppForm.m_ProjParam.GetResultData().m_systemTypeId;
+                var m_systype = m_MeasureAppForm.m_ProjParam.GetResultData().SystemTypeId;
                 if (m_systype == otsdataconst.OTS_SysType_ID.CleannessA)
                 {
                     ShowColoredRemoveBGImage();

+ 2 - 2
OTSIncAMeasureApp/OTSIncAMeasureAppForm.cs

@@ -177,11 +177,11 @@ namespace OTSMeasureApp
                         m_SamplepaceWindow.InitStageDisplay(m_ProjData.GetStage(),m_ProjData.GetSEMStageData());
 
                         //添加启动系统界面显示
-                        if (m_ProjParam.GetDefaultParam().m_systemTypeId == OTS_SysType_ID.IncA)
+                        if (m_ProjParam.GetDefaultParam().SystemTypeId == OTS_SysType_ID.IncA)
                         {
                             this.Text += "(Inclusion)";
                         }
-                        else if (m_ProjParam.GetDefaultParam().m_systemTypeId == OTS_SysType_ID.CleannessA)
+                        else if (m_ProjParam.GetDefaultParam().SystemTypeId == OTS_SysType_ID.CleannessA)
                         {
                             this.Text += "(Cleanness)";
                         }

+ 5 - 5
OTSIncAReportApp/1-UI/frmReMeasure.Designer.cs

@@ -412,7 +412,7 @@ namespace OTSIncAReportApp
             this.dgV_ParticlesDevidePage.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight;
             dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
             dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle1.Font = new System.Drawing.Font("SimSun", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
             dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
             dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
@@ -421,7 +421,7 @@ namespace OTSIncAReportApp
             this.dgV_ParticlesDevidePage.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
             dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
             dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
-            dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle2.Font = new System.Drawing.Font("SimSun", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
             dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
             dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
@@ -457,7 +457,7 @@ namespace OTSIncAReportApp
             this.dataGridView_success.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight;
             dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
             dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle3.Font = new System.Drawing.Font("SimSun", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
             dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
             dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
@@ -466,7 +466,7 @@ namespace OTSIncAReportApp
             this.dataGridView_success.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
             dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
             dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
-            dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle4.Font = new System.Drawing.Font("SimSun", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText;
             dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
             dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
@@ -487,7 +487,7 @@ namespace OTSIncAReportApp
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.ClientSize = new System.Drawing.Size(1092, 682);
+            this.ClientSize = new System.Drawing.Size(1092, 681);
             this.Controls.Add(this.tabControl_grid);
             this.Controls.Add(this.groupBox2);
             this.Controls.Add(this.groupBox_param);