Update status indicators to use new levels
This commit is contained in:
parent
6ab9bed2b4
commit
2358d6eb8f
@ -54,11 +54,11 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="feedRate">Feed Rate: </label>
|
<label for="feedRate">Feed Rate: </label>
|
||||||
<select name="feedRate" class="form-control" id="feed-rate-select">
|
<select name="feedRate" class="form-control" id="feed-rate-select">
|
||||||
<option value="500">1</option>
|
<option value="500">Low</option>
|
||||||
<option value="625">2</option>
|
<option value="625">Medium-Low</option>
|
||||||
<option value="750">3</option>
|
<option value="750">Medium</option>
|
||||||
<option value="875">4</option>
|
<option value="875">Medium-High</option>
|
||||||
<option value="1000">5</option>
|
<option value="1000">High</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="button-container d-flex justify-content-end">
|
<div class="button-container d-flex justify-content-end">
|
||||||
@ -128,17 +128,25 @@
|
|||||||
augerOff.innerHTML = config.intervals.augerOff;
|
augerOff.innerHTML = config.intervals.augerOff;
|
||||||
|
|
||||||
switch (config.intervals.augerOn) {
|
switch (config.intervals.augerOn) {
|
||||||
case '600':
|
case '500':
|
||||||
feedRate.innerHTML = 'Low';
|
feedRate.innerHTML = 'Low';
|
||||||
feedRateSelect.selectedIndex = 0;
|
feedRateSelect.selectedIndex = 0;
|
||||||
break;
|
break;
|
||||||
case '800':
|
case '625':
|
||||||
feedRate.innerHTML = 'Medium';
|
feedRate.innerHTML = 'Medium-Low';
|
||||||
feedRateSelect.selectedIndex = 1;
|
feedRateSelect.selectedIndex = 1;
|
||||||
break;
|
break;
|
||||||
|
case '750':
|
||||||
|
feedRate.innerHTML = 'Medium';
|
||||||
|
feedRateSelect.selectedIndex = 2;
|
||||||
|
break;
|
||||||
|
case '875':
|
||||||
|
feedRate.innerHTML = 'Medium-High';
|
||||||
|
feedRateSelect.selectedIndex = 3;
|
||||||
|
break;
|
||||||
case '1000':
|
case '1000':
|
||||||
feedRate.innerHTML = 'High';
|
feedRate.innerHTML = 'High';
|
||||||
feedRateSelect.selectedIndex = 2;
|
feedRateSelect.selectedIndex = 4;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
feedRate.innerHTML = 'Unknown';
|
feedRate.innerHTML = 'Unknown';
|
||||||
|
Loading…
Reference in New Issue
Block a user