Share via


PosPower Members (POS for .NET v1.12 SDK Documentation)

2/27/2008

Defines the programmatic interface for a UPOS power system device.

The following tables list the members exposed by the PosPower type.

Protected Constructors

  Name Description
PosPower Creates an instance of the PosPower class.

Top

Public Fields

  Name Description
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif ExtendedErrorFirmwareBadFile  Indicates the specified firmware file or files exist, but one or more of those files are either not in the correct format or are corrupted. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif ExtendedErrorStatistics  Indicates a specified statistic could not be reset or updated. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif ExtendedErrorStatisticsDependency  (inherited from PosCommon )
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatisticCommunicationErrorCount  Holds the programmatic name of the Communication Error Count common statistic. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatisticDeviceCategory  Holds the programmatic name of the Device Category common statistic. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatisticFirmwareRevision  Holds the programmatic name of the Firmware Revision common statistic. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatisticHoursPoweredCount  Holds the programmatic name of the Hours Powered On common statistic. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatisticInstallationDate  Holds the programmatic name of the Installation Date common statistic. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatisticInterface  Holds the programmatic name of the Interface common statistic. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatisticManufactureDate  Holds the programmatic name of the Manufacture Date common statistic. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatisticManufacturerName  Holds the programmatic name of the Manufacturer Name common statistic. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatisticMechanicalRevision  Holds the programmatic name of the Mechanical Revision common statistic. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatisticModelName  Holds the programmatic name of the Model Name common statistic. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatisticSerialNumber  Holds the programmatic name of the Serial Number common statistic. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatisticUnifiedPOSVersion  Holds the programmatic name of the Unified POS Version common statistic. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusBatteryCapacityRemaining Indicates the BatteryCapacityRemaining property has been updated.
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusBatteryCritical Indicates the remaining battery capacity is at or below the critically low battery threshold and the system is operating from the battery.
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusBatteryLow Indicates the remaining battery capacity is at or below the low battery threshold and the system is operating from the battery.
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusFanRunning Indicates the fan is running.
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusFanStopped Indicates the fan has stopped.
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusPowerOff  Indicates that the device’s power is turned off or it is detached from the terminal. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusPowerOffline  Indicates that the device is powered on but is either not ready or unable to respond to requests. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusPowerOffOffline  Indicates that either the device’s power is off or it is offline. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusPowerOnline  Indicates that the device’s power is turned on and it is ready for use. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusPowerSource Indicates the PowerSource property has been updated.
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusRestart Indicates the system will restart immediately.
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusShutDown Indicates the device has shut down.
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusStandby Indicates the system is requesting a transition to the Standby state.
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusSuspend Indicates the system is requesting a transition to the Suspend state.
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusTemperatureHigh Indicates the device is running at a high temperature.
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusTemperatureOK Indicates the device's temperature is within acceptable range.
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusUpdateFirmwareComplete  Indicates the update firmware process has completed successfully. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusUpdateFirmwareCompleteDeviceNotRestored  Indicates the update firmware process succeeded. However, the Service Object and/or the physical device cannot be returned to the state they were in before the update firmware process started.  (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusUpdateFirmwareFailedDeviceNeedsFirmware  Indicates the update firmware process failed. The device will not be operational until another attempt to update the firmware is successful. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusUpdateFirmwareFailedDeviceOk  Indicates the update firmware process failed. However, the device is still operational. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusUpdateFirmwareFailedDeviceUnknown  Indicates the update firmware process failed. The device is in an indeterminate state. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusUpdateFirmwareFailedDeviceUnrecoverable  Indicates the update firmware process failed. The device is either unusable or unrecoverable through software. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusUpdateFirmwareProgress  Indicates the update firmware process has completed 1 to 100 percent successfully. (inherited from PosCommon)
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusUpsCritical Indicates the UPS battery is in a critical state.
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusUpsFull Indicates the UPS battery is almost full charge.
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusUpsLow Indicates the UPS battery is almost depleted of charge.
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusUpsWarning Indicates the UPS battery is near 50 percent charge.
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusUserStandby Indicates the system is requesting a transition to the Standby state because of user input.
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif StatusUserSuspend Indicates the system is requesting a transition to the Suspend state because of user input.
ms884865.pubfield(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif WaitForever  Used as the value for a timeout parameter in common and device-specific methods to indicate the method should wait until it receives a response, instead of timing out. (inherited from PosCommon)

Top

Public Properties

(see also Protected Properties )

  Name Description
ms884865.pubproperty(en-US,WinEmbedded.11).gif BatteryCapacityRemaining Gets a value between 0 and 100 that represents the percentage of remaining battery capacity.
ms884865.pubproperty(en-US,WinEmbedded.11).gif BatteryCriticallyLowThreshold Gets or sets the threshold percentage at which the service object generates a StatusUpdateEvent event of StatusBatteryCritical.
ms884865.pubproperty(en-US,WinEmbedded.11).gif BatteryLowThreshold Gets or sets the threshold percentage at which the service object generates a StatusUpdateEvent event of StatusBatteryLow.
ms884865.pubproperty(en-US,WinEmbedded.11).gif CapBatteryCapacityRemaining Gets a Boolean value that indicates whether the device can provide information about the remaining capacity of the battery.
ms884865.pubproperty(en-US,WinEmbedded.11).gif CapCompareFirmwareVersion  Gets a Boolean value that indicates whether the Service Object/device supports comparing the firmware version in the physical device against that of a firmware file. (inherited from PosCommon)
ms884865.pubproperty(en-US,WinEmbedded.11).gif CapFanAlarm Gets a Boolean value that indicates whether the device can detect the CPU fan is stopped.
ms884865.pubproperty(en-US,WinEmbedded.11).gif CapHeatAlarm Gets a Boolean value that indicates whether the device can detect if the CPU is running at a high temperature.
ms884865.pubproperty(en-US,WinEmbedded.11).gif CapPowerReporting  Gets the power reporting capabilities of the device. (inherited from PosCommon)
ms884865.pubproperty(en-US,WinEmbedded.11).gif CapQuickCharge Gets a Boolean value that indicates whether power management allows charging the battery with a quick method.
ms884865.pubproperty(en-US,WinEmbedded.11).gif CapRestartPos Gets a Boolean value that indicates whether the device can explicitly restart the POS system.
ms884865.pubproperty(en-US,WinEmbedded.11).gif CapShutdownPos Gets a Boolean value that indicates whether the device can explicitly shut down the POS system.
ms884865.pubproperty(en-US,WinEmbedded.11).gif CapStandbyPos Gets a Boolean value that indicates whether the device can request that the POS system enter a Standby state.
ms884865.pubproperty(en-US,WinEmbedded.11).gif CapStatisticsReporting  Gets a Boolean value that indicates whether the device can accumulate and can provide various statistics regarding usage. (inherited from PosCommon)
ms884865.pubproperty(en-US,WinEmbedded.11).gif CapSuspendPos Gets a Boolean value that indicates whether the device can request that the POS system enter a Suspend state.
ms884865.pubproperty(en-US,WinEmbedded.11).gif CapUpdateFirmware  Gets a Boolean value that indicates whether the device's firmware can be updated through the UpdateFirmware method. (inherited from PosCommon)
ms884865.pubproperty(en-US,WinEmbedded.11).gif CapUpdateStatistics  Gets a Boolean value that indicates whether some or all the device statistics can be reset to 0 (zero) by using the ResetStatistic and ResetStatistics methods, or updated by using the UpdateStatistic and UpdateStatistics methods. (inherited from PosCommon)
ms884865.pubproperty(en-US,WinEmbedded.11).gif CapUpsChargeState Gets one or more UPS charge states.
ms884865.pubproperty(en-US,WinEmbedded.11).gif CapVariableBatteryCriticallyLowThreshold Gets a Boolean value that indicates whether the device supports a variable threshold for critically low battery capacity reporting that can be set by the POS application.
ms884865.pubproperty(en-US,WinEmbedded.11).gif CapVariableBatteryLowThreshold Gets a Boolean value that indicates whether the device supports a variable threshold for low battery capacity reporting that can be set by the POS application.
ms884865.pubproperty(en-US,WinEmbedded.11).gif CheckHealthText  Gets a string that indicates the health of the device. (inherited from PosCommon)
ms884865.pubproperty(en-US,WinEmbedded.11).gif Claimed  Gets a Boolean value that indicates whether the device is claimed for exclusive access. (inherited from PosCommon)
ms884865.pubproperty(en-US,WinEmbedded.11).gif Compatibility  Gets the compatibility level of a device. (inherited from PosDevice)
ms884865.pubproperty(en-US,WinEmbedded.11).gif DeviceDescription  Gets a string identifying the device and the company that manufactured it. (inherited from PosCommon)
ms884865.pubproperty(en-US,WinEmbedded.11).gif DeviceEnabled  Gets or sets a Boolean value that indicates whether the device has been placed in an operational state. (inherited from PosCommon)
ms884865.pubproperty(en-US,WinEmbedded.11).gif DeviceName  Gets a short string identifying the device and any pertinent information about it. (inherited from PosCommon)
ms884865.pubproperty(en-US,WinEmbedded.11).gif EnforcedShutdownDelayTime Gets or sets an integer value for a built-in mechanism to shut down the POS terminal.
ms884865.pubproperty(en-US,WinEmbedded.11).gif FreezeEvents  Gets or sets a Boolean value that indicates whether the application has requested that the Service Object not deliver events. (inherited from PosCommon)
ms884865.pubproperty(en-US,WinEmbedded.11).gif PowerFailDelayTime Gets the time in milliseconds for power failure intervals.
ms884865.pubproperty(en-US,WinEmbedded.11).gif PowerNotify  Gets or sets the type of power notification selection made by the application. (inherited from PosCommon)
ms884865.pubproperty(en-US,WinEmbedded.11).gif PowerSource Gets the current power source.
ms884865.pubproperty(en-US,WinEmbedded.11).gif PowerState  Gets the current power condition. (inherited from PosCommon)
ms884865.pubproperty(en-US,WinEmbedded.11).gif QuickChargeMode Gets a Boolean value that indicates whether the battery is being recharged in a quick charge mode.
ms884865.pubproperty(en-US,WinEmbedded.11).gif QuickChargeTime Gets the remaining time for loading the battery.
ms884865.pubproperty(en-US,WinEmbedded.11).gif ServiceObjectDescription  Gets a string identifying the Service Object that supports the device and the company that produced it. (inherited from PosCommon)
ms884865.pubproperty(en-US,WinEmbedded.11).gif ServiceObjectVersion  Gets the Service Object version number. (inherited from PosCommon)
ms884865.pubproperty(en-US,WinEmbedded.11).gif State  Gets the current state of the device. (inherited from PosCommon)
ms884865.pubproperty(en-US,WinEmbedded.11).gif SynchronizingObject  Gets or sets the object that is used to marshal the event handler calls issued because of a POS event. (inherited from PosCommon)
ms884865.pubproperty(en-US,WinEmbedded.11).gif UpsChargeState Gets the UPS charge state.

Top

Protected Properties

  Name Description
ms884865.protproperty(en-US,WinEmbedded.11).gif DeviceInstanceId  (inherited from PosCommon )
ms884865.protproperty(en-US,WinEmbedded.11).gif DevicePath  Gets or sets the hardware path of a device. (inherited from PosCommon)
ms884865.protproperty(en-US,WinEmbedded.11).gif HardwareId  (inherited from PosCommon )
ms884865.protproperty(en-US,WinEmbedded.11).gif IsExclusiveUseDevice Overridden. Gets a Boolean value that indicates whether the PosPower device is exclusive-use.

Top

Public Methods

(see also Protected Methods )

  Name Description
ms884865.pubmethod(en-US,WinEmbedded.11).gif CheckHealth  (inherited from PosCommon )
ms884865.pubmethod(en-US,WinEmbedded.11).gif Claim  (inherited from PosCommon )
ms884865.pubmethod(en-US,WinEmbedded.11).gif Close  Releases the device and its resources. (inherited from PosCommon)
ms884865.pubmethod(en-US,WinEmbedded.11).gif CompareFirmwareVersion  (inherited from PosCommon )
ms884865.pubmethod(en-US,WinEmbedded.11).gif DirectIO  (inherited from PosCommon )
ms884865.pubmethod(en-US,WinEmbedded.11).gif Equals  Overloaded. (inherited from Object )
ms884865.pubmethod(en-US,WinEmbedded.11).gif GetHashCode  (inherited from Object )
ms884865.pubmethod(en-US,WinEmbedded.11).gif GetType  (inherited from Object )
ms884865.pubmethod(en-US,WinEmbedded.11).gif Open  Opens a device for later input/output processing. (inherited from PosCommon)
ms884865.pubmethod(en-US,WinEmbedded.11).gifms884865.static(en-US,WinEmbedded.11).gif ReferenceEquals  (inherited from Object )
ms884865.pubmethod(en-US,WinEmbedded.11).gif Release  Releases exclusive access to the device. (inherited from PosCommon)
ms884865.pubmethod(en-US,WinEmbedded.11).gif ResetStatistic  (inherited from PosCommon )
ms884865.pubmethod(en-US,WinEmbedded.11).gif ResetStatistics  Overloaded. (inherited from PosCommon )
ms884865.pubmethod(en-US,WinEmbedded.11).gif RestartPos Restarts the POS system independent of the power state.
ms884865.pubmethod(en-US,WinEmbedded.11).gif RetrieveStatistic  (inherited from PosCommon )
ms884865.pubmethod(en-US,WinEmbedded.11).gif RetrieveStatistics  Overloaded. (inherited from PosCommon )
ms884865.pubmethod(en-US,WinEmbedded.11).gif ShutdownPos Shuts down the POS system independent of the power state.
ms884865.pubmethod(en-US,WinEmbedded.11).gif StandbyPos Requests that the POS system be put in the Standby state or responds to a request to put the system in the Standby state.
ms884865.pubmethod(en-US,WinEmbedded.11).gif SuspendPos Requests that the POS system be put in the Suspend state or responds to a request to put the system in the Suspend state.
ms884865.pubmethod(en-US,WinEmbedded.11).gif ToString  (inherited from Object )
ms884865.pubmethod(en-US,WinEmbedded.11).gif UpdateFirmware  (inherited from PosCommon )
ms884865.pubmethod(en-US,WinEmbedded.11).gif UpdateStatistic  (inherited from PosCommon )
ms884865.pubmethod(en-US,WinEmbedded.11).gif UpdateStatistics  Overloaded. (inherited from PosCommon )

Top

Protected Methods

  Name Description
ms884865.protmethod(en-US,WinEmbedded.11).gif DeleteConfigurationProperty  (inherited from PosCommon )
ms884865.protmethod(en-US,WinEmbedded.11).gif Finalize  (inherited from Object )
ms884865.protmethod(en-US,WinEmbedded.11).gif GetConfigurationProperty  (inherited from PosCommon )
ms884865.protmethod(en-US,WinEmbedded.11).gif Invoke  (inherited from PosCommon )
ms884865.protmethod(en-US,WinEmbedded.11).gif MemberwiseClone  (inherited from Object )
ms884865.protmethod(en-US,WinEmbedded.11).gif SetConfigurationProperty  (inherited from PosCommon )

Top

Public Events

(see also Protected Events )

  Name Description
ms884865.pubevent(en-US,WinEmbedded.11).gif DirectIOEvent  Raised by the Service Object to communicate information directly to the application. (inherited from PosCommon)
ms884865.pubevent(en-US,WinEmbedded.11).gif StatusUpdateEvent  Raised by the Service Object to alert the application of a device status change. (inherited from PosCommon)

Top

Protected Events

  Name Description
ms884865.protevent(en-US,WinEmbedded.11).gif DeviceAddedEvent  (inherited from PosCommon )
ms884865.protevent(en-US,WinEmbedded.11).gif DeviceRemovedEvent  (inherited from PosCommon )

Top

See Also

Reference

PosPower Class
Microsoft.PointOfService Namespace