共用方式為


Scale.ReadWeight(Int32) Method

Definition

Reads a weight from the scale.

public abstract decimal ReadWeight (int timeout);
abstract member ReadWeight : int -> decimal
Public MustOverride Function ReadWeight (timeout As Integer) As Decimal

Parameters

timeout
Int32

The number of milliseconds to wait for a settled weight before ReadWeight fails. If zero, ReadWeight attempts to read the scale weight, then returns the status immediately. If WaitForever, ReadWeight waits as long as needed until a weight is successfully read or an error occurs.

Returns

Applies to