Преглед изворни кода

相似搜索添加lowcount颗粒

cxs пре 4 месеци
родитељ
комит
14f9b57175

+ 7 - 0
OTSIncAReportApp/1-UI/Control_Grids/ParticlesGridDevidePage/ListOfSimilarParticles.cs

@@ -617,6 +617,10 @@ namespace OTSIncAReportApp._1_UI.Control_Grids.ParticlesGridDevidePage
             {
                 return _particlesGridDevidePage.Particledata.GetInfoForPartucleDevidePage_analyticalParticle("");
             }
+            else if (_classifyid == 4)
+            {
+                return _particlesGridDevidePage.Particledata.GetInfoForPartucleDevidePage_LowCountsParticle("");
+            }
             return null;
         }
 
@@ -883,6 +887,9 @@ namespace OTSIncAReportApp._1_UI.Control_Grids.ParticlesGridDevidePage
 
 
 
+
+
+
         private void 从此颗粒之下取消选择ToolStripMenuItem_Click(object sender, EventArgs e)
         {
             var SelectRows = dgV_SimilarParticles.SelectedRows;

+ 8 - 0
OTSIncAReportApp/3-ServiceCenter/DataOperation/DataAccess/ParticleData.cs

@@ -660,6 +660,14 @@ namespace OTSIncAReportApp.DataOperation.DataAccess
             DT = dbHelper.ExecuteQuery(sqliteString);
             return DT;
         }
+        public DataTable GetInfoForPartucleDevidePage_LowCountsParticle(string condition)
+        {
+            string sqliteString = "select fieldid,particleid,AveGray,RectLeft,RectTop,RectWidth,RectHeight,Area,PosX,PosY,TypeId,SegmentNum,SEMPosX,SEMPosY,XrayId,DMAX,DMIN,DPERP,PERIMETER,ORIENTATION,DINSCR,DMEAN,DELONG,DFERET,TypeName,TypeColor,'' as Element from INcAData where typeid =4 " +
+                condition;
+            DataTable DT = new DataTable();
+            DT = dbHelper.ExecuteQuery(sqliteString);
+            return DT;
+        }
         public DataTable GetClassificationOfAllParticles(string condition)
         {
             string sqliteString1 = "select distinct TypeName from INcAData "+ condition;