ibp盘问题调整
This commit is contained in:
parent
aa00f27ecc
commit
4ada7f987a
@ -198,7 +198,8 @@ class IbpPan {
|
|||||||
const deviceList = Object.values(this.ibpDevice);
|
const deviceList = Object.values(this.ibpDevice);
|
||||||
deviceList.forEach(elem =>{
|
deviceList.forEach(elem =>{
|
||||||
for (var key in val) {
|
for (var key in val) {
|
||||||
if (elem.model.mean === key.toUpperCase()) {
|
const mean = elem.model.mean || '';
|
||||||
|
if (mean.toUpperCase() === key.toUpperCase()) {
|
||||||
const state = {};
|
const state = {};
|
||||||
state[key] = val[key];
|
state[key] = val[key];
|
||||||
elem.instance.setStatus(state);
|
elem.instance.setStatus(state);
|
||||||
|
Loading…
Reference in New Issue
Block a user