Bladeren bron

删除颗粒排列图中 过大、过小、不在分析范围等无用显示行

CXS 4 jaren geleden
bovenliggende
commit
0e5c5c0d0c

+ 3 - 3
OTSIncAReportApp/Control_Graph/Controls/Control_DrawDistrbutionSortImage.cs

@@ -1188,15 +1188,15 @@ namespace OTSIncAReportGraph.Controls
             string str_stdname = "";
             string str_IncALibName = "";
 
-            List<int> FLID = new List<int>() { 0, 1, 2, 4, 6, 7, 8, 9 };
-            List<string> NameList = new List<string>() { "过小颗粒", "过大颗粒", "亮度不在分析范围内的颗粒", "低计数率颗粒", "不含分析元素的颗粒", "非夹杂物颗粒SiC", "非夹杂物颗粒FeO", "未识别颗粒" };
+            List<int> FLID = new List<int>() { 0, 1, 2, 4, 6, 9 };
+            List<string> NameList = new List<string>() { "过小颗粒", "过大颗粒", "亮度不在分析范围内的颗粒", "低计数率颗粒", "不含分析元素的颗粒", "未识别颗粒" };
 
             if (in_dparticle.STDTypeID < 1000)
             {
                 int index = FLID.IndexOf(in_dparticle.TypeId);
                 if (index == -1)
                 {
-                    index = 7;
+                    index = 5;
                 }
                 //小于1000,使用系统默认分类
                 str_IncALibName = NameList[index];

+ 1 - 1
OTSIncAReportApp/Control_Graph/OTSIncAReportGraphFuncation/OTSIncAReportFun.cs

@@ -1457,7 +1457,7 @@ namespace OTSIncAReportGraph.OTSIncAReportGraphFuncation
             if (fltype == 0)
             {
                 //NameList = new List<string>() { table["partcletype0"].ToString(), table["partcletype1"].ToString(), table["partcletype2"].ToString(), table["partcletype4"].ToString(), table["partcletype6"].ToString(), table["partcletype7"].ToString(), table["partcletype8"].ToString(), table["partcletype9"].ToString(), table["partcletype10"].ToString() };
-                NameList = new List<string>() { table["partcletype0"].ToString(), table["partcletype1"].ToString(), table["partcletype2"].ToString(), table["partcletype4"].ToString(), table["partcletype6"].ToString(), table["partcletype9"].ToString(), table["partcletype10"].ToString() };
+                NameList = new List<string>() {table["partcletype9"].ToString(), table["partcletype10"].ToString() };
             }
             if (fltype == 1)
             {