Link fuel truck and fuel panel
This commit is contained in:
parent
e2acf228f8
commit
27bf3f8f5e
1 changed files with 3 additions and 0 deletions
|
@ -27,6 +27,9 @@ var fuelSvc = {
|
||||||
|
|
||||||
if (me.enable.getValue() and me.connect.getValue()) {
|
if (me.enable.getValue() and me.connect.getValue()) {
|
||||||
me.operate.setBoolValue(1);
|
me.operate.setBoolValue(1);
|
||||||
|
} else {
|
||||||
|
screen.log.write("Fuel truck not connected", 1, 0, 0);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
fuelTimer.start();
|
fuelTimer.start();
|
||||||
|
|
Loading…
Reference in a new issue