|
@@ -13,7 +13,7 @@ namespace OTSModelSharp
|
|
|
{
|
|
|
|
|
|
}
|
|
|
- public void SaveAField(int fieldId,System.Drawing.Point fldPos)
|
|
|
+ public void SaveAField(int fieldId,System.Drawing.Point fldPos,System.Drawing.Point OTSPos)
|
|
|
{
|
|
|
var tableInfoPtr = GetTableInfo();
|
|
|
|
|
@@ -28,7 +28,7 @@ namespace OTSModelSharp
|
|
|
string sSQLCommand;
|
|
|
|
|
|
|
|
|
- sSQLCommand = string.Format(sInsertFormat, fieldId, fldPos.X, fldPos.Y);
|
|
|
+ sSQLCommand = string.Format(sInsertFormat, fieldId, fldPos.X, fldPos.Y,OTSPos.X,OTSPos.Y);
|
|
|
if (!datastorePtr.RunCommand(sSQLCommand))
|
|
|
{
|
|
|
|
|
@@ -38,7 +38,7 @@ namespace OTSModelSharp
|
|
|
|
|
|
return ;
|
|
|
}
|
|
|
- public string GetSavingAFieldcmd(int fieldId, System.Drawing.Point fldPos)
|
|
|
+ public string GetSavingAFieldcmd(int fieldId, System.Drawing.Point OTSPos,System.Drawing.Point SemPos)
|
|
|
{
|
|
|
|
|
|
var tableInfoPtr = GetTableInfo();
|
|
@@ -54,7 +54,7 @@ namespace OTSModelSharp
|
|
|
string sSQLCommand;
|
|
|
|
|
|
|
|
|
- sSQLCommand = string.Format(sInsertFormat, fieldId, fldPos.X, fldPos.Y);
|
|
|
+ sSQLCommand = string.Format(sInsertFormat, fieldId, OTSPos.X, OTSPos.Y,SemPos.X,SemPos.Y);
|
|
|
|
|
|
|
|
|
|