using Content.Shared.DeviceNetwork; namespace Content.Shared.SensorMonitoring; /// /// Data about a battery sent to the power monitoring console. /// public partial record struct BatterySensorDataPayload : INetworkPayload { [DataField] public BatterySensorData Data; } /// /// A request for . /// public partial record struct BatterySensorSyncPayload : INetworkPayload; /// /// 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). [DataRecord] public partial record struct BatterySensorData( float Charge, float MaxCharge, float Receiving, float MaxReceiving, float Supplying, float MaxSupplying );