ProjectOverview.cshtml
6.75 KB
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@{
ViewData["title"] = "项目工程表";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@section header
{
<link href="~/css/iot/iconfont.css" rel="stylesheet" />
<style type="text/css">
/* head*/
.head{padding:10px;}
.head-project {display: flex;width: 100%;height: 10vh;}
.head-project-logo {display: flex;justify-content: flex-start;width: 80%; align-items: center;}
.head-project-title {height: 10vh;text-align: center;line-height: 10vh;font-size:30px;padding-left: 6vh;}
.head-project-route {display: flex;width: 20%;justify-content: flex-end;align-items: center;}
.divcontent {
display: flex;
height: 100%;
}
.contcss {
display: flex;
width: 20%;
margin-right: 1vw;
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.divcontent-left {
flex: 2;
display: flex;
flex-direction: column;
justify-content: center;
padding-left: 1vw;
}
.divcontent-right {
flex: 1;
}
.imgdiv {
height: 3vh;
text-align: center;
line-height: 10vh;
}
.textStyle {
font-weight: 600;
font-size: 1.2vw;
color: black;
}
.layui-colla-content {
padding: 10px 15px;
}
.iconfont {
font-size: 42px;
}
</style>
}
<div>
<div class="head vueApp">
<div class="head-breadcrumb">
<span class="layui-breadcrumb" lay-separator="> ">
<a href="/configure/BaseProject/ProjectOverview">项目概述</a>
</span>
</div>
<div class="head-project">
<div class="head-project-logo">
<div><img style="width:190px;height:21px;" src="/images/logo.png" alt="" /></div>
<div class="head-project-title">{{head.projectName}}</div>
</div>
<div class="head-project-route">
<a href="/equipment/Equipment/Index" class="sys-a-det">切换到设备列表</a>
</div>
</div>
</div>
<div class="layui-collapse" style="padding-left:7px;">
<div class="layui-colla-item">
<div class="layui-colla-title">设备概述</div>
<div class="layui-colla-content layui-show" style="height: 10vh">
<div class="divcontent">
<div class="contcss">
<div class="divcontent-left">
<div>设备总数</div>
<div class="textStyle">50</div>
</div>
<div class="divcontent-right">
<div class="imgdiv">
<span class="iconfont icon-shebei" style="color: rgb(146, 133, 235);"></span>
</div>
</div>
</div>
<div class="contcss">
<div class="divcontent-left">
<div>在线数</div>
<div class="textStyle">35</div>
</div>
<div class="divcontent-right">
<div class="imgdiv">
<span class="iconfont icon-zaixianshu" style="color: rgb(146, 133, 235);"></span>
</div>
</div>
</div>
<div class="contcss">
<div class="divcontent-left">
<div>待机数</div>
<div class="textStyle">10</div>
</div>
<div class="divcontent-right">
<div class="imgdiv">
<span class="iconfont icon-dangqianshebeidaijishuliang" style="color: rgb(146, 133, 235);"></span>
</div>
</div>
</div>
<div class="contcss">
<div class="divcontent-left">
<div>离线数</div>
<div class="textStyle" style="color:red;">5</div>
</div>
<div class="divcontent-right">
<div class="imgdiv">
<span class="iconfont icon-lixianshu" style="color: rgb(146, 133, 235);"></span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="layui-colla-item">
<div class="layui-colla-title">设备运行(当天)</div>
<div class="layui-colla-content layui-show" style="height: 10vh">
<div class="divcontent">
<div class="contcss">
<div class="divcontent-left">
<div>故障时间</div>
<div class="textStyle">20H</div>
</div>
<div class="divcontent-right">
<div class="imgdiv">
<span class="iconfont icon-guzhangshijian" style="color: rgb(146, 133, 235);"></span>
</div>
</div>
</div>
<div class="contcss">
<div class="divcontent-left">
<div>运行时间</div>
<div class="textStyle">40H</div>
</div>
<div class="divcontent-right">
<div class="imgdiv">
<span class="iconfont icon-yunhangshijian" style="color: rgb(146, 133, 235);"></span>
</div>
</div>
</div>
<div class="contcss">
<div class="divcontent-left">
<div>待机时间</div>
<div class="textStyle">30H</div>
</div>
<div class="divcontent-right">
<div class="imgdiv">
<span class="iconfont icon-daijishijian" style="color: rgb(146, 133, 235);"></span>
</div>
</div>
</div>
<div class="contcss">
<div class="divcontent-left">
<div>在线率</div>
<div class="textStyle">50%</div>
</div>
<div class="divcontent-right">
<div class="imgdiv">
<span class="iconfont icon-shebeizaixianshuai" style="color: rgb(146, 133, 235);"></span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="layui-colla-item">
<div class="layui-colla-title">扩展指标(一周内)</div>
<div class="layui-colla-content layui-show" style="height: 10vh">
<div class="divcontent">
<div class="contcss">
<div class="divcontent-left">
<div>妥善率</div>
<div class="textStyle">98%</div>
</div>
<div class="divcontent-right">
<div class="imgdiv">
<span class="iconfont icon-xiaoshuai" style="color: rgb(146, 133, 235);"></span>
</div>
</div>
</div>
<div class="contcss">
<div class="divcontent-left">
<div>MTTR</div>
<div class="textStyle">40%</div>
</div>
<div class="divcontent-right">
<div class="imgdiv">
<span class="iconfont icon-shebeiMTTR" style="color: rgb(146, 133, 235);"></span>
</div>
</div>
</div>
<div class="contcss">
<div class="divcontent-left">
<div>MTBF</div>
<div class="textStyle">68</div>
</div>
<div class="divcontent-right">
<div class="imgdiv">
<span class="iconfont icon-MTBF" style="color: rgb(146, 133, 235);"></span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="margin: 20px;color:blue;">
<span><span style="font-weight: bold;">妥善率:</span>故障時間H/故障时间</span>
<span style="margin-left: 30px;"><span style="font-weight: bold;">MTTR:</span>故障時間H/故障次數</span>
<span style="margin-left: 30px;"><span style="font-weight: bold;">MTBF:</span>正常運作時間H/故障次數</span>
</div>
</div>
@section Scripts
{
<script src="~/js/vuemin2.js"></script>
<script type="text/javascript" src="/productjs/configure/ProjectOverview.js" asp-append-version="true"></script>
}