Show / Hide Table of Contents

Class PowerState.Battery

Inheritance
System.Object
PowerState.Battery
Namespace: Content.Server.Power.Pow3r
Assembly: Content.Server.dll
Syntax
public sealed class Battery : object

Fields

| Improve this Doc View Source

AvailableSupply

Amount of supply that the battery can provide this tick.

Declaration
public float AvailableSupply
Field Value
Type Description
System.Single
| Improve this Doc View Source

CanCharge

Declaration
public bool CanCharge
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

CanDischarge

Declaration
public bool CanDischarge
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Capacity

Declaration
public float Capacity
Field Value
Type Description
System.Single
| Improve this Doc View Source

CurrentReceiving

Declaration
public float CurrentReceiving
Field Value
Type Description
System.Single
| Improve this Doc View Source

CurrentStorage

Declaration
public float CurrentStorage
Field Value
Type Description
System.Single
| Improve this Doc View Source

CurrentSupply

Declaration
public float CurrentSupply
Field Value
Type Description
System.Single
| Improve this Doc View Source

DesiredPower

Declaration
public float DesiredPower
Field Value
Type Description
System.Single
| Improve this Doc View Source

Efficiency

Declaration
public float Efficiency
Field Value
Type Description
System.Single
| Improve this Doc View Source

Enabled

Declaration
public bool Enabled
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Id

Declaration
public PowerState.NodeId Id
Field Value
Type Description
PowerState.NodeId
| Improve this Doc View Source

LinkedNetworkCharging

Declaration
public PowerState.NodeId LinkedNetworkCharging
Field Value
Type Description
PowerState.NodeId
| Improve this Doc View Source

LinkedNetworkDischarging

Declaration
public PowerState.NodeId LinkedNetworkDischarging
Field Value
Type Description
PowerState.NodeId
| Improve this Doc View Source

LoadingMarked

Declaration
public bool LoadingMarked
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

LoadingNetworkDemand

Declaration
public float LoadingNetworkDemand
Field Value
Type Description
System.Single
| Improve this Doc View Source

MaxChargeRate

Declaration
public float MaxChargeRate
Field Value
Type Description
System.Single
| Improve this Doc View Source

MaxEffectiveSupply

Theoretical maximum effective supply, assuming the network providing power to this battery continues to supply it at the same rate.

Declaration
public float MaxEffectiveSupply
Field Value
Type Description
System.Single
| Improve this Doc View Source

MaxSupply

Declaration
public float MaxSupply
Field Value
Type Description
System.Single
| Improve this Doc View Source

MaxThroughput

Declaration
public float MaxThroughput
Field Value
Type Description
System.Single
| Improve this Doc View Source

Paused

Declaration
public bool Paused
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

SupplyingMarked

Declaration
public bool SupplyingMarked
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

SupplyRampPosition

Declaration
public float SupplyRampPosition
Field Value
Type Description
System.Single
| Improve this Doc View Source

SupplyRampRate

Declaration
public float SupplyRampRate
Field Value
Type Description
System.Single
| Improve this Doc View Source

SupplyRampTarget

Declaration
public float SupplyRampTarget
Field Value
Type Description
System.Single
| Improve this Doc View Source

SupplyRampTolerance

The batteries supply ramp tolerance. This is an always available supply added to the ramped supply.

Declaration
public float SupplyRampTolerance
Field Value
Type Description
System.Single
Remarks

Note that this MUST BE GREATER THAN ZERO, otherwise the current battery ramping calculation will not work.

  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾