Edit

Share via


FaultStatus Constructors

Definition

Overloads

FaultStatus(FaultStatus)
FaultStatus(Boolean, Boolean, Boolean, Boolean, Boolean, BatteryChargingTemperatureFault)

PiJuice Fault Status

FaultStatus(FaultStatus)

protected FaultStatus (Iot.Device.PiJuiceDevice.Models.FaultStatus original);
new Iot.Device.PiJuiceDevice.Models.FaultStatus : Iot.Device.PiJuiceDevice.Models.FaultStatus -> Iot.Device.PiJuiceDevice.Models.FaultStatus
Protected Sub New (original As FaultStatus)

Parameters

original
FaultStatus

Applies to

FaultStatus(Boolean, Boolean, Boolean, Boolean, Boolean, BatteryChargingTemperatureFault)

PiJuice Fault Status

public FaultStatus (bool ButtonPowerOff, bool ForcedPowerOff, bool ForcedSystemPowerOff, bool WatchdogReset, bool BatteryProfileInvalid, Iot.Device.PiJuiceDevice.Models.BatteryChargingTemperatureFault BatteryChargingTemperatureFault);
new Iot.Device.PiJuiceDevice.Models.FaultStatus : bool * bool * bool * bool * bool * Iot.Device.PiJuiceDevice.Models.BatteryChargingTemperatureFault -> Iot.Device.PiJuiceDevice.Models.FaultStatus
Public Sub New (ButtonPowerOff As Boolean, ForcedPowerOff As Boolean, ForcedSystemPowerOff As Boolean, WatchdogReset As Boolean, BatteryProfileInvalid As Boolean, BatteryChargingTemperatureFault As BatteryChargingTemperatureFault)

Parameters

ButtonPowerOff
Boolean

If there was power off triggered by button press.

ForcedPowerOff
Boolean

If there was forced power off caused by loss of energy (battery voltage approached cut-off threshold).

ForcedSystemPowerOff
Boolean

If there was forced system switch turn off caused by loss of energy.

WatchdogReset
Boolean

If watchdog reset happened.

BatteryProfileInvalid
Boolean

Determines if the battery profile is invalid.

BatteryChargingTemperatureFault
BatteryChargingTemperatureFault

Battery charging temperature fault.

Applies to