This commit is contained in:
Your Name 2020-01-20 15:01:27 +00:00
parent ce5f2046b2
commit 0563b88131
1 changed files with 3 additions and 0 deletions

View File

@ -140,8 +140,11 @@
gotWsMessage: function(e) { gotWsMessage: function(e) {
var d=e.data; var d=e.data;
this.currentSpeed=d.speed; this.currentSpeed=d.speed;
this.speed.set(this.currentSpeed);
this.currentRPM=d.rpm; this.currentRPM=d.rpm;
this.rpm.set(this.currentRPM);
this.currentPSI=parseFloat(d.psi)/2.036.toFixed(2); this.currentPSI=parseFloat(d.psi)/2.036.toFixed(2);
this.psi.set(this.currentPSI);
} }
} }