Share via


CashDrawerBase Members

2/27/2008

Exposes functionality required for support of cash drawer devices.

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

Protected Constructors

  Name Description
CashDrawerBase Creates an instance of the CashDrawerBase.

Top

Public Fields

  Name Description
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).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)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif ExtendedErrorStatistics  Indicates a specified statistic could not be reset or updated. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif ExtendedErrorStatisticsDependency  (inherited from PosCommon )
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatisticCommunicationErrorCount  Holds the programmatic name of the Communication Error Count common statistic. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatisticDeviceCategory  Holds the programmatic name of the Device Category common statistic. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatisticDrawerFailedOpenCount  Incremented during the OpenDrawer method if the cash drawer does not open. (inherited from CashDrawer)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatisticDrawerGoodOpenCount  Incremented during the OpenDrawer method if the cash drawer successfully opens. (inherited from CashDrawer)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatisticFirmwareRevision  Holds the programmatic name of the Firmware Revision common statistic. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatisticHoursPoweredCount  Holds the programmatic name of the Hours Powered On common statistic. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatisticInstallationDate  Holds the programmatic name of the Installation Date common statistic. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatisticInterface  Holds the programmatic name of the Interface common statistic. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatisticManufactureDate  Holds the programmatic name of the Manufacture Date common statistic. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatisticManufacturerName  Holds the programmatic name of the Manufacturer Name common statistic. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatisticMechanicalRevision  Holds the programmatic name of the Mechanical Revision common statistic. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatisticModelName  Holds the programmatic name of the Model Name common statistic. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatisticSerialNumber  Holds the programmatic name of the Serial Number common statistic. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatisticUnifiedPOSVersion  Holds the programmatic name of the Unified POS Version common statistic. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatusClosed  Indicates that the cash drawer is closed. (inherited from CashDrawer)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatusOpen  Indicates that the cash drawer is open. (inherited from CashDrawer)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatusPowerOff  Indicates that the device’s power is turned off or it is detached from the terminal. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatusPowerOffline  Indicates that the device is powered on but is either not ready or unable to respond to requests. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatusPowerOffOffline  Indicates that either the device’s power is off or it is offline. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatusPowerOnline  Indicates that the device’s power is turned on and it is ready for use. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatusUpdateFirmwareComplete  Indicates the update firmware process has completed successfully. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).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)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).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)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatusUpdateFirmwareFailedDeviceOk  Indicates the update firmware process failed. However, the device is still operational. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatusUpdateFirmwareFailedDeviceUnknown  Indicates the update firmware process failed. The device is in an indeterminate state. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatusUpdateFirmwareFailedDeviceUnrecoverable  Indicates the update firmware process failed. The device is either unusable or unrecoverable through software. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif StatusUpdateFirmwareProgress  Indicates the update firmware process has completed 1 to 100 percent successfully. (inherited from PosCommon)
Aa460349.pubfield(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).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
Aa460349.pubproperty(en-us,WinEmbedded.1002).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 CashDrawerBasic)
Aa460349.pubproperty(en-us,WinEmbedded.1002).gif CapPowerReporting  Gets the power reporting capabilities of the device. (inherited from CashDrawerBasic)
Aa460349.pubproperty(en-us,WinEmbedded.1002).gif CapStatisticsReporting  Gets a Boolean value that indicates whether the device can accumulate and can provide various statistics regarding usage. (inherited from CashDrawerBasic)
Aa460349.pubproperty(en-us,WinEmbedded.1002).gif CapStatus Overridden. Indicates that the drawer can report its status.
Aa460349.pubproperty(en-us,WinEmbedded.1002).gif CapStatusMultiDrawerDetect Overridden. Indicates that statuses unique to each drawer in multi-drawer configurations can be reported.
Aa460349.pubproperty(en-us,WinEmbedded.1002).gif CapUpdateFirmware  Gets a Boolean value that indicates whether the device's firmware can be updated through the UpdateFirmware method. (inherited from CashDrawerBasic)
Aa460349.pubproperty(en-us,WinEmbedded.1002).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 CashDrawerBasic)
Aa460349.pubproperty(en-us,WinEmbedded.1002).gif CheckHealthText  Gets a string that indicates the health of the device. (inherited from PosCommon)
Aa460349.pubproperty(en-us,WinEmbedded.1002).gif Claimed  Gets a Boolean value that indicates whether the device is claimed for exclusive access. (inherited from CashDrawerBasic)
Aa460349.pubproperty(en-us,WinEmbedded.1002).gif Compatibility  Gets the compatibility level of a device. (inherited from PosDevice)
Aa460349.pubproperty(en-us,WinEmbedded.1002).gif DeviceDescription  Gets a string identifying the device and the company that manufactured it. (inherited from CashDrawerBasic)
Aa460349.pubproperty(en-us,WinEmbedded.1002).gif DeviceEnabled Overridden.  
Aa460349.pubproperty(en-us,WinEmbedded.1002).gif DeviceName  Gets a short string identifying the device and any pertinent information about it. (inherited from CashDrawerBasic)
Aa460349.pubproperty(en-us,WinEmbedded.1002).gif DrawerOpened Overridden. Indicates whether the drawer is open.
Aa460349.pubproperty(en-us,WinEmbedded.1002).gif FreezeEvents  Gets or sets a Boolean value that indicates whether the application has requested that the Service Object not deliver events. (inherited from CashDrawerBasic)
Aa460349.pubproperty(en-us,WinEmbedded.1002).gif PowerNotify  Gets or sets the type of power notification selection made by the application. (inherited from CashDrawerBasic)
Aa460349.pubproperty(en-us,WinEmbedded.1002).gif PowerState  Gets the current power condition. (inherited from CashDrawerBasic)
Aa460349.pubproperty(en-us,WinEmbedded.1002).gif ServiceObjectDescription  Gets a string identifying the Service Object that supports the device and the company that produced it. (inherited from CashDrawerBasic)
Aa460349.pubproperty(en-us,WinEmbedded.1002).gif ServiceObjectVersion  Gets the Service Object version number. (inherited from CashDrawerBasic)
Aa460349.pubproperty(en-us,WinEmbedded.1002).gif State  Gets the current state of the device. (inherited from CashDrawerBasic)
Aa460349.pubproperty(en-us,WinEmbedded.1002).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)

Top

Protected Properties

  Name Description
Aa460349.protproperty(en-us,WinEmbedded.1002).gif CommonProperties  (inherited from CashDrawerBasic )
Aa460349.protproperty(en-us,WinEmbedded.1002).gif DeviceInstanceId  (inherited from PosCommon )
Aa460349.protproperty(en-us,WinEmbedded.1002).gif DevicePath  Gets or sets the hardware path of a device. (inherited from PosCommon)
Aa460349.protproperty(en-us,WinEmbedded.1002).gif ExternallyClaimed  (inherited from CashDrawerBasic )
Aa460349.protproperty(en-us,WinEmbedded.1002).gif HardwareId  (inherited from PosCommon )
Aa460349.protproperty(en-us,WinEmbedded.1002).gif IsExclusiveUseDevice  Gets the Boolean value that indicates whether the Cash Drawer is an exclusive-use device. (inherited from CashDrawer)
Aa460349.protproperty(en-us,WinEmbedded.1002).gif Properties Returns an instance of the CashDrawerProperties helper class, containing getters and setters for cash drawer and common properties.

Top

Public Methods

(see also Protected Methods )

  Name Description
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif CheckHealth  (inherited from PosCommon )
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif Claim  (inherited from CashDrawerBasic )
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif Close Overridden. Releases the device and its resources.
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif CompareFirmwareVersion  (inherited from PosCommon )
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif DirectIO  (inherited from PosCommon )
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif Dispose Overloaded.  
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif Equals  Overloaded. (inherited from Object )
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif GetHashCode  (inherited from Object )
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif GetType  (inherited from Object )
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif Open Overridden. Opens a device for subsequent input/output processing.
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif OpenDrawer Overridden. Physically opens the cash drawer.
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif Aa460349.static(en-us,WinEmbedded.1002).gif ReferenceEquals  (inherited from Object )
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif Release  Releases exclusive access to the device. (inherited from CashDrawerBasic)
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif ResetStatistic  (inherited from CashDrawerBasic )
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif ResetStatistics  Overloaded. (inherited from CashDrawerBasic )
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif RetrieveStatistic  (inherited from CashDrawerBasic )
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif RetrieveStatistics  Overloaded. (inherited from CashDrawerBasic )
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif ToString  (inherited from Object )
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif UpdateFirmware  (inherited from PosCommon )
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif UpdateStatistic  (inherited from CashDrawerBasic )
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif UpdateStatistics  Overloaded. (inherited from CashDrawerBasic )
Aa460349.pubmethod(en-us,WinEmbedded.1002).gif WaitForDrawerClose Overridden. The application calls WaitForDrawerClose to wait until the cash drawer is closed.

Top

Protected Methods

  Name Description
Aa460349.protmethod(en-us,WinEmbedded.1002).gif CreateStatistic  Overloaded. (inherited from CashDrawerBasic )
Aa460349.protmethod(en-us,WinEmbedded.1002).gif DeleteConfigurationProperty  (inherited from PosCommon )
Aa460349.protmethod(en-us,WinEmbedded.1002).gif Dispose Overloaded. Overridden.  
Aa460349.protmethod(en-us,WinEmbedded.1002).gif Finalize  (inherited from Object )
Aa460349.protmethod(en-us,WinEmbedded.1002).gif GetConfigurationProperty  (inherited from PosCommon )
Aa460349.protmethod(en-us,WinEmbedded.1002).gif GetStatisticValue  (inherited from CashDrawerBasic )
Aa460349.protmethod(en-us,WinEmbedded.1002).gif IncrementStatistic  Overloaded. (inherited from CashDrawerBasic )
Aa460349.protmethod(en-us,WinEmbedded.1002).gif Invoke  (inherited from PosCommon )
Aa460349.protmethod(en-us,WinEmbedded.1002).gif MemberwiseClone  (inherited from Object )
Aa460349.protmethod(en-us,WinEmbedded.1002).gif OpenDrawerImpl Implemented by the service object to physically open the cash drawer.
Aa460349.protmethod(en-us,WinEmbedded.1002).gif PreFireEvent Overloaded.  
Aa460349.protmethod(en-us,WinEmbedded.1002).gif QueueEvent  Overloaded. (inherited from CashDrawerBasic )
Aa460349.protmethod(en-us,WinEmbedded.1002).gif QueueEventAndWait  (inherited from CashDrawerBasic )
Aa460349.protmethod(en-us,WinEmbedded.1002).gif SetConfigurationProperty  (inherited from PosCommon )
Aa460349.protmethod(en-us,WinEmbedded.1002).gif SetStatisticHandlers  (inherited from CashDrawerBasic )
Aa460349.protmethod(en-us,WinEmbedded.1002).gif SetStatisticValue  (inherited from CashDrawerBasic )
Aa460349.protmethod(en-us,WinEmbedded.1002).gif VerifyState  (inherited from CashDrawerBasic )

Top

Public Events

(see also Protected Events )

  Name Description
Aa460349.pubevent(en-us,WinEmbedded.1002).gif DirectIOEvent  Raised by the Service Object to communicate information directly to the application. (inherited from CashDrawerBasic)
Aa460349.pubevent(en-us,WinEmbedded.1002).gif StatusUpdateEvent  Raised by the Service Object to alert the application of a device status change. (inherited from CashDrawerBasic)

Top

Protected Events

  Name Description
Aa460349.protevent(en-us,WinEmbedded.1002).gif DeviceAddedEvent  (inherited from PosCommon )
Aa460349.protevent(en-us,WinEmbedded.1002).gif DeviceRemovedEvent  (inherited from PosCommon )
Aa460349.protevent(en-us,WinEmbedded.1002).gif OnDrawerStateChanged The CashDrawerBase class raises OnDrawerStateChanged events to inform the service object that the value of the CashDrawerProperties.DrawerOpened property has been updated and the application has been notified of a drawer status change.
Aa460349.protevent(en-us,WinEmbedded.1002).gif StateChangedEvent  (inherited from CashDrawerBasic )

Top

See Also

Reference

CashDrawerBase Class
Microsoft.PointOfService.BaseServiceObjects Namespace