Show / Hide Table of Contents

Class PowerNetworkBatteryComponent

Glue component that manages the pow3r network node for batteries that are connected to the power network.

Inheritance
System.Object
PowerNetworkBatteryComponent
Namespace: Content.Server.Power.Components
Assembly: Content.Server.dll
Syntax
public sealed class PowerNetworkBatteryComponent : Component
Remarks

This needs components like BatteryChargerComponent to work correctly, and battery storage should be handed off to components like BatteryComponent.

Fields

| Improve this Doc View Source

LastSupply

Declaration
public float LastSupply
Field Value
Type Description
System.Single

Properties

| Improve this Doc View Source

CanCharge

Declaration
public bool CanCharge { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CanDischarge

Declaration
public bool CanDischarge { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CurrentReceiving

Declaration
public float CurrentReceiving { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

CurrentSupply

Declaration
public float CurrentSupply { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

Efficiency

Declaration
public float Efficiency { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

Enabled

Declaration
public bool Enabled { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

LoadingNetworkDemand

Declaration
public float LoadingNetworkDemand { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

MaxChargeRate

Declaration
public float MaxChargeRate { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

MaxSupply

Declaration
public float MaxSupply { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

NetworkBattery

Declaration
public PowerState.Battery NetworkBattery { get; }
Property Value
Type Description
PowerState.Battery
| Improve this Doc View Source

SupplyRampPosition

Declaration
public float SupplyRampPosition { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

SupplyRampRate

Declaration
public float SupplyRampRate { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

SupplyRampTolerance

Declaration
public float SupplyRampTolerance { get; set; }
Property Value
Type Description
System.Single
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾