huang
2025-03-14 3450516ed847b35904c1cdda0f0a19b65511e645
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="${ctx}/static/styles/default.css" type="text/css" rel="stylesheet" />
<script src="${ctx}/static/holder.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript" src="${ctx}/static/util.js"></script>  
<script type="text/javascript" src="${ctx}/static/jquery/jquery-3.1.0.min.js"></script>
<title>上片位</title>
<script type="text/javascript">
var interval = setInterval('refreshStatus()', 10000);
 
// 设备页面自动刷新
function refreshStatus() {
    window.location.reload();
}
 
// 停止页面自动刷新
function disableAutoRefresh() {
    clearInterval(interval);
}
 
/**
 * 添加原片
 */
 function addload(loadMachineRackId){
         disableAutoRefresh()
        $("#add-info").modal('show');
        $("#addRawPackage").val(loadMachineRackId);
}
 
 /**
  * 修改原片
  */
  function modifyload(loadMachineRackId){
          disableAutoRefresh()
         $("#modify-info").modal('show');
         $("#midifyRawPackage").val(loadMachineRackId);
 }
  </script>
</head>
<body>
      <div class="content-wrapper">
    <div>
        <section class="content-header">
              <h1>
            设备信息
                <small></small>
              </h1>
          <ol class="breadcrumb">
            <li><a href="${ctx }/loadmachine/loadmachinerack"><i class="fa fa-reply"></i>上片机信息</a></li>
            <li class="active"></li>
          </ol>
        </section>
    </div>
    <div>
    <!-- Main content -->
    <section class="content container-fluid">
        <div class="box" style="height: 620px; overflow: auto;">
              <!-- <div class="box-header">设备信息
              </div> -->
              <!-- /.box-header -->
              <div class="box-body no-padding">
                  <h2 style="text-align:center;">设备信息</h2>
                 <table class="table table-striped" style="font-size: large;text-align:center;">
                       <thead>
                           <tr>
                               <th width="13%"  style="text-align:center;">机器名称</th>
                               <th width="13%"  style="text-align:center;">机器状态</th>
                               <th width="13%"  style="text-align:center;">IP地址</th>
                               <th width="20%"  style="text-align:center;">更新时间</th>
                           </tr>
                       </thead>
                       <tbody>
                           ${shelfstatu}
                       </tbody>
                   </table>
 
               </div>
           </div>
    </section>
    </div>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
</body>
</html>