123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link type="text/css" rel="stylesheet" href="ytWeb.css" />
- <script type="text/javascript" src="jQuery/jquery-1.8.3.min.js"></script>
- <script type="text/javascript" src="setup.js"></script>
- </head>
- <body style="font-size:16px;" onload="get_data()">
- <div id="main_div" class="main_div">
- <div id="time_label" class="time_label"></div>
- <div id="app_tab" class="app_tab on_tab" onclick="settab(1)">应用设置</div>
- <div id="sys_tab" class="sys_tab" onclick="settab(2)">系统设置</div>
- <div id="pno_tab" class="pno_tab" onclick="settab(3)">点位设置</div>
- <div id="ef_tab" class="ef_tab" onclick="settab(4)">告警参数</div>
- <div id="app_set" class="app_set">
- <div id="param_label_0" style="position:absolute;top:10px;left:-20px;width:140px;text-align:right;height:30px;color:#fff;">终端编号:</div>
- <input id="param_value_0" style="position:absolute;top:10px;left:140px;width:80px;height:20px;" value=""/>
- <div id="param_label_1" style="position:absolute;top:10px;left:360px;width:140px;text-align:right;height:30px;color:#fff;">计防设备ID:</div>
- <input id="param_value_1" style="position:absolute;top:10px;left:520px;width:200px;height:20px;" value=""/>
- <div id="param_label_2" style="position:absolute;top:50px;left:-20px;width:140px;text-align:right;height:30px;color:#fff;">计防应用Key:</div>
- <input id="param_value_2" style="position:absolute;top:50px;left:140px;width:240px;height:20px;" value=""/>
- <div id="param_label_3" style="position:absolute;top:50px;left:360px;width:140px;text-align:right;height:30px;color:#fff;">计防设备接口:</div>
- <input id="param_value_3" style="position:absolute;top:50px;left:520px;width:200px;height:20px;" value=""/>
- <div id="param_label_4" style="position:absolute;top:90px;left:-20px;width:140px;text-align:right;height:30px;color:#fff;">计防转发ID:</div>
- <input id="param_value_4" style="position:absolute;top:90px;left:140px;width:240px;height:20px;" value=""/>
- <div id="param_label_5" style="position:absolute;top:90px;left:360px;width:140px;text-align:right;height:30px;color:#fff;">计防转发Key:</div>
- <input id="param_value_5" style="position:absolute;top:90px;left:520px;width:200px;height:20px;" value=""/>
- <div id="param_label_6" style="position:absolute;top:130px;left:-20px;width:140px;text-align:right;height:30px;color:#fff;">计防应用使能:</div>
- <input id="param_value_6" style="position:absolute;top:130px;left:140px;width:20px;height:20px;" type="checkbox" value="0"/>
- <div id="param_label_7" style="position:absolute;top:130px;left:200px;width:140px;text-align:right;height:30px;color:#fff;">计防转发使能:</div>
- <input id="param_value_7" style="position:absolute;top:130px;left:360px;width:20px;height:20px;" type="checkbox" value="0"/>
- <input id="button_1" style="position:absolute;top:130px;left:450px;width:60px;height:30px;" type="button" value="重置" onclick="get_data()"/>
- <input id="button_2" style="position:absolute;top:130px;left:520px;width:60px;height:30px;" type="button" value="修改" onclick="save_data()"/>
- <input id="button_3" style="position:absolute;top:130px;left:590px;width:60px;height:30px;" type="button" value="应用" onclick="restart()"/>
- <input id="button_4" style="position:absolute;top:130px;left:660px;width:60px;height:30px;" type="button" value="重启" onclick="reboot()"/>
- <div id="devlist" class="devlist">
- </div>
- </div>
- <div id="sys_set" class="sys_set">
- <div id="sys_label_0" style="position:absolute;top:50px;left:-20px;width:140px;text-align:right;height:30px;color:#fff;">主机IP:</div>
- <input id="sys_value_0" style="position:absolute;top:50px;left:140px;width:180px;height:20px;" value=""/>
- <input id="button_15" style="position:absolute;top:50px;left:360px;width:60px;height:30px;" type="button" value="复核" onclick="chk_ip()"/>
- <div id="sys_label_1" style="position:absolute;top:90px;left:-20px;width:140px;text-align:right;height:30px;color:#fff;">网关地址:</div>
- <input id="sys_value_1" style="position:absolute;top:90px;left:140px;width:180px;height:20px;" value=""/>
- <div id="sys_label_2" style="position:absolute;top:130px;left:-20px;width:140px;text-align:right;height:30px;color:#fff;">网络掩码:</div>
- <input id="sys_value_2" style="position:absolute;top:130px;left:140px;width:180px;height:20px;" value=""/>
- <div id="sys_label_3" style="position:absolute;top:170px;left:-20px;width:140px;text-align:right;height:30px;color:#fff;">Mac编号:</div>
- <input id="sys_value_3" style="position:absolute;top:170px;left:140px;width:220px;height:20px;" value=""/>
- <input id="button_5" style="position:absolute;top:260px;left:450px;width:60px;height:30px;" type="button" value="重置" onclick="get_data()"/>
- <input id="button_6" style="position:absolute;top:260px;left:520px;width:60px;height:30px;" type="button" value="修改" onclick="save_value()"/>
- <input id="button_7" style="position:absolute;top:260px;left:590px;width:60px;height:30px;" type="button" value="应用" onclick="restart()"/>
- <input id="button_8" style="position:absolute;top:260px;left:660px;width:60px;height:30px;" type="button" value="重启" onclick="reboot()"/>
- </div>
- <div id="pno_set" class="pno_set">
- </div>
- <div id="ef_set" class="ef_set">
- <div id="ef_label_0" style="position:absolute;top:50px;left:-20px;width:140px;text-align:right;height:30px;color:#fff;">温度告警:</div>
- <input id="ef_value_0" style="position:absolute;top:50px;left:140px;width:180px;height:20px;" value=""/>
- <input id="button_12" style="position:absolute;top:50px;left:360px;width:60px;height:30px;" type="button" value="修改" onclick="save_ef(1)"/>
- <div id="ef_label_1" style="position:absolute;top:90px;left:-20px;width:140px;text-align:right;height:30px;color:#fff;">过流告警:</div>
- <input id="ef_value_1" style="position:absolute;top:90px;left:140px;width:180px;height:20px;" value=""/>
- <input id="button_13" style="position:absolute;top:90px;left:360px;width:60px;height:30px;" type="button" value="修改" onclick="save_ef(2)"/>
- <div id="ef_label_2" style="position:absolute;top:130px;left:-20px;width:140px;text-align:right;height:30px;color:#fff;">过压告警:</div>
- <input id="ef_value_2" style="position:absolute;top:130px;left:140px;width:180px;height:20px;" value=""/>
- <input id="button_13" style="position:absolute;top:130px;left:360px;width:60px;height:30px;" type="button" value="修改" onclick="save_ef(3)"/>
- <div id="ef_label_3" style="position:absolute;top:170px;left:-20px;width:140px;text-align:right;height:30px;color:#fff;">低压告警:</div>
- <input id="ef_value_3" style="position:absolute;top:170px;left:140px;width:180px;height:20px;" value=""/>
- <input id="button_14" style="position:absolute;top:170px;left:360px;width:60px;height:30px;" type="button" value="修改" onclick="save_ef(4)"/>
- <div id="ef_label_4" style="position:absolute;top:210px;left:-20px;width:140px;text-align:right;height:30px;color:#fff;">漏电告警:</div>
- <input id="ef_value_4" style="position:absolute;top:210px;left:140px;width:180px;height:20px;" value=""/>
- <input id="button_15" style="position:absolute;top:210px;left:360px;width:60px;height:30px;" type="button" value="修改" onclick="save_ef(5)"/>
- <input id="button_9" style="position:absolute;top:260px;left:520px;width:60px;height:30px;" type="button" value="重置" onclick="get_data()"/>
- <input id="button_10" style="position:absolute;top:260px;left:590px;width:60px;height:30px;" type="button" value="应用" onclick="restart()"/>
- <input id="button_11" style="position:absolute;top:260px;left:660px;width:60px;height:30px;" type="button" value="重启" onclick="reboot()"/>
- </div>
- </div>
- <div id="dialog" class="dialog">
- <div id="devform" class="devform">
- <div id="dev_form_title" style="position:absolute; top:50px; left:20px;width:460px; text-align:center;color:#fff;">计防系统转发设备信息配置</div>
- <input id="dev_param_0" type="hidden" value="-1"/>
- <div id="dev_label_1" style="position:absolute; top:120px; left:20px; width:140px; text-align:right;color:#fff;">物联网编号:</div>
- <input id="dev_param_1" style="position:absolute; top:120px; left:190px; width:240px;height:20px;" value=""/>
- <div id="dev_label_2" style="position:absolute; top:170px; left:20px; width:140px; text-align:right;color:#fff;">计防设备编号:</div>
- <input id="dev_param_2" style="position:absolute; top:170px; left:190px; width:240px;height:20px;" value=""/>
- <div id="dev_label_3" style="position:absolute; top:220px; left:20px; width:140px; text-align:right;color:#fff;">设备类型:</div>
- <select id="dev_param_3" style="position:absolute; top:220px; left:190px; width:240px;height:20px;" value="0">
- <option value="0">未设置</option>
- <option value="1">用水数据采集装置</option>
- <option value="2">紧急(求助)按钮</option>
- <option value="3">电气火灾监控探测器</option>
- <option value="4">智慧用电探测器</option>
- <option value="5">可燃气体探测器</option>
- <option value="6">火灾探测器</option>
- <option value="7">门体开启状态探测装置</option>
- <option value="8">二次供水探测装置(井盖)</option>
- <option value="9">二次供水探测装置(含水位告警)</option>
- <option value="10">窨井盖探测装置</option>
- <option value="11">窨井盖探测装置(含水位告警)</option>
- <option value="12">消防占道探测装置</option>
- <option value="13">电梯运行采集探测装置</option>
- <option value="14">水质监测采集探测装置</option>
- <option value="15">室内消火栓</option>
- <option value="16">室外消火栓</option>
- <option value="17">喷淋水压探测器</option>
- <option value="18">水泵探测装置</option>
- </select>
- <input id="button_5" style="position:absolute;top:280px;left:190px;width:60px;height:30px;" type="button" value="重置" onclick="reset_dev()"/>
- <input id="button_6" style="position:absolute;top:280px;left:370px;width:60px;height:30px;" type="button" value="确定" onclick="save_dev()"/>
- </div>
- </div>
- <div id="dialog2" class="dialog2">
- <div id="pnoform" class="pnoform">
- <div id="pno_form_title" style="position:absolute; top:50px; left:20px;width:460px; text-align:center;color:#fff;">监控点位信息配置</div>
- <input id="pno_param_0" type="hidden" value="-1"/>
- <input id="pno_param_1" type="hidden" value="-1"/>
- <div id="pno_label_2" style="position:absolute; top:90px; left:20px; width:140px; text-align:right;color:#fff;">监控点位名称:</div>
- <div id="pno_param_2" style="position:absolute; top:90px; left:190px; width:240px;height:20px;color:#fff;"></div>
- <div id="pno_label_3" style="position:absolute; top:130px; left:20px; width:140px; text-align:right;color:#fff;">点位类型:</div>
- <select id="pno_param_3" style="position:absolute; top:130px; left:190px; width:240px;height:20px;" onchange="typechange()" value="0">
- <option value="0">不监控</option>
- <option value="1">开关量输入</option>
- <option value="2">模拟量输入</option>
- <option value="3">开关量输出</option>
- <option value="4">模拟量输出</option>
- </select>
- <div id="pno_label_4" style="position:absolute; top:170px; left:20px; width:140px; text-align:right;color:#fff;">数据类型:</div>
- <select id="pno_param_4" style="position:absolute; top:170px; left:190px; width:240px;height:20px;" value="0">
- <option value="0">未设置</option>
- </select>
- <div id="pno_label_5" style="position:absolute; top:210px; left:20px; width:140px; text-align:right;color:#fff;">告警级别:</div>
- <select id="pno_param_5" style="position:absolute; top:210px; left:190px; width:240px;height:20px;" value="0">
- <option value="0">不告警</option>
- <option value="1">告警</option>
- </select>
- <div id="pno_label_6" style="position:absolute; top:250px; left:20px; width:140px; text-align:right;color:#fff;">告警上限:</div>
- <input id="pno_param_6" style="position:absolute; top:250px; left:190px; width:240px;height:20px;" value=""/>
- <div id="pno_label_7" style="position:absolute; top:290px; left:20px; width:140px; text-align:right;color:#fff;">告警下限:</div>
- <input id="pno_param_7" style="position:absolute; top:290px; left:190px; width:240px;height:20px;" value=""/>
- <input id="button_7" style="position:absolute;top:330px;left:230px;width:60px;height:30px;" type="button" value="重置" onclick="reset_pno()"/>
- <input id="button_8" style="position:absolute;top:330px;left:300px;width:60px;height:30px;" type="button" value="关闭" onclick="close_pno()"/>
- <input id="button_9" style="position:absolute;top:330px;left:370px;width:60px;height:30px;" type="button" value="确定" onclick="save_pno()"/>
- </div>
- </div>
- </body>
- </html>
|