expose fuel_pump_control and other engineModules via Lua fix #5239
This commit is contained in:
parent
e2d02c600e
commit
18516db392
|
@ -30,6 +30,9 @@ Release template (copy/paste this for new release):
|
|||
|
||||
### Added
|
||||
|
||||
### Fixed
|
||||
- fuel_pump_control is accessible as getOutput("isFuelPumpOn") in Lua #5239
|
||||
|
||||
## June 2023 Release "Day 466"
|
||||
|
||||
### Breaking Changes
|
||||
|
|
|
@ -85,6 +85,7 @@ Usages:
|
|||
java: FuelPump.java
|
||||
folder: controllers/actuators
|
||||
output_name: fuelPump
|
||||
engineModule: FuelPumpController
|
||||
|
||||
- name: main_relay
|
||||
java: MainRelay.java
|
||||
|
|
Binary file not shown.
|
@ -140,7 +140,8 @@ public class LiveDataProcessor {
|
|||
} else if (engineModule != null) {
|
||||
outputValueConsumer.currentEngineModule = engineModule;
|
||||
outputValueConsumer.moduleMode = true;
|
||||
|
||||
outputValueConsumer.conditional = conditional;
|
||||
state.addDestination((state1, structure) -> outputValueConsumer.handleEndStruct(state1, structure));
|
||||
}
|
||||
state.addDestination(new ConfigurationConsumer() {
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue