using Content.Server.Power.Components; using Content.Shared.Power.Components; namespace Content.Server.SensorMonitoring; /// /// Enables a battery entity (such as an SMES) to be monitored via the sensor monitoring console. /// /// /// The entity should also have a and . /// [RegisterComponent] public sealed partial class BatterySensorComponent : Component { } /// /// Device network data sent by a . /// /// The current energy charge of the battery, in joules (J). /// The maximum energy capacity of the battery, in joules (J). /// The current amount of power being received by the battery, in watts (W). /// The maximum amount of power that can be received by the battery, in watts (W). /// The current amount of power being supplied by the battery, in watts (W). /// The maximum amount of power that can be received by the battery, in watts (W). public sealed record BatterySensorData( float Charge, float MaxCharge, float Receiving, float MaxReceiving, float Supplying, float MaxSupplying );