Explorar o código

修改测温异常点,显示问题

my-csc-config-file.git %!s(int64=5) %!d(string=hai) anos
pai
achega
8f0c632b02

+ 32 - 22
depot-web/src/main/resources/static/app/intelligent/grainDetection/views/grainCondition-list.html

@@ -65,48 +65,58 @@
65 65
                                         <td style="text-align:center;">{{ grainCondition.time | date:'yyyy-MM-dd HH:mm:ss' }}</td>
66 66
                                         <td style="text-align:center;">
67 67
                                             <div ng-if="grainCondition.intemp==250">
68
-                                                <acronym title="设备异常"><span style="color: red;">{{grainCondition.intemp}}</span></acronym>
68
+                                                <acronym title="设备异常"><span style="color: red;">{{-100}}</span></acronym>
69 69
                                             </div>
70 70
                                             <div ng-if="grainCondition.intemp!=250">{{grainCondition.intemp}}</div>
71 71
                                         </td>
72 72
                                         <td style="text-align:center;">
73 73
                                             <div ng-if="grainCondition.inh==250">
74
-                                                <acronym title="设备异常"><span style="color: red;">{{grainCondition.inh}}</span></acronym>
74
+                                                <acronym title="设备异常"><span style="color: red;">{{-1}}</span></acronym>
75 75
                                             </div>
76 76
                                             <div ng-if="grainCondition.inh!=250">{{grainCondition.inh}}</div>
77 77
                                         </td>
78 78
                                         <td style="text-align:center;">
79 79
                                             <!--高温报警-->
80
-                                            <div ng-if="grainCondition.max >= warningValueList[grainCondition.storehouse].high">
81
-                                                <div ng-if="grainCondition.max==250">
82
-                                                    <acronym title="设备异常"><span style="color: red;">{{ grainCondition.max }}</span></acronym>
80
+                                            <div ng-if="grainCondition.max==250">
81
+                                                <acronym title="设备异常"><span style="color: red;">{{-100}}</span></acronym>
82
+                                            </div>
83
+                                            <div ng-if="grainCondition.max!=250">
84
+                                                <div ng-if="grainCondition.max >= warningValueList[grainCondition.storehouse].high">
85
+                                                    <div ng-if="grainCondition.max!=250">
86
+                                                        <acronym title="粮温高限报警为: {{warningValueList[grainCondition.storehouse].high}}℃"><span style="color: red;">{{ grainCondition.max }}</span></acronym>
87
+                                                    </div>
83 88
                                                 </div>
84
-                                                <div ng-if="grainCondition.max!=250">
85
-                                                    <acronym title="粮温高限报警为: {{warningValueList[grainCondition.storehouse].high}}℃"><span style="color: red;">{{ grainCondition.max }}</span></acronym>
89
+                                                <div ng-if="grainCondition.max < warningValueList[grainCondition.storehouse].high">
90
+                                                    <span>{{ grainCondition.max }}</span>
91
+                                                </div>
92
+                                                <div ng-if="warningValueList[grainCondition.storehouse].high == null">
93
+                                                    <span>{{ grainCondition.max }}</span>
86 94
                                                 </div>
87 95
                                             </div>
88
-                                            <div ng-if="grainCondition.max < warningValueList[grainCondition.storehouse].high">
89
-                                                <span>{{ grainCondition.max }}</span>
90
-                                            </div>
91
-                                            <div ng-if="warningValueList[grainCondition.storehouse].high == null">
92
-                                                <span>{{ grainCondition.max }}</span>
93
-                                            </div>
94
-                                            <!--高温预警-->
95 96
                                         </td>
96 97
                                         <td style="text-align:center;">
97 98
                                             <!--低温报警-->
98
-                                            <div ng-if="grainCondition.min <= warningValueList[grainCondition.storehouse].low">
99
-                                                <acronym title="粮温低限报警为: {{warningValueList[grainCondition.storehouse].low}}℃"><span style="color: red;">{{ grainCondition.min }}</span></acronym>
99
+                                            <div ng-if="grainCondition.min==250">
100
+                                                <acronym title="设备异常"><span style="color: red;">{{-100}}</span></acronym>
100 101
                                             </div>
101
-                                            <div ng-if="grainCondition.min > warningValueList[grainCondition.storehouse].low">
102
-                                                <span>{{ grainCondition.min }}</span>
102
+                                            <div ng-if="grainCondition.min!=250">
103
+                                                <div ng-if="grainCondition.min <= warningValueList[grainCondition.storehouse].low">
104
+                                                    <acronym title="粮温低限报警为: {{warningValueList[grainCondition.storehouse].low}}℃"><span style="color: red;">{{ grainCondition.min }}</span></acronym>
105
+                                                </div>
106
+                                                <div ng-if="grainCondition.min > warningValueList[grainCondition.storehouse].low">
107
+                                                    <span>{{ grainCondition.min }}</span>
108
+                                                </div>
109
+                                                <div ng-if="warningValueList[grainCondition.storehouse].low == null">
110
+                                                    <span>{{ grainCondition.min }}</span>
111
+                                                </div>
103 112
                                             </div>
104
-                                            <div ng-if="warningValueList[grainCondition.storehouse].low == null">
105
-                                                <span>{{ grainCondition.min }}</span>
113
+                                        </td>
114
+                                        <td style="text-align:center;">
115
+                                            <div ng-if="grainCondition.avg==250">
116
+                                                <acronym title="设备异常"><span style="color: red;">{{-100}}</span></acronym>
106 117
                                             </div>
107
-                                            <!--低温预警-->
118
+                                            <div ng-if="grainCondition.avg!=250">{{ grainCondition.avg}}</div>
108 119
                                         </td>
109
-                                        <td style="text-align:center;">{{ grainCondition.avg}}</td>
110 120
                                         <td has-botton="2" style="text-align:center;">
111 121
                                             <a ng-click="getStoreHouseByData(grainCondition)">{{ storeHouseCodeObj[grainCondition.storehouse].storehouseName }}检测</a>
112 122
                                         </td>

+ 32 - 22
depot-web/src/main/resources/static/app/intelligent/grainDetection/views/humitureDetection-list.html

@@ -70,48 +70,58 @@
70 70
                                         <td style="text-align:center;">{{ humitureDetection.time | date:'yyyy-MM-dd HH:mm:ss' }}</td>
71 71
                                         <td style="text-align:center;">
72 72
                                             <div ng-if="humitureDetection.intemp==250">
73
-                                                <acronym title="设备异常"><span style="color: red;">{{ humitureDetection.intemp }}</span></acronym>
73
+                                                <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
74 74
                                             </div>
75 75
                                             <div ng-if="humitureDetection.intemp!=250">{{ humitureDetection.intemp }}</div>
76 76
                                         </td>
77 77
                                         <td style="text-align:center;">
78 78
                                             <div ng-if="humitureDetection.inh==250">
79
-                                                <acronym title="设备异常"><span style="color: red;">{{ humitureDetection.inh }}</span></acronym>
79
+                                                <acronym title="设备异常"><span style="color: red;">{{ -1 }}</span></acronym>
80 80
                                             </div>
81 81
                                             <div ng-if="humitureDetection.inh!=250">{{ humitureDetection.inh }}</div>
82 82
                                         </td>
83 83
                                         <td style="text-align:center;">
84 84
                                             <!--高温报警-->
85
-                                            <div ng-if="humitureDetection.max >= warningValueList[humitureDetection.storehouse].high">
86
-                                                <div ng-if="humitureDetection.max==250">
87
-                                                    <acronym title="设备异常"><span style="color: red;">{{ humitureDetection.max }}</span></acronym>
85
+                                            <div ng-if="humitureDetection.max==250">
86
+                                                <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
87
+                                            </div>
88
+                                            <div ng-if="humitureDetection.max!=250">
89
+                                                <div ng-if="humitureDetection.max >= warningValueList[humitureDetection.storehouse].high">
90
+                                                    <div ng-if="humitureDetection.max!=250">
91
+                                                        <acronym title="粮温高限报警为: {{warningValueList[humitureDetection.storehouse].high}}℃"><span style="color: red;">{{ humitureDetection.max }}</span></acronym>
92
+                                                    </div>
88 93
                                                 </div>
89
-                                                <div ng-if="humitureDetection.max!=250">
90
-                                                    <acronym title="粮温高限报警为: {{warningValueList[humitureDetection.storehouse].high}}℃"><span style="color: red;">{{ humitureDetection.max }}</span></acronym>
94
+                                                <div ng-if="humitureDetection.max < warningValueList[humitureDetection.storehouse].high">
95
+                                                    <span>{{ humitureDetection.max }}</span>
96
+                                                </div>
97
+                                                <div ng-if="warningValueList[humitureDetection.storehouse].high == null">
98
+                                                    <span>{{ humitureDetection.max }}</span>
91 99
                                                 </div>
92 100
                                             </div>
93
-                                            <div ng-if="humitureDetection.max < warningValueList[humitureDetection.storehouse].high">
94
-                                                <span>{{ humitureDetection.max }}</span>
95
-                                            </div>
96
-                                            <div ng-if="warningValueList[humitureDetection.storehouse].high == null">
97
-                                                <span>{{ humitureDetection.max }}</span>
98
-                                            </div>
99
-                                            <!--高温预警-->
100 101
                                         </td>
101 102
                                         <td style="text-align:center;">
102 103
                                             <!--低温报警-->
103
-                                            <div ng-if="humitureDetection.min <= warningValueList[humitureDetection.storehouse].low">
104
-                                                <acronym title="粮温低限报警为: {{warningValueList[humitureDetection.storehouse].low}}℃"><span style="color: red;">{{ humitureDetection.min }}</span></acronym>
104
+                                            <div ng-if="humitureDetection.min==250">
105
+                                                <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
105 106
                                             </div>
106
-                                            <div ng-if="humitureDetection.min > warningValueList[humitureDetection.storehouse].low">
107
-                                                <span>{{ humitureDetection.min }}</span>
107
+                                            <div ng-if="humitureDetection.min!=250">
108
+                                                <div ng-if="humitureDetection.min <= warningValueList[humitureDetection.storehouse].low">
109
+                                                    <acronym title="粮温低限报警为: {{warningValueList[humitureDetection.storehouse].low}}℃"><span style="color: red;">{{ humitureDetection.min }}</span></acronym>
110
+                                                </div>
111
+                                                <div ng-if="humitureDetection.min > warningValueList[humitureDetection.storehouse].low">
112
+                                                    <span>{{ humitureDetection.min }}</span>
113
+                                                </div>
114
+                                                <div ng-if="warningValueList[humitureDetection.storehouse].low == null">
115
+                                                    <span>{{ humitureDetection.min }}</span>
116
+                                                </div>
108 117
                                             </div>
109
-                                            <div ng-if="warningValueList[humitureDetection.storehouse].low == null">
110
-                                                <span>{{ humitureDetection.min }}</span>
118
+                                        </td>
119
+                                        <td style="text-align:center;">
120
+                                            <div ng-if="humitureDetection.avg==250">
121
+                                                <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
111 122
                                             </div>
112
-                                            <!--低温预警-->
123
+                                            <div ng-if="humitureDetection.avg!=250">{{ humitureDetection.avg}}</div>
113 124
                                         </td>
114
-                                        <td style="text-align:center;">{{ humitureDetection.avg }}</td>
115 125
                                         <td has-botton="2" style="text-align:center;">
116 126
                                             <a href-void ng-click="onlyStoreGrainTemperatureDetection(humitureDetection.storehouse)"><i class=""></i>{{storeHouseCodeObj[humitureDetection.storehouse].storehouseName}}检测</a>
117 127
                                         </td>

+ 35 - 25
depot-web/src/main/resources/static/app/intelligent/grainDetection/views/humitureDetection-model.html

@@ -67,7 +67,7 @@
67 67
                     <td style="border: 1px solid #000;text-align: center;">仓内温</td>
68 68
                     <td style="border: 1px solid #000;text-align: center;">
69 69
                         <div ng-if="intemp==250">
70
-                            <acronym title="设备异常"><span style="color: red;">{{intemp}}</span></acronym>
70
+                            <acronym title="设备异常"><span style="color: red;">{{-100}}</span></acronym>
71 71
                         </div>
72 72
                         <div ng-if="intemp!=250">{{intemp}}</div>
73 73
                     </td>
@@ -78,62 +78,72 @@
78 78
                     <td style="border: 1px solid #000;text-align: center;">仓内湿</td>
79 79
                     <td style="border: 1px solid #000;text-align: center;">
80 80
                         <div ng-if="inh==250">
81
-                            <acronym title="设备异常"><span style="color: red;">{{inh}}</span></acronym>
81
+                            <acronym title="设备异常"><span style="color: red;">{{-1}}</span></acronym>
82 82
                         </div>
83 83
                         <div ng-if="inh!=250">{{inh}}</div>
84 84
                     </td>
85 85
                     <td colspan="{{tableTwo_1}}" style="border: 1px solid #000;text-align: center;">平均粮温</td>
86
-                    <td style="border: 1px solid #000;text-align: center;">{{avg}}</td>
86
+                    <td style="border: 1px solid #000;text-align: center;">
87
+                        <div ng-if="avg==250">
88
+                            <acronym title="设备异常"><span style="color: red;">{{-100}}</span></acronym>
89
+                        </div>
90
+                        <div ng-if="avg!=250">{{avg}}</div>
91
+                    </td>
87 92
                 </tr>
88 93
                 <tr>
89 94
                     <td style="border: 1px solid #000;text-align: center;">仓外温</td>
90 95
                     <td style="border: 1px solid #000;text-align: center;">
91 96
                         <div ng-if="outtemp==250">
92
-                            <acronym title="设备异常"><span style="color: red;">{{outtemp}}</span></acronym>
97
+                            <acronym title="设备异常"><span style="color: red;">{{-100}}</span></acronym>
93 98
                         </div>
94 99
                         <div ng-if="outtemp!=250">{{outtemp}}</div>
95 100
                     </td>
96 101
                     <td colspan="{{tableTwo_1}}" style="border: 1px solid #000;text-align: center;">最高粮温</td>
97 102
                     <td style="border: 1px solid #000;text-align: center;">
98 103
                         <!--高温报警-->
99
-                        <div ng-if="max >= warningValueList[vCfCode].high">
100
-                            <div ng-if="max==250">
101
-                                <acronym title="设备异常"><span style="color: red;">{{max}}</span></acronym>
104
+                        <div ng-if="max==250">
105
+                            <acronym title="设备异常"><span style="color: red;">{{-100}}</span></acronym>
106
+                        </div>
107
+                        <div ng-if="max!=250">
108
+                            <div ng-if="max >= warningValueList[vCfCode].high">
109
+                                <div ng-if="max!=250">
110
+                                    <acronym title="粮温高限报警为: {{warningValueList[vCfCode].high}}℃"><span style="color: red;">{{max}}</span></acronym>
111
+                                </div>
102 112
                             </div>
103
-                            <div ng-if="max!=250">
104
-                                <acronym title="粮温高限报警为: {{warningValueList[vCfCode].high}}℃"><span style="color: red;">{{max}}</span></acronym>
113
+                            <div ng-if="max < warningValueList[vCfCode].high">
114
+                                <span>{{max}}</span>
115
+                            </div>
116
+                            <div ng-if="warningValueList[vCfCode].high == null">
117
+                                <span>{{max}}</span>
105 118
                             </div>
106 119
                         </div>
107
-                        <div ng-if="max < warningValueList[vCfCode].high">
108
-                            <span>{{max}}</span>
109
-                        </div>
110
-                        <div ng-if="warningValueList[vCfCode].high == null">
111
-                            <span>{{max}}</span>
112
-                        </div>
113
-                        <!--高温预警-->
114 120
                     </td>
115 121
                 </tr>
116 122
                 <tr>
117 123
                     <td style="border: 1px solid #000;text-align: center;">仓外湿</td>
118 124
                     <td style="border: 1px solid #000;text-align: center;">
119 125
                         <div ng-if="outh==250">
120
-                            <acronym title="设备异常"><span style="color: red;">{{outh}}</span></acronym>
126
+                            <acronym title="设备异常"><span style="color: red;">{{-1}}</span></acronym>
121 127
                         </div>
122 128
                         <div ng-if="outh!=250">{{outh}}</div>
123 129
                     </td>
124 130
                     <td colspan="{{tableTwo_1}}" style="border: 1px solid #000;text-align: center;">最低粮温</td>
125 131
                     <td style="border: 1px solid #000;text-align: center;">
126 132
                         <!--低温报警-->
127
-                        <div ng-if="min <= warningValueList[vCfCode].low">
128
-                            <acronym title="粮温低限报警为: {{warningValueList[vCfCode].low}}℃"><span style="color: red;">{{min}}</span></acronym>
129
-                        </div>
130
-                        <div ng-if="min > warningValueList[vCfCode].low">
131
-                            <span>{{min}}</span>
133
+                        <div ng-if="min==250">
134
+                            <acronym title="设备异常"><span style="color: red;">{{-100}}</span></acronym>
132 135
                         </div>
133
-                        <div ng-if="warningValueList[vCfCode].low == null">
134
-                            <span>{{min}}</span>
136
+                        <div ng-if="min!=250">
137
+                            <div ng-if="min <= warningValueList[vCfCode].low">
138
+                                <acronym title="粮温低限报警为: {{warningValueList[vCfCode].low}}℃"><span style="color: red;">{{min}}</span></acronym>
139
+                            </div>
140
+                            <div ng-if="min > warningValueList[vCfCode].low">
141
+                                <span>{{min}}</span>
142
+                            </div>
143
+                            <div ng-if="warningValueList[vCfCode].low == null">
144
+                                <span>{{min}}</span>
145
+                            </div>
135 146
                         </div>
136
-                        <!--低温预警-->
137 147
                     </td>
138 148
                 </tr>
139 149
             </table>

+ 10 - 5
depot-web/src/main/resources/static/app/intelligent/grainDetection/views/temperatureRecord-list.html

@@ -66,29 +66,34 @@
66 66
                                         <td style="text-align:center;">{{thermometryData.time | date:'yyyy-MM-dd HH:mm:ss' }}</td>
67 67
                                         <td style="text-align:center;">
68 68
                                             <div ng-if="thermometryData.intemp==250">
69
-                                                <acronym title="设备异常"><span style="color: red;">{{ thermometryData.intemp }}</span></acronym>
69
+                                                <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
70 70
                                             </div>
71 71
                                             <div ng-if="thermometryData.intemp!=250">{{ thermometryData.intemp }}</div>
72 72
                                         </td>
73 73
                                         <td style="text-align:center;">
74 74
                                             <div ng-if="thermometryData.inh==250">
75
-                                                <acronym title="设备异常"><span style="color: red;">{{ thermometryData.inh }}</span></acronym>
75
+                                                <acronym title="设备异常"><span style="color: red;">{{ -1 }}</span></acronym>
76 76
                                             </div>
77 77
                                             <div ng-if="thermometryData.inh!=250">{{ thermometryData.inh }}</div>
78 78
                                         </td>
79 79
                                         <td style="text-align:center;">
80 80
                                             <div ng-if="thermometryData.outtemp==250">
81
-                                                <acronym title="设备异常"><span style="color: red;">{{ thermometryData.outtemp }}</span></acronym>
81
+                                                <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
82 82
                                             </div>
83 83
                                             <div ng-if="thermometryData.outtemp!=250">{{ thermometryData.outtemp }}</div>
84 84
                                         </td>
85 85
                                         <td style="text-align:center;">
86 86
                                             <div ng-if="thermometryData.outh==250">
87
-                                                <acronym title="设备异常"><span style="color: red;">{{ thermometryData.outh }}</span></acronym>
87
+                                                <acronym title="设备异常"><span style="color: red;">{{ -1 }}</span></acronym>
88 88
                                             </div>
89 89
                                             <div ng-if="thermometryData.outh!=250">{{ thermometryData.outh }}</div>
90 90
                                         </td>
91
-                                        <td style="text-align:center;">{{thermometryData.avg}}</td>
91
+                                        <td style="text-align:center;">
92
+                                            <div ng-if="thermometryData.avg==250">
93
+                                                <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
94
+                                            </div>
95
+                                            <div ng-if="thermometryData.avg!=250">{{ thermometryData.avg}}</div>
96
+                                        </td>
92 97
                                         <!--<td style="text-align:center;">
93 98
                                             <a href-void ng-click="showDelete()"><i class=""></i>未标记</a>
94 99
                                         </td>

+ 35 - 25
depot-web/src/main/resources/static/app/intelligent/grainDetection/views/temperatureRecord-model.html

@@ -115,7 +115,7 @@
115 115
                     <th style="border: 1px solid #000;text-align: center;">仓内温</th>
116 116
                     <th style="border: 1px solid #000;text-align: center;">
117 117
                         <div ng-if="intemp==250">
118
-                            <acronym title="设备异常"><span style="color: red;">{{intemp}}</span></acronym>
118
+                            <acronym title="设备异常"><span style="color: red;">{{-100}}</span></acronym>
119 119
                         </div>
120 120
                         <div ng-if="intemp!=250">{{intemp}}</div>
121 121
                     </th>
@@ -126,62 +126,72 @@
126 126
                     <th style="border: 1px solid #000;text-align: center;">仓内湿</th>
127 127
                     <th style="border: 1px solid #000;text-align: center;">
128 128
                         <div ng-if="inh==250">
129
-                            <acronym title="设备异常"><span style="color: red;">{{inh}}</span></acronym>
129
+                            <acronym title="设备异常"><span style="color: red;">{{-1}}</span></acronym>
130 130
                         </div>
131 131
                         <div ng-if="inh!=250">{{inh}}</div>
132 132
                     </th>
133 133
                     <th colspan="{{tableTwo_1}}" style="border: 1px solid #000;text-align: center;">平均粮温</th>
134
-                    <th style="border: 1px solid #000;text-align: center;">{{avg}}</th>
134
+                    <th style="border: 1px solid #000;text-align: center;">
135
+                        <div ng-if="avg==250">
136
+                            <acronym title="设备异常"><span style="color: red;">{{-100}}</span></acronym>
137
+                        </div>
138
+                        <div ng-if="avg!=250">{{avg}}</div>
139
+                    </th>
135 140
                 </tr>
136 141
                 <tr>
137 142
                     <th style="border: 1px solid #000;text-align: center;">仓外温</th>
138 143
                     <th style="border: 1px solid #000;text-align: center;">
139 144
                         <div ng-if="outtemp==250">
140
-                            <acronym title="设备异常"><span style="color: red;">{{outtemp}}</span></acronym>
145
+                            <acronym title="设备异常"><span style="color: red;">{{-100}}</span></acronym>
141 146
                         </div>
142 147
                         <div ng-if="outtemp!=250">{{outtemp}}</div>
143 148
                     </th>
144 149
                     <th colspan="{{tableTwo_1}}" style="border: 1px solid #000;text-align: center;">最高粮温</th>
145 150
                     <th style="border: 1px solid #000;text-align: center;">
146 151
                         <!--高温报警-->
147
-                        <div ng-if="max >= warningValueList[vCfCode].high">
148
-                            <div ng-if="max==250">
149
-                                <acronym title="设备异常"><span style="color: red;">{{max}}</span></acronym>
152
+                        <div ng-if="max==250">
153
+                            <acronym title="设备异常"><span style="color: red;">{{-100}}</span></acronym>
154
+                        </div>
155
+                        <div ng-if="max!=250">
156
+                            <div ng-if="max >= warningValueList[vCfCode].high">
157
+                                <div ng-if="max!=250">
158
+                                    <acronym title="粮温高限报警为: {{warningValueList[vCfCode].high}}℃"><span style="color: red;">{{max}}</span></acronym>
159
+                                </div>
150 160
                             </div>
151
-                            <div ng-if="max!=250">
152
-                                <acronym title="粮温高限报警为: {{warningValueList[vCfCode].high}}℃"><span style="color: red;">{{max}}</span></acronym>
161
+                            <div ng-if="max < warningValueList[vCfCode].high">
162
+                                <span>{{max}}</span>
163
+                            </div>
164
+                            <div ng-if="warningValueList[vCfCode].high == null">
165
+                                <span>{{max}}</span>
153 166
                             </div>
154 167
                         </div>
155
-                        <div ng-if="max < warningValueList[vCfCode].high">
156
-                            <span>{{max}}</span>
157
-                        </div>
158
-                        <div ng-if="warningValueList[vCfCode].high == null">
159
-                            <span>{{max}}</span>
160
-                        </div>
161
-                        <!--高温预警-->
162 168
                     </th>
163 169
                 </tr>
164 170
                 <tr>
165 171
                     <th style="border: 1px solid #000;text-align: center;">仓外湿</th>
166 172
                     <th style="border: 1px solid #000;text-align: center;">
167 173
                         <div ng-if="outh==250">
168
-                            <acronym title="设备异常"><span style="color: red;">{{outh}}</span></acronym>
174
+                            <acronym title="设备异常"><span style="color: red;">{{-1}}</span></acronym>
169 175
                         </div>
170 176
                         <div ng-if="outh!=250">{{outh}}</div>
171 177
                     </th>
172 178
                     <th colspan="{{tableTwo_1}}" style="border: 1px solid #000;text-align: center;">最低粮温</th>
173 179
                     <th style="border: 1px solid #000;text-align: center;">
174 180
                         <!--低温报警-->
175
-                        <div ng-if="min <= warningValueList[vCfCode].low">
176
-                            <acronym title="粮温低限报警为: {{warningValueList[vCfCode].low}}℃"><span style="color: red;">{{min}}</span></acronym>
177
-                        </div>
178
-                        <div ng-if="min > warningValueList[vCfCode].low">
179
-                            <span>{{min}}</span>
181
+                        <div ng-if="min==250">
182
+                            <acronym title="设备异常"><span style="color: red;">{{-100}}</span></acronym>
180 183
                         </div>
181
-                        <div ng-if="warningValueList[vCfCode].low == null">
182
-                            <span>{{min}}</span>
184
+                        <div ng-if="min!=250">
185
+                            <div ng-if="min <= warningValueList[vCfCode].low">
186
+                                <acronym title="粮温低限报警为: {{warningValueList[vCfCode].low}}℃"><span style="color: red;">{{min}}</span></acronym>
187
+                            </div>
188
+                            <div ng-if="min > warningValueList[vCfCode].low">
189
+                                <span>{{min}}</span>
190
+                            </div>
191
+                            <div ng-if="warningValueList[vCfCode].low == null">
192
+                                <span>{{min}}</span>
193
+                            </div>
183 194
                         </div>
184
-                        <!--低温预警-->
185 195
                     </th>
186 196
                 </tr>
187 197
             </table>

+ 36 - 22
depot-web/src/main/resources/static/app/intelligent/grainInspect/views/grainAnalyze-list.html

@@ -68,48 +68,62 @@
68 68
                                         <td style="text-align:center;">{{ grainAnalyzeList.time | date:'yyyy-MM-dd HH:mm:ss' }}</td>
69 69
                                         <td style="text-align:center;">
70 70
                                             <div ng-if="grainAnalyzeList.intemp==250">
71
-                                                <acronym title="设备异常"><span style="color: red;">{{ grainAnalyzeList.intemp }}</span></acronym>
71
+                                                <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
72 72
                                             </div>
73 73
                                             <div ng-if="grainAnalyzeList.intemp!=250">{{ grainAnalyzeList.intemp }}</div>
74 74
                                         </td>
75 75
                                         <td style="text-align:center;">
76 76
                                             <div ng-if="grainAnalyzeList.inh==250">
77
-                                                <acronym title="设备异常"><span style="color: red;">{{ grainAnalyzeList.inh }}</span></acronym>
77
+                                                <acronym title="设备异常"><span style="color: red;">{{ -1 }}</span></acronym>
78 78
                                             </div>
79 79
                                             <div ng-if="grainAnalyzeList.inh!=250">{{ grainAnalyzeList.inh }}</div>
80 80
                                         </td>
81 81
                                         <td style="text-align:center;">
82 82
                                             <!--高温报警-->
83
-                                            <div ng-if="grainAnalyzeList.max >= warningValueList[grainAnalyzeList.storehouse].high">
84
-                                                <div ng-if="grainAnalyzeList.max==250">
85
-                                                    <acronym title="设备异常"><span style="color: red;">{{ grainAnalyzeList.max }}</span></acronym>
83
+                                            <div ng-if="grainAnalyzeList.max==250">
84
+                                                <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
85
+                                            </div>
86
+                                            <div ng-if="grainAnalyzeList.max!=250">
87
+                                                <div ng-if="grainAnalyzeList.max >= warningValueList[grainAnalyzeList.storehouse].high">
88
+                                                    <div ng-if="grainAnalyzeList.max!=250">
89
+                                                        <acronym title="粮温高限报警为: {{warningValueList[grainAnalyzeList.storehouse].high}}℃">
90
+                                                            <span style="color: red;">{{ grainAnalyzeList.max }}</span>
91
+                                                        </acronym>
92
+                                                    </div>
86 93
                                                 </div>
87
-                                                <div ng-if="grainAnalyzeList.max!=250">
88
-                                                    <acronym title="粮温高限报警为: {{warningValueList[grainAnalyzeList.storehouse].high}}℃"><span style="color: red;">{{ grainAnalyzeList.max }}</span></acronym>
94
+                                                <div ng-if="grainAnalyzeList.max < warningValueList[grainAnalyzeList.storehouse].high">
95
+                                                    <span>{{ grainAnalyzeList.max }}</span>
96
+                                                </div>
97
+                                                <div ng-if="warningValueList[grainAnalyzeList.storehouse].high == null">
98
+                                                    <span>{{ grainAnalyzeList.max }}</span>
89 99
                                                 </div>
90 100
                                             </div>
91
-                                            <div ng-if="grainAnalyzeList.max < warningValueList[grainAnalyzeList.storehouse].high">
92
-                                                <span>{{ grainAnalyzeList.max }}</span>
93
-                                            </div>
94
-                                            <div ng-if="warningValueList[grainAnalyzeList.storehouse].high == null">
95
-                                                <span>{{ grainAnalyzeList.max }}</span>
96
-                                            </div>
97
-                                            <!--高温预警-->
98 101
                                         </td>
99 102
                                         <td style="text-align:center;">
100 103
                                             <!--低温报警-->
101
-                                            <div ng-if="grainAnalyzeList.min <= warningValueList[grainAnalyzeList.storehouse].low">
102
-                                                <acronym title="粮温低限报警为: {{warningValueList[grainAnalyzeList.storehouse].low}}℃"><span style="color: red;">{{ grainAnalyzeList.min }}</span></acronym>
104
+                                            <div ng-if="grainAnalyzeList.min==250">
105
+                                                <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
103 106
                                             </div>
104
-                                            <div ng-if="grainAnalyzeList.min > warningValueList[grainAnalyzeList.storehouse].low">
105
-                                                <span>{{ grainAnalyzeList.min }}</span>
107
+                                            <div ng-if="grainAnalyzeList.min!=250">
108
+                                                <div ng-if="grainAnalyzeList.min <= warningValueList[grainAnalyzeList.storehouse].low">
109
+                                                    <acronym title="粮温低限报警为: {{warningValueList[grainAnalyzeList.storehouse].low}}℃">
110
+                                                        <span style="color: red;">{{ grainAnalyzeList.min }}</span>
111
+                                                    </acronym>
112
+                                                </div>
113
+                                                <div ng-if="grainAnalyzeList.min > warningValueList[grainAnalyzeList.storehouse].low">
114
+                                                    <span>{{ grainAnalyzeList.min }}</span>
115
+                                                </div>
116
+                                                <div ng-if="warningValueList[grainAnalyzeList.storehouse].low == null">
117
+                                                    <span>{{ grainAnalyzeList.min }}</span>
118
+                                                </div>
106 119
                                             </div>
107
-                                            <div ng-if="warningValueList[grainAnalyzeList.storehouse].low == null">
108
-                                                <span>{{ grainAnalyzeList.min }}</span>
120
+                                        </td>
121
+                                        <td style="text-align:center;">
122
+                                            <div ng-if="grainAnalyzeList.avg==250">
123
+                                                <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
109 124
                                             </div>
110
-                                            <!--低温预警-->
125
+                                            <div ng-if="grainAnalyzeList.avg!=250">{{ grainAnalyzeList.avg }}</div>
111 126
                                         </td>
112
-                                        <td style="text-align:center;">{{ grainAnalyzeList.avg}}</td>
113 127
                                         <td style="text-align:center;">
114 128
                                             <a ng-click="grainDetectionDetail(grainAnalyzeList)"><i class=""></i>详情</a>
115 129
                                         </td>

+ 35 - 28
depot-web/src/main/resources/static/app/intelligent/grainInspect/views/pastRecordsData-list.html

@@ -76,57 +76,64 @@
76 76
                                         <td style="text-align:center;">
77 77
                                             {{dicData[storehouseCode[pastRecordsList.storehouse].hwxz]}}
78 78
                                         </td>
79
-                                        <td style="text-align:center;">{{ pastRecordsList.time | date:'yyyy-MM-dd
80
-                                            HH:mm:ss' }}
79
+                                        <td style="text-align:center;">{{ pastRecordsList.time | date:'yyyy-MM-dd HH:mm:ss' }}
81 80
                                         </td>
82 81
                                         <td style="text-align:center;">
83 82
                                             <div ng-if="pastRecordsList.intemp==250">
84
-                                                <acronym title="设备异常"><span style="color: red;">{{ pastRecordsList.intemp }}</span></acronym>
83
+                                                <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
85 84
                                             </div>
86 85
                                             <div ng-if="pastRecordsList.intemp!=250">{{ pastRecordsList.intemp }}</div>
87 86
                                         </td>
88 87
                                         <td style="text-align:center;">
89 88
                                             <div ng-if="pastRecordsList.inh==250">
90
-                                                <acronym title="设备异常"><span style="color: red;">{{ pastRecordsList.inh }}</span></acronym>
89
+                                                <acronym title="设备异常"><span style="color: red;">{{ -1 }}</span></acronym>
91 90
                                             </div>
92 91
                                             <div ng-if="pastRecordsList.inh!=250">{{ pastRecordsList.inh }}</div>
93 92
                                         </td>
94 93
                                         <td style="text-align:center;">
95 94
                                             <!--高温报警-->
96
-                                            <div ng-if="pastRecordsList.max >= warningValueList[pastRecordsList.storehouse].high">
97
-                                                <div ng-if="pastRecordsList.max==250">
98
-                                                    <acronym title="设备异常"><span style="color: red;">{{ pastRecordsList.max }}</span></acronym>
95
+                                            <div ng-if="pastRecordsList.max==250">
96
+                                                <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
97
+                                            </div>
98
+                                            <div ng-if="pastRecordsList.max!=250">
99
+                                                <div ng-if="pastRecordsList.max >= warningValueList[pastRecordsList.storehouse].high">
100
+                                                    <div ng-if="pastRecordsList.max!=250">
101
+                                                        <acronym title="粮温高限报警为: {{warningValueList[pastRecordsList.storehouse].high}}℃"><span style="color: red;">{{ pastRecordsList.max }}</span></acronym>
102
+                                                    </div>
99 103
                                                 </div>
100
-                                                <div ng-if="pastRecordsList.max!=250">
101
-                                                    <acronym
102
-                                                            title="粮温高限报警为: {{warningValueList[pastRecordsList.storehouse].high}}℃"><span
103
-                                                            style="color: red;">{{ pastRecordsList.max }}</span></acronym>
104
+                                                <div ng-if="pastRecordsList.max < warningValueList[pastRecordsList.storehouse].high">
105
+                                                    <span>{{ pastRecordsList.max }}</span>
106
+                                                </div>
107
+                                                <div ng-if="warningValueList[pastRecordsList.storehouse].high == null">
108
+                                                    <span>{{ pastRecordsList.max }}</span>
104 109
                                                 </div>
105 110
                                             </div>
106
-                                            <div ng-if="pastRecordsList.max < warningValueList[pastRecordsList.storehouse].high">
107
-                                                <span>{{ pastRecordsList.max }}</span>
108
-                                            </div>
109
-                                            <div ng-if="warningValueList[pastRecordsList.storehouse].high == null">
110
-                                                <span>{{ pastRecordsList.max }}</span>
111
-                                            </div>
112
-                                            <!--高温预警-->
113 111
                                         </td>
114 112
                                         <td style="text-align:center;">
115 113
                                             <!--低温报警-->
116
-                                            <div ng-if="pastRecordsList.min <= warningValueList[pastRecordsList.storehouse].low">
117
-                                                <acronym
118
-                                                        title="粮温低限报警为: {{warningValueList[pastRecordsList.storehouse].low}}℃"><span
119
-                                                        style="color: red;">{{ pastRecordsList.min }}</span></acronym>
114
+                                            <div ng-if="pastRecordsList.min==250">
115
+                                                <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
120 116
                                             </div>
121
-                                            <div ng-if="pastRecordsList.min > warningValueList[pastRecordsList.storehouse].low">
122
-                                                <span>{{ pastRecordsList.min }}</span>
117
+                                            <div ng-if="pastRecordsList.min!=250">
118
+                                                <div ng-if="pastRecordsList.min <= warningValueList[pastRecordsList.storehouse].low">
119
+                                                    <acronym title="粮温低限报警为: {{warningValueList[pastRecordsList.storehouse].low}}℃">
120
+                                                        <span style="color: red;">{{ pastRecordsList.min }}</span>
121
+                                                    </acronym>
122
+                                                </div>
123
+                                                <div ng-if="pastRecordsList.min > warningValueList[pastRecordsList.storehouse].low">
124
+                                                    <span>{{ pastRecordsList.min }}</span>
125
+                                                </div>
126
+                                                <div ng-if="warningValueList[pastRecordsList.storehouse].low == null">
127
+                                                    <span>{{ pastRecordsList.min }}</span>
128
+                                                </div>
123 129
                                             </div>
124
-                                            <div ng-if="warningValueList[pastRecordsList.storehouse].low == null">
125
-                                                <span>{{ pastRecordsList.min }}</span>
130
+                                        </td>
131
+                                        <td style="text-align:center;">
132
+                                            <div ng-if="pastRecordsList.avg==250">
133
+                                                <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
126 134
                                             </div>
127
-                                            <!--低温预警-->
135
+                                            <div ng-if="pastRecordsList.avg!=250">{{ pastRecordsList.avg}}</div>
128 136
                                         </td>
129
-                                        <td style="text-align:center;">{{ pastRecordsList.avg}}</td>
130 137
                                         <td style="text-align:center;">
131 138
                                             <a ng-click="showView(pastRecordsList)"><i class=""></i>详情</a>
132 139
                                         </td>

+ 32 - 22
depot-web/src/main/resources/static/app/intelligent/grainInspect/views/realTimeData-list.html

@@ -65,49 +65,59 @@
65 65
                                         <td style="text-align:center;">{{ realTimeList.time | date:'yyyy-MM-dd HH:mm:ss' }}</td>
66 66
                                         <td style="text-align:center;">
67 67
                                             <div ng-if="realTimeList.intemp==250">
68
-                                                <acronym title="设备异常"><span style="color: red;">{{ realTimeList.intemp }}</span></acronym>
68
+                                                <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
69 69
                                             </div>
70 70
                                             <div ng-if="realTimeList.intemp!=250">{{ realTimeList.intemp }}</div>
71 71
                                         </td>
72 72
                                         <td style="text-align:center;">
73 73
                                             <div ng-if="realTimeList.inh==250">
74
-                                                <acronym title="设备异常"><span style="color: red;">{{ realTimeList.inh }}</span></acronym>
74
+                                                <acronym title="设备异常"><span style="color: red;">{{ -1 }}</span></acronym>
75 75
                                             </div>
76 76
                                             <div ng-if="realTimeList.inh!=250">{{ realTimeList.inh }}</div>
77 77
                                         </td>
78 78
 
79 79
                                         <td style="text-align:center;">
80 80
                                             <!--高温报警-->
81
-                                            <div ng-if="realTimeList.max >= warningValueList[realTimeList.storehouse].high">
82
-                                                <div ng-if="realTimeList.max==250">
83
-                                                    <acronym title="设备异常"><span style="color: red;">{{ realTimeList.max }}</span></acronym>
81
+                                            <div ng-if="realTimeList.max==250">
82
+                                                <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
83
+                                            </div>
84
+                                            <div ng-if="realTimeList.max!=250">
85
+                                                <div ng-if="realTimeList.max >= warningValueList[realTimeList.storehouse].high">
86
+                                                    <div ng-if="realTimeList.max!=250">
87
+                                                        <acronym title="粮温高限报警为: {{warningValueList[realTimeList.storehouse].high}}℃"><span style="color: red;">{{ realTimeList.max }}</span></acronym>
88
+                                                    </div>
84 89
                                                 </div>
85
-                                                <div ng-if="realTimeList.max!=250">
86
-                                                    <acronym title="粮温高限报警为: {{warningValueList[realTimeList.storehouse].high}}℃"><span style="color: red;">{{ realTimeList.max }}</span></acronym>
90
+                                                <div ng-if="realTimeList.max < warningValueList[realTimeList.storehouse].high">
91
+                                                    <span>{{ realTimeList.max }}</span>
92
+                                                </div>
93
+                                                <div ng-if="warningValueList[realTimeList.storehouse].high == null">
94
+                                                    <span>{{ realTimeList.max }}</span>
87 95
                                                 </div>
88 96
                                             </div>
89
-                                            <div ng-if="realTimeList.max < warningValueList[realTimeList.storehouse].high">
90
-                                                <span>{{ realTimeList.max }}</span>
91
-                                            </div>
92
-                                            <div ng-if="warningValueList[realTimeList.storehouse].high == null">
93
-                                                <span>{{ realTimeList.max }}</span>
94
-                                            </div>
95
-                                            <!--高温预警-->
96 97
                                         </td>
97 98
                                         <td style="text-align:center;">
98 99
                                             <!--低温报警-->
99
-                                            <div ng-if="realTimeList.min <= warningValueList[realTimeList.storehouse].low">
100
-                                                <acronym title="粮温低限报警为: {{warningValueList[realTimeList.storehouse].low}}℃"><span style="color: red;">{{ realTimeList.min }}</span></acronym>
100
+                                            <div ng-if="realTimeList.min==250">
101
+                                                <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
101 102
                                             </div>
102
-                                            <div ng-if="realTimeList.min > warningValueList[realTimeList.storehouse].low">
103
-                                                <span>{{ realTimeList.min }}</span>
103
+                                            <div ng-if="realTimeList.min!=250">
104
+                                                <div ng-if="realTimeList.min <= warningValueList[realTimeList.storehouse].low">
105
+                                                    <acronym title="粮温低限报警为: {{warningValueList[realTimeList.storehouse].low}}℃"><span style="color: red;">{{ realTimeList.min }}</span></acronym>
106
+                                                </div>
107
+                                                <div ng-if="realTimeList.min > warningValueList[realTimeList.storehouse].low">
108
+                                                    <span>{{ realTimeList.min }}</span>
109
+                                                </div>
110
+                                                <div ng-if="warningValueList[realTimeList.storehouse].low == null">
111
+                                                    <span>{{ realTimeList.min }}</span>
112
+                                                </div>
104 113
                                             </div>
105
-                                            <div ng-if="warningValueList[realTimeList.storehouse].low == null">
106
-                                                <span>{{ realTimeList.min }}</span>
114
+                                        </td>
115
+                                        <td style="text-align:center;">
116
+                                            <div ng-if="realTimeList.avg==250">
117
+                                                <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
107 118
                                             </div>
108
-                                            <!--低温预警-->
119
+                                            <div ng-if="realTimeList.avg!=250">{{ realTimeList.avg}}</div>
109 120
                                         </td>
110
-                                        <td style="text-align:center;">{{ realTimeList.avg}}</td>
111 121
                                         <td has-botton="2" style="text-align:center;">
112 122
                                             <a href-void ng-click="onlyStoreGrainTemperatureDetection(realTimeList.storehouse)"><i class=""></i>{{storeHouseCodeObj[realTimeList.storehouse].storehouseName}}检测</a>
113 123
                                         </td>

+ 44 - 31
depot-web/src/main/resources/static/app/intelligent/grainInspect/views/reportForms-list.html

@@ -98,68 +98,81 @@
98 98
                                             <td style="text-align:center;">
99 99
                                                 {{storehouseCode[grainReport.storehouse].kcsl}}
100 100
                                             </td>
101
-                                            <td style="text-align:center;">{{ grainReport.time | date:'yyyy-MM-dd
102
-                                                HH:mm:ss' }}
101
+                                            <td style="text-align:center;">{{ grainReport.time | date:'yyyy-MM-dd HH:mm:ss' }}
103 102
                                             </td>
104 103
                                             <td style="text-align:center;">
105 104
                                                 <div ng-if="grainReport.outtemp==250">
106
-                                                    <acronym title="设备异常"><span style="color: red;">{{ grainReport.outtemp }}</span></acronym>
105
+                                                    <acronym title="设备异常"><span
106
+                                                            style="color: red;">{{ -100 }}</span></acronym>
107 107
                                                 </div>
108 108
                                                 <div ng-if="grainReport.outtemp!=250">{{ grainReport.outtemp }}</div>
109 109
                                             </td>
110 110
                                             <td style="text-align:center;">
111 111
                                                 <div ng-if="grainReport.outh==250">
112
-                                                    <acronym title="设备异常"><span style="color: red;">{{ grainReport.outh }}</span></acronym>
112
+                                                    <acronym title="设备异常"><span
113
+                                                            style="color: red;">{{ -1 }}</span></acronym>
113 114
                                                 </div>
114 115
                                                 <div ng-if="grainReport.outh!=250">{{ grainReport.outh }}</div>
115 116
                                             </td>
116 117
                                             <td style="text-align:center;">
117 118
                                                 <div ng-if="grainReport.intemp==250">
118
-                                                    <acronym title="设备异常"><span style="color: red;">{{ grainReport.intemp }}</span></acronym>
119
+                                                    <acronym title="设备异常"><span
120
+                                                            style="color: red;">{{ -100 }}</span></acronym>
119 121
                                                 </div>
120 122
                                                 <div ng-if="grainReport.intemp!=250">{{ grainReport.intemp }}</div>
121 123
                                             </td>
122 124
                                             <td style="text-align:center;">
123 125
                                                 <div ng-if="grainReport.inh==250">
124
-                                                    <acronym title="设备异常"><span style="color: red;">{{ grainReport.inh }}</span></acronym>
126
+                                                    <acronym title="设备异常"><span
127
+                                                            style="color: red;">{{ -1 }}</span></acronym>
125 128
                                                 </div>
126 129
                                                 <div ng-if="grainReport.inh!=250">{{ grainReport.inh }}</div>
127 130
                                             </td>
128
-                                            <td style="text-align:center;">{{ grainReport.avg}}</td>
131
+                                            <td style="text-align:center;">
132
+                                                <div ng-if="grainReport.avg==250">
133
+                                                    <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
134
+                                                </div>
135
+                                                <div ng-if="grainReport.avg!=250">{{ grainReport.avg }}</div>
136
+                                            </td>
129 137
                                             <td style="text-align:center;">
130 138
                                                 <!--高温报警-->
131
-                                                <div ng-if="grainReport.max >= warningValueList[grainReport.storehouse].high">
132
-                                                    <div ng-if="grainReport.max==250">
133
-                                                        <acronym title="设备异常"><span style="color: red;">{{ grainReport.max }}</span></acronym>
139
+                                                <div ng-if="grainReport.max==250">
140
+                                                    <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
141
+                                                </div>
142
+                                                <div ng-if="grainReport.max!=250">
143
+                                                    <div ng-if="grainReport.max >= warningValueList[grainReport.storehouse].high">
144
+                                                        <div ng-if="grainReport.max!=250">
145
+                                                            <acronym title="粮温高限报警为: {{warningValueList[grainReport.storehouse].high}}℃">
146
+                                                                <span style="color: red;">{{ grainReport.max }}</span>
147
+                                                            </acronym>
148
+                                                        </div>
134 149
                                                     </div>
135
-                                                    <div ng-if="grainReport.max!=250">
136
-                                                        <acronym
137
-                                                                title="粮温高限报警为: {{warningValueList[grainReport.storehouse].high}}℃"><span
138
-                                                                style="color: red;">{{ grainReport.max }}</span></acronym>
150
+                                                    <div ng-if="grainReport.max < warningValueList[grainReport.storehouse].high">
151
+                                                        <span>{{ grainReport.max }}</span>
152
+                                                    </div>
153
+                                                    <div ng-if="warningValueList[grainReport.storehouse].high == null">
154
+                                                        <span>{{ grainReport.max }}</span>
139 155
                                                     </div>
140 156
                                                 </div>
141
-                                                <div ng-if="grainReport.max < warningValueList[grainReport.storehouse].high">
142
-                                                    <span>{{ grainReport.max }}</span>
143
-                                                </div>
144
-                                                <div ng-if="warningValueList[grainReport.storehouse].high == null">
145
-                                                    <span>{{ grainReport.max }}</span>
146
-                                                </div>
147
-                                                <!--高温预警-->
148 157
                                             </td>
149 158
                                             <td style="text-align:center;">
150 159
                                                 <!--低温报警-->
151
-                                                <div ng-if="grainReport.min <= warningValueList[grainReport.storehouse].low">
152
-                                                    <acronym
153
-                                                            title="粮温低限报警为: {{warningValueList[grainReport.storehouse].low}}℃"><span
154
-                                                            style="color: red;">{{ grainReport.min }}</span></acronym>
155
-                                                </div>
156
-                                                <div ng-if="grainReport.min > warningValueList[grainReport.storehouse].low">
157
-                                                    <span>{{ grainReport.min }}</span>
160
+                                                <div ng-if="grainReport.min==250">
161
+                                                    <acronym title="设备异常"><span style="color: red;">{{ -100 }}</span></acronym>
158 162
                                                 </div>
159
-                                                <div ng-if="warningValueList[grainReport.storehouse].low == null">
160
-                                                    <span>{{ grainReport.min }}</span>
163
+                                                <div ng-if="grainReport.min!=250">
164
+                                                    <div ng-if="grainReport.min <= warningValueList[grainReport.storehouse].low">
165
+                                                        <acronym title="粮温低限报警为: {{warningValueList[grainReport.storehouse].low}}℃">
166
+                                                            <span style="color: red;">{{ grainReport.min }}</span>
167
+                                                        </acronym>
168
+                                                    </div>
169
+                                                    <div ng-if="grainReport.min > warningValueList[grainReport.storehouse].low">
170
+                                                        <span>{{ grainReport.min }}</span>
171
+                                                    </div>
172
+                                                    <div ng-if="warningValueList[grainReport.storehouse].low == null">
173
+                                                        <span>{{ grainReport.min }}</span>
174
+                                                    </div>
161 175
                                                 </div>
162
-                                                <!--低温预警-->
163 176
                                             </td>
164 177
                                         </tr>
165 178
                                         </tbody>