DotNet.Ships.Record.PowerConsumer - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Ships / PowerConsumer
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Power.cs:13
One fitted module's claim on the power plant.
The journal's Priority field counts from zero, so its zero is priority group one here.
new PowerConsumer(
Draw)
double
The power draw, in megawatts, post-engineering. It must be finite and zero or more.
DeployedOnly:
bool
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Power.cs:28
Whether the module draws only while the hardpoints are deployed. This is true for every weapon, and for the utility fittings that are not always powered.
Draw:
double
The power draw, in megawatts, post-engineering. It must be finite and zero or more.
Enabled:
bool
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Power.cs:22
Whether the module is switched on. A module switched off draws nothing.
Label:
string?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Power.cs:31
An optional label for the module, which the arithmetic ignores.
Priority:
int?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Power.cs:19
The priority group, from one through five, as the outfitting panel numbers them. A value outside that range is clamped into it, and an absent one means group one.
Symbol:
string?
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Power.cs:34
An optional module symbol, carried through to the result.