| | |
| | | </head>
|
| | |
|
| | | <body class="pdgxq-body">
|
| | | <div class="i-container">
|
| | | <div class="i-container div-body">
|
| | |
|
| | | <div class="jmkt-main">
|
| | |
|
| | | <div class="layui-fluid">
|
| | | <div class="pdgxq-m1 layui-row layui-col-space20">
|
| | | <div class="layui-col-lg5 layui-col-md5">
|
| | | <div class="pdgxq-m1-left pdgxq-m1-box" style="height: 730px">
|
| | | <div class="pdgxq-m1-left pdgxq-m1-box" style="">
|
| | | <div class="pdgxq-H">
|
| | | <h3><i></i>实时监控</h3>
|
| | | </div>
|
| | |
| | | }
|
| | | html += "<tr><td>"+cur.name+"</td><td>"+str+"</td><td>"+time+"</td></tr>";
|
| | | }else{
|
| | | html += "<tr><td>"+cur.name+"</td><td>"+renderValue(device.id,device.type,cur.passcode,cur.value)+"</td><td>"+time+"</td></tr>";
|
| | | html += "<tr><td>"+cur.name+"</td><td>"+renderValue(device.id,device.type,cur)+"</td><td>"+time+"</td></tr>";
|
| | |
|
| | |
|
| | | //渲染列表
|
| | |
| | | }
|
| | | html += "<tr><td>"+cur.name+"</td><td>"+str+"</td><td>"+time+"</td></tr>";
|
| | | }else{
|
| | | html += "<tr><td>"+cur.name+"</td><td>"+renderValue(device.id,device.type,cur.passcode,cur.value)+"</td><td>"+time+"</td></tr>";
|
| | | html += "<tr><td>"+cur.name+"</td><td>"+renderValue(device.id,device.type,cur)+"</td><td>"+time+"</td></tr>";
|
| | |
|
| | | //渲染列表
|
| | | // html += "<tr><td>"+cur.name+"</td><td>"+(cur.value?cur.value:"")+"</td><td>"+time+"</td></tr>";
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | function renderValue(id,type,code,value) {
|
| | | var res = value;
|
| | | function renderValue(id,type,cur) {
|
| | | var res = cur.value;
|
| | |
|
| | | // if(type == "1001"){
|
| | | // if(code == 3 || code == 5){
|