Engine¶
struct nmeasim::core::model::Engine ยท Library API
One propulsion engine.
#include <nmeasim/core/model/vessel_state.hpp>
Declared in src/core/include/nmeasim/core/model/vessel_state.hpp (line 161)
Engines are numbered in VesselState::engines order: from 1 in RPM, from 0 in the XDR transducer names ENGINE#n.
Summary¶
Public data members
| Name | Description |
|---|---|
label |
Display name, from which signalk::engine_id derives the identifier of the engine's Signal K propulsion paths. |
running |
Whether the engine runs; false reports zero revolutions regardless of revolutions_rpm and the Signal K state stopped. |
revolutions_rpm |
Shaft revolutions per minute while running, sent in RPM and XDR. |
coolant_temperature_c |
Coolant temperature, sent in XDR and Signal K. |
Public data members¶
label¶
std::string label{"Engine"}
Display name, from which signalk::engine_id derives the identifier of the engine's Signal K propulsion paths.
Declared in src/core/include/nmeasim/core/model/vessel_state.hpp:164
running¶
bool running{false}
Whether the engine runs; false reports zero revolutions regardless of revolutions_rpm and the Signal K state stopped.
Declared in src/core/include/nmeasim/core/model/vessel_state.hpp:167
revolutions_rpm¶
double revolutions_rpm{0.0}
Shaft revolutions per minute while running, sent in RPM and XDR.
Declared in src/core/include/nmeasim/core/model/vessel_state.hpp:169
coolant_temperature_c¶
double coolant_temperature_c{20.0}
Coolant temperature, sent in XDR and Signal K.
Declared in src/core/include/nmeasim/core/model/vessel_state.hpp:171