Class PowerSwitchableGeneratorComponent
Enables a generator to switch between HV and MV output.
Inheritance
System.Object
PowerSwitchableGeneratorComponent
Namespace: Content.Shared.Power.Generator
Assembly: Content.Shared.dll
Syntax
public sealed class PowerSwitchableGeneratorComponent : Component
Remarks
Must have CableDeviceNode
s for both NodeOutputMV and NodeOutputHV, and also a PowerSupplierComponent
.
Properties
| Improve this Doc View SourceActiveOutput
Which output the portable generator is currently connected to.
Declaration
public PowerSwitchableGeneratorOutput ActiveOutput { get; set; }
Property Value
Type | Description |
---|---|
PowerSwitchableGeneratorOutput |
NodeOutputHV
Which node is the HV output?
Declaration
public string NodeOutputHV { get; set; }
Property Value
Type | Description |
---|---|
System.String |
NodeOutputMV
Which node is the MV output?
Declaration
public string NodeOutputMV { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SwitchSound
Sound that plays when the output is switched.
Declaration
public SoundSpecifier SwitchSound { get; set; }
Property Value
Type | Description |
---|---|
Robust.Shared.Audio.SoundSpecifier |