严智鑫
2025-11-13 945bc394f40d8af1072a53da9a94f24207124e6d
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<%@ 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;">
                       <thead>
                           <tr>
                               <th width="10%">仓储ID</th>
                               <th width="10%">自动状态</th>
                               <th width="10%">故障状态</th>
                               <th width="10%">PLC_ID</th>
                               <th width="10%">MES_ID</th>
                               <th width="20%">更新时间</th>
                           </tr>
                       </thead>
                       <tbody>
                           ${shelfstatu}
                       </tbody>
                   </table>
                   <table class="table table-striped" style="font-size: large; margin-top:50px;">
                       <thead>
                           <tr>
                               <th width="10%">上片机ID</th>
                               <th width="10%">自动状态</th>
                               <th width="10%">故障状态</th>
                               <th width="10%">上片完成信息</th>
                               <th width="10%">PLC_ID</th>
                               <th width="10%">MES_ID</th>
                               <th width="10%">更新时间</th>
                           </tr>
                       </thead>
                       <tbody>
                        <!-- <tr>
                               <td>01</td>
                               <td>MES自动</td>
                               <td>无故障</td>
                               <td>已完成</td>
                               <td>10</td>
                               <td>10</td>
                               <td>2018-11-09 10:59</td>
                           </tr> -->
                           ${loadstatu}
                    </tbody>
                   </table>
                   <table class="table table-striped" style="font-size: large; margin-top:50px;">
                       <thead>
                           <tr>
                               <th width="10%">磨边机ID</th>
                               <th width="10%">消息类型</th>
                               <th width="10%">PLC_ID</th>
                               <th width="10%">MES_ID</th>
                               <th width="10%">玻璃ID</th>
                               <th width="10%">更新时间</th>
                           </tr>
                       </thead>
                       <tbody>
                           <!-- <tr>
                               <td>01</td>
                               <td>工作中</td>
                               <td>10</td>
                               <td>0</td>
                               <td>15</td>
                               <td>2018-11-09 10:59</td>
                           </tr>
                           <tr>
                               <td>02</td>
                               <td>工作中</td>
                               <td>11</td>
                               <td>11</td>
                               <td>15</td>
                               <td>2018-11-09 10:59</td>
                           </tr> -->
                           ${gaoliweistatu}
                       </tbody>
                   </table>
               </div>
           </div>
    </section>
    </div>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
</body>
</html>