|
@@ -32,9 +32,11 @@
|
|
<span
|
|
<span
|
|
:class="{
|
|
:class="{
|
|
'signal-round': true,
|
|
'signal-round': true,
|
|
- 'signal-round-run':selectData[`${deviceProperty.modelMonitor[0].key}${groupNum}${preMonitor.code}`] == '0',
|
|
|
|
- 'signal-round-warning':selectData[`${deviceProperty.modelMonitor[0].key}${groupNum}${preMonitor.code}`] == '1',
|
|
|
|
- 'signal-round-gry': selectData[`${deviceProperty.modelMonitor[0].key}${groupNum}${preMonitor.code}`] != '1' && selectData[`${deviceProperty.modelMonitor[0].key}${groupNum}${preMonitor.code}`] != '0',
|
|
|
|
|
|
+ 'signal-round-run': selectData[`${deviceProperty.modelMonitor[0].key}${groupNum}${preMonitor.code}`] == '0',
|
|
|
|
+ 'signal-round-warning': selectData[`${deviceProperty.modelMonitor[0].key}${groupNum}${preMonitor.code}`] == '1',
|
|
|
|
+ 'signal-round-gry':
|
|
|
|
+ selectData[`${deviceProperty.modelMonitor[0].key}${groupNum}${preMonitor.code}`] != '1' &&
|
|
|
|
+ selectData[`${deviceProperty.modelMonitor[0].key}${groupNum}${preMonitor.code}`] != '0',
|
|
}"
|
|
}"
|
|
></span>
|
|
></span>
|
|
</div>
|
|
</div>
|
|
@@ -61,9 +63,11 @@
|
|
<span
|
|
<span
|
|
:class="{
|
|
:class="{
|
|
'signal-round': true,
|
|
'signal-round': true,
|
|
- 'signal-round-run':selectData[`${deviceProperty.modelMonitor[0].key}${groupNum}${cqgMonitor.code}`] == '0',
|
|
|
|
- 'signal-round-warning':selectData[`${deviceProperty.modelMonitor[0].key}${groupNum}${cqgMonitor.code}`] == '1',
|
|
|
|
- 'signal-round-gry': selectData[`${deviceProperty.modelMonitor[0].key}${groupNum}${cqgMonitor.code}`] != '1' && selectData[`${deviceProperty.modelMonitor[0].key}${groupNum}${cqgMonitor.code}`] != '0',
|
|
|
|
|
|
+ 'signal-round-run': selectData[`${deviceProperty.modelMonitor[0].key}${groupNum}${cqgMonitor.code}`] == '0',
|
|
|
|
+ 'signal-round-warning': selectData[`${deviceProperty.modelMonitor[0].key}${groupNum}${cqgMonitor.code}`] == '1',
|
|
|
|
+ 'signal-round-gry':
|
|
|
|
+ selectData[`${deviceProperty.modelMonitor[0].key}${groupNum}${cqgMonitor.code}`] != '1' &&
|
|
|
|
+ selectData[`${deviceProperty.modelMonitor[0].key}${groupNum}${cqgMonitor.code}`] != '0',
|
|
}"
|
|
}"
|
|
></span>
|
|
></span>
|
|
</div>
|
|
</div>
|
|
@@ -117,9 +121,9 @@
|
|
<span
|
|
<span
|
|
:class="{
|
|
:class="{
|
|
'signal-round': true,
|
|
'signal-round': true,
|
|
- 'signal-round-run':item.type=='sign' ? selectData[deviceKey + item.code] == '1' : selectData[deviceKey + item.code] == '0',
|
|
|
|
- 'signal-round-gry': selectData[deviceKey + item.code] != '0' && selectData[deviceKey + item.code] != '1',
|
|
|
|
- 'signal-round-warning':item.type=='sign' ? selectData[deviceKey + item.code] == '0' : selectData[deviceKey + item.code] == '1',
|
|
|
|
|
|
+ 'signal-round-run': item.type === 'sign' && selectData[deviceKey + item.code] == '1',
|
|
|
|
+ 'signal-round-gry': selectData[deviceKey + item.code] == '0' || !selectData[deviceKey + item.code],
|
|
|
|
+ 'signal-round-warning': item.type === 'warning' && selectData[deviceKey + item.code] == '1',
|
|
}"
|
|
}"
|
|
></span>
|
|
></span>
|
|
</div>
|
|
</div>
|
|
@@ -166,9 +170,9 @@
|
|
<span
|
|
<span
|
|
:class="{
|
|
:class="{
|
|
'signal-round': true,
|
|
'signal-round': true,
|
|
- 'signal-round-run':item.type=='sign' ? selectData[deviceKey + item.code] == '1' : selectData[deviceKey + item.code] == '0',
|
|
|
|
- 'signal-round-gry': selectData[deviceKey + item.code] != '0' && selectData[deviceKey + item.code] != '1',
|
|
|
|
- 'signal-round-warning':item.type=='sign' ? selectData[deviceKey + item.code] == '0' : selectData[deviceKey + item.code] == '1',
|
|
|
|
|
|
+ 'signal-round-run': item.type === 'sign' && selectData[deviceKey + item.code] == '1',
|
|
|
|
+ 'signal-round-gry': selectData[deviceKey + item.code] == '0' || !selectData[deviceKey + item.code],
|
|
|
|
+ 'signal-round-warning': item.type === 'warning' && selectData[deviceKey + item.code] == '1',
|
|
}"
|
|
}"
|
|
></span>
|
|
></span>
|
|
</div>
|
|
</div>
|