Share via


Scale.ScaleLiveWeight Property

2/27/2008

Holds the weight measured by the scale (if StatusUpdateEventArgs.Status is set to StatusStableWeight).

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

Syntax

'Declaration
Public Overridable ReadOnly Property ScaleLiveWeight As Decimal
public virtual decimal ScaleLiveWeight { get; }
public:
virtual property Decimal ScaleLiveWeight {
    Decimal get ();
}
/** @property */
public Decimal get_ScaleLiveWeight ()
public function get ScaleLiveWeight () : decimal

Remarks

If StatusUpdateEventArgs.Status property is not set to StatusStableWeight, ScaleLiveWeight is set to zero.

Note

POS for .NET does not use an assumed decimal place for ScaleLiveWeight. The returned value is the actual value and should not be shifted before use.

You should use the weight in this property only for display purposes. For a weight to use for sale purposes, you should call ReadWeight.

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