<!DOCTYPE html>
|
<html>
|
<head>
|
<meta charset="utf-8">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="renderer" content="webkit">
|
<meta http-equiv="Cache-Control" content="no-siteapp"/>
|
<title>智能机房管理平台-端口配置</title>
|
<link rel="shortcut icon" href="favicon.ico">
|
<link rel="stylesheet" type="text/css" href="./plugins/layui/css/layui.css"/>
|
<link rel="stylesheet" type="text/css" href="css/page/sys-port.css"/>
|
<style>
|
/*table 纵向滚动显示并隐藏滚动条*/
|
.table-tbody {
|
height: 340px;
|
overflow-y: scroll;
|
}
|
|
/*chrome 和Safari ----隐藏滚动条*/
|
.table-tbody::-webkit-scrollbar {
|
width: 0 !important;
|
}
|
|
/*IE 10+ ----隐藏滚动条*/
|
.table-tbody {
|
-ms-overflow-style: none;
|
}
|
|
/*Firefox ----隐藏滚动条*/
|
.table-tbody {
|
scrollbar-width: none;
|
}
|
</style>
|
</head>
|
|
<body>
|
<div class="i-container">
|
<div class="jmkt-main">
|
<div class="layui-col-space20">
|
<div class="layui-col-lg5 layui-col-md5">
|
<div class="pdgxq-m1-left pdgxq-m1-box">
|
<div style="margin: 10px;color: #FFFFFF;font-size: 16px;">
|
请选择需要启动的端口并配置相关参数
|
</div>
|
</div>
|
</div>
|
<div class="layui-col-lg7 layui-col-md7">
|
<div class="pdgxq-m1-right pdgxq-m1-box">
|
<div class="pdgxq-table jmkt-table-wrap">
|
<div>
|
<table class="layui-table pdgxq-table1" lay-skin="nob">
|
<colgroup>
|
<col width="12.5%">
|
<col width="12.5%">
|
<col width="12.5%">
|
<col width="12.5%">
|
<col width="12.5%">
|
<col width="12.5%">
|
<col width="12.5%">
|
<col width="12.5%">
|
</colgroup>
|
<thead>
|
<tr>
|
<th>串口</th>
|
<th>波特率</th>
|
<th>校验</th>
|
<th>数据位</th>
|
<th>停止位</th>
|
<th>超时时间</th>
|
<th>调度间隔</th>
|
<th>启用</th>
|
</tr>
|
</thead>
|
</table>
|
<table class="layui-table pdgxq-table1 table-tbody" lay-skin="nob" id="table">
|
<colgroup>
|
<col width="12.5%">
|
<col width="12.5%">
|
<col width="12.5%">
|
<col width="12.5%">
|
<col width="12.5%">
|
<col width="12.5%">
|
<col width="12.5%">
|
<col width="12.5%">
|
</colgroup>
|
<tbody id="tbody-data" style="text-align: left">
|
<tr>
|
<td>
|
<select id="no-1" class="f1" disabled>
|
<option value="1" selected>COM1</option>
|
<option value="2">COM2</option>
|
<option value="3">COM3</option>
|
<option value="4">COM4</option>
|
<option value="5">COM5</option>
|
<option value="6">COM6</option>
|
</select>
|
</td>
|
<td>
|
<select id="baudrate-1" class="f1">
|
<option value="115200">115200</option>
|
<option value="57600">57600</option>
|
<option value="38400">38400</option>
|
<option value="19200">19200</option>
|
<option value="9600" selected>9600</option>
|
<option value="4800">4800</option>
|
<option value="2400">2400</option>
|
</select>
|
</td>
|
<td>
|
<select id="parity-1" class="f1">
|
<option value="0">不校验</option>
|
<option value="1">奇校验</option>
|
<option value="2">偶校验</option>
|
</select>
|
</td>
|
<td>
|
<select id="databits-1" class="f1">
|
<option value="5">5</option>
|
<option value="6">6</option>
|
<option value="7">7</option>
|
<option value="8">8</option>
|
</select>
|
</td>
|
<td>
|
<select id="stopbits-1" class="f1">
|
<option value="1">1</option>
|
<option value="2">2</option>
|
</select>
|
</td>
|
<td>
|
<input id="timeout-1" class="f1" value="500">ms
|
</td>
|
<td>
|
<input id="pollTime-1" class="f1" value="1000">ms
|
</td>
|
<td>
|
<input id="vld-1" class="f2" type="checkbox" checked>
|
</td>
|
</tr>
|
</tbody>
|
</table>
|
</div>
|
<div style="height: 15px;border-top: 1px solid #444d58;"></div>
|
</div>
|
</div>
|
</div>
|
<div class="layui-col-lg5 layui-col-md5">
|
<div style="text-align: center">
|
<div class="layui-input-block btns" style="margin-left: 15px">
|
<button class="layui-btn layui-btn-normal" onclick="save()" style="width: 100px">保存</button>
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
|
</div>
|
</div>
|
|
<script src="./js/jquery.min.js"></script>
|
<!--<script src="./plugins/layui/layui.js"></script>-->
|
<script src="./js/page/sys-port.js"></script>
|
|
</body>
|
|
</html>
|