DotNet.Ships.Record.PowerConsumer - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

EliteDangerousAlmanac / Ships / PowerConsumer

Record: PowerConsumer

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Power.cs:13

One fitted module's claim on the power plant.

Remarks

The journal's Priority field counts from zero, so its zero is priority group one here.

Constructors

new PowerConsumer()

new PowerConsumer(Draw)

Parameters

Draw

double

The power draw, in megawatts, post-engineering. It must be finite and zero or more.

Properties

DeployedOnly

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

Draw: double

The power draw, in megawatts, post-engineering. It must be finite and zero or more.

Enabled

Enabled: bool

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Power.cs:22

Whether the module is switched on. A module switched off draws nothing.

Label

Label: string?

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Power.cs:31

An optional label for the module, which the arithmetic ignores.

Priority

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

Symbol: string?

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Power.cs:34

An optional module symbol, carried through to the result.

⚠️ **GitHub.com Fallback** ⚠️