|
南京兰鑫湿度看板
report.cfg中内容:
KB_LX.html
KB_LX.html
KB_LX.html
- <html>
- <head>
- <title>HTML</title>
- <meta http-equiv=Content-Type content=text/html;charset=gb2312>
- <script language="JavaScript" src="jquery-1.4.2.js" type="text/javascript" > </script>
- <script>
- $(function(){
- getData();
- setInterval(function(){
- getData();
- }, 10000);
- });
- function getData(){
- jQuery("#imga").attr("src","http://localhost/test/kbc1r1.php?t="+Math.random());
- jQuery("#imgb").attr("src","http://localhost/test/kbc2r1.php?t="+Math.random());
- //alert(jQuery("#imga").attr("src"));
- //http://localhost/test/sqli.php?sql=Y2FsbCBzZmMua2FuYmFuXzAxX2x4KCcnKTs=
- jQuery.ajax({
- url:"http://localhost/test/sqli.php",
- type:"GET",
- dataType:"jsonp",
- success:function(result){
- //alert(result);
- }
- })
- //alert('bb11');
- };
- </script>
- <style>
- body{
- font-family:Verdana;
- font-size:75%;
- }
- .a td{font-size:22px;}
- .b td{font-size:20px;font-weight:bold; }
- </style>
- <script language="JavaScript">
- //setTimeout(function(){location.reload()},5000); //指定1秒刷新一次
- </script>
- </head>
- <body style="background-color:rgb(238,237,219)" >
- <table height="100%" style="width:100%" >
- <tr style="height:50%"><td>
- <!-- 第一行 开始--!>
- <table height="100%" style="width:100%" border=0 >
- <tr style="height:10%"><td><font size="6px" color="rgb(32,32,30)"><b>温湿度动态栏</b></font></td></tr>
- <tr style="height:90%"><td>
- <table class="b" height="100%" style="width:100%" border=0>
- <tr style="height:10% ; text-align:center" ><td noWrap><font color="rgb(32,32,30)"><b>温度上限:</b></font></td>
- <td rowspan=5><img id="imga" src='http://localhost/test/kbc1r1.php' style="max-width:100%;" /></td>
- <td rowspan=5><img id="imgb" src='http://localhost/test/kbc2r1.php' style="max-width:100%;" /></td>
- <td noWrap><font color="rgb(32,32,30)"><b>:湿度上限</b></font></td></tr>
- <tr style="height:10% ; text-align:center"><td noWrap><font color="rgb(32,32,30)"><b>28℃</b></font></td><td noWrap><font color="rgb(32,32,30)"><b>80%</b></font></td></tr>
- <tr style="height:60% ; text-align:center"><td noWrap></td><td></td></tr>
- <tr style="height:10% ; text-align:center"><td noWrap ><font color="rgb(32,32,30)"><b>温度下限:</b></font></td><td noWrap><font color="rgb(32,32,30)"><b>:湿度下限</b></font></td></tr>
- <tr style="height:10% ; text-align:center"><td noWrap><font color="rgb(32,32,30)"><b>22℃</b></font></td>
- <td noWrap><font color="rgb(32,32,30)"><b>30%</b></font></td></tr>
- </table>
- </td></tr>
- </table>
- <!-- 第一行 结束--!>
- </td></tr>
- <tr style="height:50%"><td>
- <!-- 第二行 开始--!>
- <table height="100%" style="width:100%" border=0 >
- <tr style="height:10%"><td><font size="6px" color="rgb(32,32,30)"><b>产能动态栏</b></font></td></tr>
- <tr style="height:90%"><td>
- <table id="kbtb" class="a" height="100%" style="width:100%" border=0>
- <tr style="background:rgb(142,139,182); color:rgb(0,0,15); font-weight:bold; text-align:center "><td>线别</td><td>机种名称</td><td>工单号码</td><td>工单批量</td><td>生产数量</td><td>剩余数量</td></tr>
- <tr id="R1" style="background:rgb(123,173,208); color:rgb(0,0,15); font-weight:bold; text-align:center "><td>SMT</td><td></td><td></td><td></td><td></td><td></td></tr>
- <tr id="R2" style="background:rgb(123,173,208); color:rgb(0,0,15); font-weight:bold; text-align:center "><td>插件</td><td></td><td></td><td></td><td></td><td></td></tr>
- <tr id="R3" style="background:rgb(123,173,208); color:rgb(0,0,15); font-weight:bold; text-align:center "><td>附件</td><td></td><td></td><td></td><td></td><td></td></tr>
- </table>
- </td></tr>
- </table>
- <!-- 第二行 结束--!>
- </td></tr>
- </table>
- </body>
- </html>
复制代码
指向本地网页:
http://localhost/test/kbc1r1.php
http://localhost/test/kbc2r1.php
|
|