Skip to content

Commit 7c132d7

Browse files
committed
fix a bug
1 parent b4657e4 commit 7c132d7

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

SCADA/Example/BatchCoreTest.exe

512 Bytes
Binary file not shown.

SCADA/Program/BatchCoreService/DAService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ void OnValueChanged(object sender, ValueChangedEventArgs e)
12681268
DataHelper.Instance.ExecuteStoredProcedure("AddEventLog",
12691269
DataHelper.CreateParam("@StartTime", SqlDbType.DateTime, tag.TimeStamp),
12701270
DataHelper.CreateParam("@Source", SqlDbType.NVarChar, tag.ID.ToString(), 50),
1271-
DataHelper.CreateParam("@StartTime", SqlDbType.NVarChar, tag.ToString(), 50));
1271+
DataHelper.CreateParam("@Comment", SqlDbType.NVarChar, tag.ToString(), 50));
12721272
}
12731273

12741274
public HistoryData[] BatchRead(DataSource source, bool sync, params ITag[] itemArray)

0 commit comments

Comments
 (0)