wewa00 / modbus-tk

Automatically exported from code.google.com/p/modbus-tk
Other
0 stars 0 forks source link

Patch to change the default value of the server address when adding a new master. #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This patch sets the default format for a TCP master to be 0.0.0.0.  It also 
changes the format back to 0 for a RTU master.  A jquery function was added to 
change format based on the selection of the dropdown box (TCP or RTU).

Please note, it requires jquery 1.4+.  I had to add some element ids in order 
for the jquery function to work properly.  I also changed the script source to 
reference jquery instead of a specific version.

The reason for this patch is that I was confused what went into the server 
address box when I first started looking at the web hmi.  I think this would 
help clear things up a bit for newcomers.

Original issue reported on code.google.com by idahog...@gmail.com on 30 Jun 2010 at 1:55

Attachments:

GoogleCodeExporter commented 8 years ago
I agree that this is a nice improvement. 

Thanks for your participation to the project :)

Original comment by luc.jean@gmail.com on 30 Jun 2010 at 4:58

GoogleCodeExporter commented 8 years ago
Fixed on rev 115. Please review it

Original comment by luc.jean@gmail.com on 30 Jun 2010 at 5:37