Share via


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

2/27/2008

Defines the programmatic interface for a UPOS scale device.

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

Protected Constructors

  Name Description
Scale Creates an instance of the Scale class.

Top

Public Fields

  Name Description
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.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)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif ExtendedErrorOverWeight Indicates the weight was over MaximumWeight.
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif ExtendedErrorSameWeight Indicates the scale is reporting that the item/weight on the scale is identical to the previously reported item/weight (that is, the item has not been removed from the scale).
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif ExtendedErrorStatistics  Indicates a specified statistic could not be reset or updated. (inherited from PosCommon)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif ExtendedErrorStatisticsDependency  (inherited from PosCommon )
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif ExtendedErrorUnderZero Indicates the scale is reporting a weight that is less than zero due to a calibration error.
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatisticCommunicationErrorCount  Holds the programmatic name of the Communication Error Count common statistic. (inherited from PosCommon)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatisticDeviceCategory  Holds the programmatic name of the Device Category common statistic. (inherited from PosCommon)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatisticFirmwareRevision  Holds the programmatic name of the Firmware Revision common statistic. (inherited from PosCommon)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatisticGoodWeightReadCount Indicates good weight read count for statistics reporting.
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatisticHoursPoweredCount  Holds the programmatic name of the Hours Powered On common statistic. (inherited from PosCommon)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatisticInstallationDate  Holds the programmatic name of the Installation Date common statistic. (inherited from PosCommon)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatisticInterface  Holds the programmatic name of the Interface common statistic. (inherited from PosCommon)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatisticManufactureDate  Holds the programmatic name of the Manufacture Date common statistic. (inherited from PosCommon)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatisticManufacturerName  Holds the programmatic name of the Manufacturer Name common statistic. (inherited from PosCommon)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatisticMechanicalRevision  Holds the programmatic name of the Mechanical Revision common statistic. (inherited from PosCommon)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatisticModelName  Holds the programmatic name of the Model Name common statistic. (inherited from PosCommon)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatisticSerialNumber  Holds the programmatic name of the Serial Number common statistic. (inherited from PosCommon)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatisticUnifiedPOSVersion  Holds the programmatic name of the Unified POS Version common statistic. (inherited from PosCommon)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatusNotReady Indicates the scale is not ready to weigh.
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.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)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.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)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatusPowerOffOffline  Indicates that either the device’s power is off or it is offline. (inherited from PosCommon)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.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)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatusStableWeight Indicates scale weight is stable.
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatusUpdateFirmwareComplete  Indicates the update firmware process has completed successfully. (inherited from PosCommon)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.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)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.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)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatusUpdateFirmwareFailedDeviceOk  Indicates the update firmware process failed. However, the device is still operational. (inherited from PosCommon)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatusUpdateFirmwareFailedDeviceUnknown  Indicates the update firmware process failed. The device is in an indeterminate state. (inherited from PosCommon)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.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)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatusUpdateFirmwareProgress  Indicates the update firmware process has completed 1 to 100 percent successfully. (inherited from PosCommon)
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatusWeightOverWeight Indicates scale weight is overweight.
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatusWeightUnderZero Indicates scale weight is less than zero.
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatusWeightUnstable Indicates the scale weight is unstable.
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif StatusWeightZero Indicates the scale weight is zero.
Aa460875.pubfield(en-US,WinEmbedded.11).gifAa460875.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
Aa460875.pubproperty(en-US,WinEmbedded.11).gif AsyncMode Indicates whether ReadWeight is performed asynchronously.
Aa460875.pubproperty(en-US,WinEmbedded.11).gif AutoDisable Indicates whether POS for .NET automatically disables the scale when data is received.
Aa460875.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)
Aa460875.pubproperty(en-US,WinEmbedded.11).gif CapDisplay Indicates whether a scale has a display.
Aa460875.pubproperty(en-US,WinEmbedded.11).gif CapDisplayText Indicates whether a scale can display text.
Aa460875.pubproperty(en-US,WinEmbedded.11).gif CapPowerReporting  Gets the power reporting capabilities of the device. (inherited from PosCommon)
Aa460875.pubproperty(en-US,WinEmbedded.11).gif CapPriceCalculating Indicates whether a scale can calculate prices.
Aa460875.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)
Aa460875.pubproperty(en-US,WinEmbedded.11).gif CapStatusUpdate If true, then the scale is capable of providing scale weight status with StatusUpdateEvents.
Aa460875.pubproperty(en-US,WinEmbedded.11).gif CapTareWeight Indicates whether a scale supports a tare.
Aa460875.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)
Aa460875.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)
Aa460875.pubproperty(en-US,WinEmbedded.11).gif CapZeroScale Indicates whether an application can set scale weight to zero.
Aa460875.pubproperty(en-US,WinEmbedded.11).gif CheckHealthText  Gets a string that indicates the health of the device. (inherited from PosCommon)
Aa460875.pubproperty(en-US,WinEmbedded.11).gif Claimed  Gets a Boolean value that indicates whether the device is claimed for exclusive access. (inherited from PosCommon)
Aa460875.pubproperty(en-US,WinEmbedded.11).gif Compatibility  Gets the compatibility level of a device. (inherited from PosDevice)
Aa460875.pubproperty(en-US,WinEmbedded.11).gif DataCount Holds the number of currently queued DataEvent events.
Aa460875.pubproperty(en-US,WinEmbedded.11).gif DataEventEnabled Indicates whether a DataEvent event is delivered when input data is queued.
Aa460875.pubproperty(en-US,WinEmbedded.11).gif DeviceDescription  Gets a string identifying the device and the company that manufactured it. (inherited from PosCommon)
Aa460875.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)
Aa460875.pubproperty(en-US,WinEmbedded.11).gif DeviceName  Gets a short string identifying the device and any pertinent information about it. (inherited from PosCommon)
Aa460875.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)
Aa460875.pubproperty(en-US,WinEmbedded.11).gif MaxDisplayTextChars Holds the number of characters that can be displayed.
Aa460875.pubproperty(en-US,WinEmbedded.11).gif MaximumWeight Holds the maximum weight measurement possible from the scale.
Aa460875.pubproperty(en-US,WinEmbedded.11).gif PowerNotify  Gets or sets the type of power notification selection made by the application. (inherited from PosCommon)
Aa460875.pubproperty(en-US,WinEmbedded.11).gif PowerState  Gets the current power condition. (inherited from PosCommon)
Aa460875.pubproperty(en-US,WinEmbedded.11).gif SalesPrice Holds the sales price read from a price-calculating scale.
Aa460875.pubproperty(en-US,WinEmbedded.11).gif ScaleLiveWeight Holds the weight measured by the scale (if StatusUpdateEventArgs.Status is set to StatusStableWeight).
Aa460875.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)
Aa460875.pubproperty(en-US,WinEmbedded.11).gif ServiceObjectVersion  Gets the Service Object version number. (inherited from PosCommon)
Aa460875.pubproperty(en-US,WinEmbedded.11).gif State  Gets the current state of the device. (inherited from PosCommon)
Aa460875.pubproperty(en-US,WinEmbedded.11).gif StatusNotify Indicates whether the service object provides any scale weight notifications.
Aa460875.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)
Aa460875.pubproperty(en-US,WinEmbedded.11).gif TareWeight Holds the tare weight of scale data.
Aa460875.pubproperty(en-US,WinEmbedded.11).gif UnitPrice Holds the unit price of the article to be weighed.
Aa460875.pubproperty(en-US,WinEmbedded.11).gif WeightUnit Holds the unit of weight of scale data.

Top

Protected Properties

  Name Description
Aa460875.protproperty(en-US,WinEmbedded.11).gif DeviceInstanceId  (inherited from PosCommon )
Aa460875.protproperty(en-US,WinEmbedded.11).gif DevicePath  Gets or sets the hardware path of a device. (inherited from PosCommon)
Aa460875.protproperty(en-US,WinEmbedded.11).gif HardwareId  (inherited from PosCommon )
Aa460875.protproperty(en-US,WinEmbedded.11).gif IsExclusiveUseDevice Overridden. Indicates whether the Scale is an exclusive-use device.

Top

Public Methods

(see also Protected Methods )

  Name Description
Aa460875.pubmethod(en-US,WinEmbedded.11).gif CheckHealth  (inherited from PosCommon )
Aa460875.pubmethod(en-US,WinEmbedded.11).gif Claim  (inherited from PosCommon )
Aa460875.pubmethod(en-US,WinEmbedded.11).gif ClearInput Clears all device input that has been buffered.
Aa460875.pubmethod(en-US,WinEmbedded.11).gif Close  Releases the device and its resources. (inherited from PosCommon)
Aa460875.pubmethod(en-US,WinEmbedded.11).gif CompareFirmwareVersion  (inherited from PosCommon )
Aa460875.pubmethod(en-US,WinEmbedded.11).gif DirectIO  (inherited from PosCommon )
Aa460875.pubmethod(en-US,WinEmbedded.11).gif DisplayText Updates display text.
Aa460875.pubmethod(en-US,WinEmbedded.11).gif Equals  Overloaded. (inherited from Object )
Aa460875.pubmethod(en-US,WinEmbedded.11).gif GetHashCode  (inherited from Object )
Aa460875.pubmethod(en-US,WinEmbedded.11).gif GetType  (inherited from Object )
Aa460875.pubmethod(en-US,WinEmbedded.11).gif Open  Opens a device for later input/output processing. (inherited from PosCommon)
Aa460875.pubmethod(en-US,WinEmbedded.11).gif ReadWeight Reads a weight from the scale.
Aa460875.pubmethod(en-US,WinEmbedded.11).gifAa460875.static(en-US,WinEmbedded.11).gif ReferenceEquals  (inherited from Object )
Aa460875.pubmethod(en-US,WinEmbedded.11).gif Release  Releases exclusive access to the device. (inherited from PosCommon)
Aa460875.pubmethod(en-US,WinEmbedded.11).gif ResetStatistic  (inherited from PosCommon )
Aa460875.pubmethod(en-US,WinEmbedded.11).gif ResetStatistics  Overloaded. (inherited from PosCommon )
Aa460875.pubmethod(en-US,WinEmbedded.11).gif RetrieveStatistic  (inherited from PosCommon )
Aa460875.pubmethod(en-US,WinEmbedded.11).gif RetrieveStatistics  Overloaded. (inherited from PosCommon )
Aa460875.pubmethod(en-US,WinEmbedded.11).gif ToString  (inherited from Object )
Aa460875.pubmethod(en-US,WinEmbedded.11).gif UpdateFirmware  (inherited from PosCommon )
Aa460875.pubmethod(en-US,WinEmbedded.11).gif UpdateStatistic  (inherited from PosCommon )
Aa460875.pubmethod(en-US,WinEmbedded.11).gif UpdateStatistics  Overloaded. (inherited from PosCommon )
Aa460875.pubmethod(en-US,WinEmbedded.11).gif ZeroScale Sets the scale weight to zero.

Top

Protected Methods

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

Top

Public Events

(see also Protected Events )

  Name Description
Aa460875.pubevent(en-US,WinEmbedded.11).gif DataEvent Fired by the service object to notify the application that an asynchronous ReadWeight has completed.
Aa460875.pubevent(en-US,WinEmbedded.11).gif DirectIOEvent  Raised by the Service Object to communicate information directly to the application. (inherited from PosCommon)
Aa460875.pubevent(en-US,WinEmbedded.11).gif ErrorEvent Fired by the service object to notify the application that a scale device error has been detected and a suitable response by the application is necessary to process the error condition.
Aa460875.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
Aa460875.protevent(en-US,WinEmbedded.11).gif DeviceAddedEvent  (inherited from PosCommon )
Aa460875.protevent(en-US,WinEmbedded.11).gif DeviceRemovedEvent  (inherited from PosCommon )

Top

See Also

Reference

Scale Class
Microsoft.PointOfService Namespace