Skip to content

Commit 9e75051

Browse files
author
sven.ginka
committed
del: messagebox after setting modbus register
1 parent 3170ad2 commit 9e75051

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

EasyModbusAdvancedClient/EasyModbusManager.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,12 @@ public FunctionProperties FindPropertyFromGrid( int gridRow)
246246

247247
public void WriteToServer(FunctionProperties prop, int[] values)
248248
{
249+
/*
249250
string text = "";
250-
text += "property " + prop.StartingAdress + "\n" + "type " + prop.FunctionCodeWrite.ToString() + "\n" + "new value: " + prop.values.ToString() + "\n";
251+
text += "property " + prop.StartingAdress + "\n" + "type " + prop.FunctionCodeWrite.ToString() + "\n" + "new value: " + values.ToString() + "\n";
251252
text += "connection " + prop.Connection.ConnectionName;
252253
MessageBox.Show(text, "updating register");
254+
*/
253255

254256
int startingAddress = prop.StartingAdress;
255257
switch(prop.FunctionCodeWrite)

0 commit comments

Comments
 (0)