深圳全飞鸿

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 688|回复: 0
打印 上一主题 下一主题

关于南京兰鑫温湿度看板的设计

[复制链接]

800

主题

1379

帖子

7725

积分

版主

Rank: 7Rank: 7Rank: 7

积分
7725
跳转到指定楼层
楼主
发表于 2019-9-17 16:11:32 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式

南京兰鑫湿度看板




report.cfg中内容:
KB_LX.html
KB_LX.html
KB_LX.html



  1. <html>
  2. <head>
  3. <title>HTML</title>
  4.   <meta http-equiv=Content-Type content=text/html;charset=gb2312>
  5.   <script language="JavaScript" src="jquery-1.4.2.js" type="text/javascript" > </script>

  6. <script>
  7. $(function(){
  8.   getData();
  9.   setInterval(function(){
  10.    getData();
  11.   }, 10000);
  12. });
  13. function getData(){
  14.     jQuery("#imga").attr("src","http://localhost/test/kbc1r1.php?t="+Math.random());
  15.     jQuery("#imgb").attr("src","http://localhost/test/kbc2r1.php?t="+Math.random());
  16.     //alert(jQuery("#imga").attr("src"));
  17.     //http://localhost/test/sqli.php?sql=Y2FsbCBzZmMua2FuYmFuXzAxX2x4KCcnKTs=
  18.     jQuery.ajax({  
  19.                 url:"http://localhost/test/sqli.php",
  20.                 type:"GET",  
  21.                 dataType:"jsonp",  
  22.                 success:function(result){
  23.                             //alert(result);
  24.                         }
  25.             })  
  26.   //alert('bb11');
  27. };
  28. </script>

  29.   <style>
  30.    body{
  31.     font-family:Verdana;
  32.     font-size:75%;
  33.   }
  34.   .a td{font-size:22px;}
  35.   .b td{font-size:20px;font-weight:bold; }
  36. </style>
  37. <script language="JavaScript">
  38. //setTimeout(function(){location.reload()},5000); //指定1秒刷新一次
  39. </script>
  40. </head>
  41. <body style="background-color:rgb(238,237,219)"  >
  42.    <table  height="100%" style="width:100%" >
  43.         <tr style="height:50%"><td>

  44.         <!-- 第一行 开始--!>
  45.         <table height="100%" style="width:100%" border=0 >
  46.         <tr style="height:10%"><td><font size="6px" color="rgb(32,32,30)"><b>温湿度动态栏</b></font></td></tr>
  47.         <tr style="height:90%"><td>
  48.                 <table class="b" height="100%" style="width:100%"  border=0>
  49. <tr style="height:10% ; text-align:center" ><td noWrap><font color="rgb(32,32,30)"><b>温度上限:</b></font></td>
  50. <td rowspan=5><img id="imga" src='http://localhost/test/kbc1r1.php' style="max-width:100%;" /></td>
  51. <td rowspan=5><img id="imgb" src='http://localhost/test/kbc2r1.php' style="max-width:100%;" /></td>
  52. <td noWrap><font color="rgb(32,32,30)"><b>:湿度上限</b></font></td></tr>
  53. <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>
  54. <tr style="height:60% ; text-align:center"><td noWrap></td><td></td></tr>
  55. <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>
  56. <tr style="height:10% ; text-align:center"><td noWrap><font color="rgb(32,32,30)"><b>22℃</b></font></td>
  57.     <td noWrap><font color="rgb(32,32,30)"><b>30%</b></font></td></tr>
  58.                 </table>

  59.         </td></tr>
  60.         </table>
  61.         <!-- 第一行 结束--!>

  62.         </td></tr>
  63.         <tr style="height:50%"><td>

  64.         <!-- 第二行 开始--!>
  65.         <table  height="100%" style="width:100%" border=0 >
  66.         <tr style="height:10%"><td><font size="6px" color="rgb(32,32,30)"><b>产能动态栏</b></font></td></tr>
  67.         <tr style="height:90%"><td>

  68.                 <table id="kbtb" class="a"  height="100%" style="width:100%" border=0>
  69. <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>
  70. <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>
  71. <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>
  72. <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>
  73.                 </table>
  74.         </td></tr>
  75.         </table>
  76.         <!-- 第二行 结束--!>

  77.         </td></tr>
  78.    </table>
  79. </body>
  80. </html>
复制代码



指向本地网页:
http://localhost/test/kbc1r1.php
http://localhost/test/kbc2r1.php





回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|nagomes  

GMT+8, 2025-6-29 02:14 , Processed in 0.052458 second(s), 24 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表