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
  | <!DOCTYPE html> 
 |  <html lang="en"> 
 |  <head> 
 |      <meta charset="UTF-8"> 
 |      <title>WCS控制中心</title> 
 |      <style> 
 |          * { 
 |              margin: 0; 
 |              padding: 0; 
 |              overflow: hidden; 
 |          } 
 |          html,body { 
 |              height: 100%; 
 |          } 
 |          #root { 
 |              width: 100%; 
 |              height: 100%; 
 |              background: rgba(134,176,175); 
 |          } 
 |          #sideBar { 
 |              width: 18%; 
 |              height: 100%; 
 |              margin-left: 1%; 
 |          } 
 |          #header { 
 |              width: 100%; 
 |              height: 10%; 
 |              color: white; 
 |          } 
 |          #header h2 { 
 |              margin-top: 5%; 
 |              font-size: 30px; 
 |              text-align: center; 
 |          } 
 |          #header p { 
 |              text-align: center; 
 |              font-size: 12px; 
 |          } 
 |          #mainSwitch { 
 |              width: 100%; 
 |              height:18%; 
 |              margin-bottom: 5%; 
 |          } 
 |          #stacker { 
 |              width: 100%; 
 |              height:18%; 
 |              margin-bottom: 5%; 
 |          } 
 |          #cline { 
 |              width: 100%; 
 |              height:12%; 
 |              margin-bottom: 5%; 
 |          } 
 |          #scanner { 
 |              width: 100%; 
 |              height:30%; 
 |              margin-bottom: 2%; 
 |          } 
 |          .sideBar-l { 
 |              border-radius: 30px; 
 |              background-color: rgba(31, 31, 31, 0.4); 
 |          } 
 |          #nav { 
 |              height: 10%; 
 |    
 |          } 
 |      </style> 
 |  </head> 
 |  <body> 
 |      <div id="root"> 
 |          <div id="sideBar"> 
 |              <!--表头--> 
 |              <div id="header"> 
 |                  <h2>自 动 仓 库 WCS 监 控 图</h2> 
 |                  <p>AUTOMATIC WAREHOUSE WCS MONITORING DIAGRAM</p> 
 |              </div> 
 |              <!--系统状态--> 
 |              <div id="mainSwitch" class="sideBar-l"></div> 
 |              <!--堆垛机状态--> 
 |              <div id="stacker" class="sideBar-l"></div> 
 |              <!--输送线状态--> 
 |              <div id="cline" class="sideBar-l"></div> 
 |              <!--条码扫描器--> 
 |              <div id="scanner" class="sideBar-l"></div> 
 |          </div> 
 |          <div id="nav"></div> 
 |      </div> 
 |  </body> 
 |  </html> 
 |  
  |