Share via


Scale.CapPriceCalculating Property

2/27/2008

Indicates whether a scale can calculate prices.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property CapPriceCalculating As Boolean
public abstract bool CapPriceCalculating { get; }
public:
virtual property bool CapPriceCalculating {
    bool get () abstract;
}
/** @property */
public abstract boolean get_CapPriceCalculating ()
public abstract function get CapPriceCalculating () : boolean

Remarks

Set to true if the scale can calculate prices. Otherwise it is false, indicating that the scale returns only a weight.

For price-calculating scales, the calculation unit is in the scale rather than in the data-receiving terminal. For price-calculating scales, set the UnitPrice property before calling the ReadWeight method.

CapPriceCalculating is set and updated by the service object, based on the capabilities of the device.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

Scale Class
Scale Members
Microsoft.PointOfService Namespace
Scale.ReadWeight Method
WeightUnit
UnitPrice
SalesPrice