绿小能
This commit is contained in:
parent
a08bf3321e
commit
b22e8f05de
|
|
@ -455,7 +455,11 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
console.log(showObject,'showObjectshowObject');
|
console.log(showObject,'showObjectshowObject');
|
||||||
this.xinpin = showObject.showArray[showObject.showArray.length - 1]
|
if(this.ver == 'ver290' || this.ver == 'ver290'){
|
||||||
|
this.xinpin = showObject.showArray[showObject.showArray.length - 1]
|
||||||
|
}else{
|
||||||
|
this.xinpin = showObject.showArray[showObject.showArray.length - 2]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case xBlufi.XBLUFI_TYPE.TYPE_GET_DEVICE_LISTS_START:
|
case xBlufi.XBLUFI_TYPE.TYPE_GET_DEVICE_LISTS_START:
|
||||||
|
|
|
||||||
|
|
@ -1950,8 +1950,13 @@
|
||||||
nextTimeDiff: this.xctime,
|
nextTimeDiff: this.xctime,
|
||||||
prevTime: this.sctimejs
|
prevTime: this.sctimejs
|
||||||
});
|
});
|
||||||
this.xinp = this.showobj.showArray[this.showobj.showArray.length - 2]
|
if(this.ver == 'ver290' || this.ver == 'ver280'){
|
||||||
this.dianya = this.showobj.showArray[this.showobj.showArray.length - 1]
|
this.xinp = this.showobj.showArray[this.showobj.showArray.length - 2]
|
||||||
|
this.dianya = this.showobj.showArray[this.showobj.showArray.length - 1]
|
||||||
|
}else{
|
||||||
|
this.xinp = this.showobj.showArray[this.showobj.showArray.length - 1]
|
||||||
|
this.dianya = 0
|
||||||
|
}
|
||||||
console.log('息屏',this.xinp,'电压',this.dianya);
|
console.log('息屏',this.xinp,'电压',this.dianya);
|
||||||
this.getdianliang()
|
this.getdianliang()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user