Fix feed rate detection
This commit is contained in:
parent
dd2dc0ac65
commit
d7a32e18ce
@ -17,11 +17,11 @@
|
|||||||
"igniterOff": 0
|
"igniterOff": 0
|
||||||
},
|
},
|
||||||
"intervals": {
|
"intervals": {
|
||||||
"augerOn": 600,
|
"augerOn": "600",
|
||||||
"augerOff": 1400,
|
"augerOff": "1400",
|
||||||
"pause": 3000,
|
"pause": "3000",
|
||||||
"igniterStart": 5000,
|
"igniterStart": "5000",
|
||||||
"blowerStop": 5000
|
"blowerStop": "5000"
|
||||||
},
|
},
|
||||||
"web": {
|
"web": {
|
||||||
"port": 8080,
|
"port": 8080,
|
||||||
|
@ -50,13 +50,13 @@ function refreshData() {
|
|||||||
augerOff.innerHTML = config.intervals.augerOff;
|
augerOff.innerHTML = config.intervals.augerOff;
|
||||||
|
|
||||||
switch (config.intervals.augerOn) {
|
switch (config.intervals.augerOn) {
|
||||||
case 600:
|
case '600':
|
||||||
feedRate.innerHTML = 'Low';
|
feedRate.innerHTML = 'Low';
|
||||||
break;
|
break;
|
||||||
case 800:
|
case '800':
|
||||||
feedRate.innerHTML = 'Medium';
|
feedRate.innerHTML = 'Medium';
|
||||||
break;
|
break;
|
||||||
case 1000:
|
case '1000':
|
||||||
feedRate.innerHTML = 'High';
|
feedRate.innerHTML = 'High';
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user