|
@@ -72,7 +72,7 @@ namespace OTSModelSharp
|
|
|
paras[8].Value = xrayPos.X;
|
|
|
paras[9].Value = xrayPos.Y;
|
|
|
|
|
|
- paras[10].Value = a_pParticle.GetClassifyId();
|
|
|
+ paras[10].Value = a_pParticle.GetFeretDiameter();
|
|
|
paras[11].Value = (int)(a_pParticle.GetFeature().GetSegmentsList().Count);
|
|
|
paras[12].Value = fldPos.X;
|
|
|
paras[13].Value = fldPos.Y;
|
|
@@ -85,7 +85,7 @@ namespace OTSModelSharp
|
|
|
paras[20].Value = a_pParticle.GetDINSCR();
|
|
|
paras[21].Value = a_pParticle.GetDMEAN();
|
|
|
paras[22].Value = a_pParticle.GetDELONG();
|
|
|
- paras[23].Value = a_pParticle.GetFeretDiameter();
|
|
|
+ paras[23].Value = a_pParticle.GetClassifyId();
|
|
|
paras[24].Value = a_pParticle.GetTypeName();
|
|
|
paras[25].Value = a_pParticle.GetTypeColor();
|
|
|
paras[26].Value = semPos.X;
|
|
@@ -119,7 +119,7 @@ namespace OTSModelSharp
|
|
|
COTSParticleClr p = new COTSParticleClr();
|
|
|
p.SetFieldId(fld.GetId());
|
|
|
p.SetTagId(Convert.ToInt32(allRecords.Rows[i][(int)CIncADataTable.ColumnID.N_PARTICLE_ID]));
|
|
|
- p.SetType(Convert.ToInt32(allRecords.Rows[i][(int)CIncADataTable.ColumnID.N_TYPE_ID]));
|
|
|
+
|
|
|
int top = Convert.ToInt32(allRecords.Rows[i][(int)CIncADataTable.ColumnID.N_RECT_TOP]);
|
|
|
int left = Convert.ToInt32(allRecords.Rows[i][(int)CIncADataTable.ColumnID.N_RECT_LEFT]);
|
|
|
int width = Convert.ToInt32(allRecords.Rows[i][(int)CIncADataTable.ColumnID.N_RECT_WIDTH]);
|
|
@@ -139,6 +139,10 @@ namespace OTSModelSharp
|
|
|
p.SetDELONG(Convert.ToInt32(allRecords.Rows[i][(int)CIncADataTable.ColumnID.F_DELONG]));
|
|
|
p.SetDPRIMETER(Convert.ToInt32(allRecords.Rows[i][(int)CIncADataTable.ColumnID.F_PERIMETER]));
|
|
|
p.SetORIENTATION(Convert.ToInt32(allRecords.Rows[i][(int)CIncADataTable.ColumnID.F_ORIENTATION]));
|
|
|
+
|
|
|
+ p.SetFeretDiameter(Convert.ToInt32(allRecords.Rows[i][(int)CIncADataTable.ColumnID.F_DFERET]));
|
|
|
+
|
|
|
+ p.SetType(Convert.ToInt32(allRecords.Rows[i][(int)CIncADataTable.ColumnID.N_TYPE_ID]));
|
|
|
p.SetTypeName(allRecords.Rows[i][(int)CIncADataTable.ColumnID.S_NAME].ToString());
|
|
|
p.SetTypeColor(allRecords.Rows[i][(int)CIncADataTable.ColumnID.S_COLOR].ToString());
|
|
|
ps.Add(p);
|
|
@@ -152,7 +156,7 @@ namespace OTSModelSharp
|
|
|
COTSParticleClr p = new COTSParticleClr();
|
|
|
p.SetFieldId(fld.GetId());
|
|
|
p.SetTagId(Convert.ToInt32(allRecords.Rows[i][(int)CIncADataTable.ColumnID.N_PARTICLE_ID]));
|
|
|
- p.SetType(Convert.ToInt32(allRecords.Rows[i][(int)CIncADataTable.ColumnID.N_TYPE_ID]));
|
|
|
+
|
|
|
int top = Convert.ToInt32(allRecords.Rows[i][(int)CIncADataTable.ColumnID.N_RECT_TOP]);
|
|
|
int left = Convert.ToInt32(allRecords.Rows[i][(int)CIncADataTable.ColumnID.N_RECT_LEFT]);
|
|
|
int width = Convert.ToInt32(allRecords.Rows[i][(int)CIncADataTable.ColumnID.N_RECT_WIDTH]);
|
|
@@ -171,6 +175,9 @@ namespace OTSModelSharp
|
|
|
p.SetDELONG(Convert.ToInt32(allRecords.Rows[i][(int)CIncADataTable.ColumnID.F_DELONG]));
|
|
|
p.SetDPRIMETER(Convert.ToInt32(allRecords.Rows[i][(int)CIncADataTable.ColumnID.F_PERIMETER]));
|
|
|
p.SetORIENTATION(Convert.ToInt32(allRecords.Rows[i][(int)CIncADataTable.ColumnID.F_ORIENTATION]));
|
|
|
+ p.SetFeretDiameter(Convert.ToInt32(allRecords.Rows[i][(int)CIncADataTable.ColumnID.F_DFERET]));
|
|
|
+
|
|
|
+ p.SetType(Convert.ToInt32(allRecords.Rows[i][(int)CIncADataTable.ColumnID.N_TYPE_ID]));
|
|
|
p.SetTypeName(allRecords.Rows[i][(int)CIncADataTable.ColumnID.S_NAME].ToString());
|
|
|
p.SetTypeColor(allRecords.Rows[i][(int)CIncADataTable.ColumnID.S_COLOR].ToString());
|
|
|
ps.Add(p);
|