KSP-RO / SolverEngines

A subclass of ModuleEnginesFX which supports AJE-style solvers.
8 stars 19 forks source link

Expose numeric field engineTemp? #33

Closed MOARdV closed 4 years ago

MOARdV commented 6 years ago

I'm adding support in MOARdV's Avionics Systems to interact with AJE engines, starting with propeller engines. One value that I'd like to provide is the engine temperature in ModuleEnginesSolver. However, it's protected. Would it be possible to add a public property that allows me to read that value so that I don't need to read the temperature string UI field and convert it to a double?

Starwaster commented 5 years ago

Only a year late but this will be done via ModuleEnginesSolver.GetEngineTemp in the next update (for KSP 1.6)

DRVeyl commented 4 years ago

Looks like this issue is completed? (Ended up here looking specifically for getting the engine temp from SolverEngines)

DRVeyl commented 4 years ago

Fixed with https://github.com/KSP-RO/SolverEngines/commit/2583d99afcbda633b4dbc09ce30147cb41a20cfc