更新 index.html

This commit is contained in:
钟进 2019-01-16 04:46:29 +00:00
parent 9b7c05a4ec
commit bd5db49e98

View File

@ -1147,103 +1147,6 @@
<div class="logo">ModBus</div>
<img src="img/plc_back.png" class="back_image">
<table class="ui-widget-content" style="z-index: 2;margin-top: 60px; border: 1px solid black; border-collapse: collapse; ">
<tr style="border-bottom: 1px solid black;text-align: center " class="ui-widget-header">
<td colspan="2" class="translate">Connection parameters:</td>
</tr>
<tr>
<td style="width: 200px"><label class="translate" for="modbus_type">TCP/Serial RTU:</label></td>
<td style="width: 200px">
<select class="modbus-params" id="modbus_type" style="width: 100%;">
<option value="tcp" class="translate">TCP</option>
<option value="serial" class="translate">Serial</option>
<option value="tcprtu" class="translate">RTU over TCP</option>
</select>
</td>
</tr>
<tr class="tcp tcprtu">
<td style="width: 200px"><label class="translate" for="modbus_bind">Partner IP Address:</label></td>
<td style="width: 200px"><input class="modbus-params" id="modbus_bind" style="width: 100%;"/></td>
</tr>
<tr class="tcp tcprtu">
<td><label class="translate" for="modbus_port">Port:</label></td>
<td><input class="modbus-params" id="modbus_port" type="text" style="width: 100%;"/></td>
</tr>
<tr class="serial">
<td><label class="translate" for="modbus_comName">Port:</label></td>
<td><select class="modbus-params" id="modbus_comName" style="width: 100%;"></select></td>
</tr>
<tr class="serial">
<td><label for="modbus_baudRate" class="translate">Baud rate:</label></td>
<td><select class="modbus-params" id="modbus_baudRate" style="width: 100%;">
<option value="110">110</option>
<option value="150">150</option>
<option value="300">300</option>
<option value="600">600</option>
<option value="1200">1200</option>
<option value="2400">2400</option>
<option value="4800">4800</option>
<option value="9600">9600</option>
<option value="19200">19200</option>
<option value="38400">38400</option>
<option value="56000">56000</option>
<option value="57600">57600</option>
<option value="115200">115200</option>
</select>
</td>
</tr>
<tr class="serial">
<td><label for="modbus_dataBits" class="translate">Data bits:</label></td>
<td><select class="modbus-params" id="modbus_dataBits" style="width: 100%;">
<option value="8">8</option>
<option value="7">7</option>
<option value="6">6</option>
<option value="5">5</option>
</select>
</td>
</tr>
<tr class="serial">
<td><label for="modbus_stopBits" class="translate">Stop bits:</label></td>
<td><select class="modbus-params" id="modbus_stopBits" style="width: 100%;">
<option value="1">1</option>
<option value="2">2</option>
</select>
</td>
</tr>
<tr class="serial">
<td><label for="modbus_parity" class="translate">Parity:</label></td>
<td><select class="modbus-params" id="modbus_parity" style="width: 100%;">
<option value="none">none</option>
<option value="even">even</option>
<option value="mark">mark</option>
<option value="odd">odd</option>
<option value="space">space</option>
</select>
</td>
</tr>
<tr>
<td><label class="translate" for="modbus_deviceId">Device ID:</label></td>
<td><input class="modbus-params" id="modbus_deviceId" type="text" style="width: 100%;"/></td>
</tr>
<tr id="multiDeviceId">
<td><label class="translate" for="modbus_multiDeviceId">Multi device IDs:</label></td>
<td><input class="modbus-params" id="modbus_multiDeviceId" type="checkbox"/></td>
</tr>
<tr>
<td><label class="translate" for="modbus_slave">Type:</label></td>
<td>
<select class="modbus-params" id="modbus_slave" style="width: 100%;">
<option value="0" class="translate">Master</option>
<option value="1" class="translate">Slave</option>
</select>
</td>
</tr>
<tr>
<td colspan="2" style="height: 10px"></td>
</tr>
</table>
<table class="ui-widget-content" style="z-index: 2;margin-top: 20px; border-collapse: collapse; display: inline; border: 1px solid black;">
<tr>
<td style="text-align: center" colspan="3" class="ui-widget-header translate">General</td>