|
|
@@ -25,20 +25,13 @@ namespace OTSModelSharp
|
|
|
{
|
|
|
var tableInfoPtr = GetTableInfo();
|
|
|
var datastorePtr = GetDatastore();
|
|
|
- //Rectangle prec = (Rectangle)a_pParticle.GetParticleRect();
|
|
|
- //System.Drawing.Point pos = (System.Drawing.Point)a_pParticle.GetSEMPos();
|
|
|
+
|
|
|
|
|
|
System.Drawing.Rectangle rec = (System.Drawing.Rectangle)a_pParticle.GetParticleRect();
|
|
|
System.Drawing.Point xrayPos = (System.Drawing.Point)a_pParticle.GetXRayPos();
|
|
|
System.Drawing.Point semPos = (System.Drawing.Point)a_pParticle.GetSEMPos();
|
|
|
System.Drawing.Point otsfieldPos= (System.Drawing.Point)a_pParticle.GetFieldOTSPos();
|
|
|
- //int l = 0;
|
|
|
- //int t = 0;
|
|
|
- //int r = 0;
|
|
|
- //int b = 0;
|
|
|
- //a_pParticle.GetOTSRect(ref l, ref t, ref r, ref b);
|
|
|
- //COTSRect cOTSRect = new COTSRect(l,t,r,b);
|
|
|
- //System.Drawing.PointF otsPos=cOTSRect.GetCenterPoint();
|
|
|
+
|
|
|
String sInsertFormat = tableInfoPtr.GetInsertCommandFormatString(true);
|
|
|
var cmd = tableInfoPtr.GetInsertCommand(true);
|
|
|
|