UpsChargeStates Enumeration
2/27/2008
Lists the possible UPS charge states for a PosPower device.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
<FlagsAttribute> _
Public Enumeration UpsChargeStates
[FlagsAttribute]
public enum UpsChargeStates
[FlagsAttribute]
public enum class UpsChargeStates
/** @attribute FlagsAttribute() */
public enum UpsChargeStates
FlagsAttribute
public enum UpsChargeStates
Members
Member name | Description |
---|---|
Critical | UPS battery is in a critical state and can be disconnected at any time without further warning. |
Full | UPS battery is near full charge. |
Low | UPS battery is near zero charge. Application shutdown should be started to ensure that it can be completed before the battery charge is depleted. A minimum of two minutes of normal system operation can be assumed when this state is entered, unless this is the first charge state reported upon entering the "Off" power state. |
Warning | UPS battery is near 50% charge. |
Remarks
Used by the CapUpsChargeState and UpsChargeState properties. Members of this enumeration replace the PWR_UPS_FULL UPS, PWR_UPS_WARNING UPS, and PWR_UPS_LOW UPOS constants.
See Also
Reference
Microsoft.PointOfService Namespace
PosPower.CapUpsChargeState Property
PosPower.UpsChargeState Property