Browse Source

报告颗粒列表去Fe

cxs 3 years ago
parent
commit
375df08a61

+ 11 - 1
OTSIncAReportApp/3-ServiceCenter/DataOperation/DataAccess/ParticleData.cs

@@ -446,7 +446,17 @@ namespace OTSIncAReportApp.DataOperation.DataAccess
             }
             //particlesAll = GetInfoForPartucleDevidePage2("");
 
-            DataTable elementchemistry = GetElementChemistry();
+            //DataTable elementchemistry = GetElementChemistry();
+
+            DataTable dt_element = GetElementChemistry();
+            DataTable elementchemistry = dt_element.Clone();
+            for (int i = 0; i < dt_element.Rows.Count; i++)
+            {
+                if (dt_element.Rows[i]["Name"].ToString() != "Fe")
+                {
+                    elementchemistry.Rows.Add(dt_element.Rows[i].ItemArray);
+                }
+            }
             for (int i = 0; i < particlesAll.Rows.Count; i++)
             {
                 string str = "XRayId = " + particlesAll.Rows[i]["particleId"].ToString() + " and fieldid = " + particlesAll.Rows[i]["fieldid"].ToString();