Changes between Version 1 and Version 2 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/IsWtUnitsChanged


Ignore:
Timestamp:
08/25/10 07:47:32 (14 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/IsWtUnitsChanged

    v1 v2  
    11= IsWtUnitsChanged =
     2Checks whether the weight units such as "lb" or "kg" is different from the last time IsWtUnitsChanged was called.
     3
     4{{{
     5bool IsWtUnitsChanged(int nScale);
     6}}}
     7
     8== Parameters ==
     9
     10 * nScale - scale number
     11
     12== Return Value ==
     13
     14 * Returns true if the weight units of the specified scale is changed, or false if the weight units is the same as the last time IsWtUnitsChanged was called.
     15
     16== Remarks ==
     17
     18The value returned is from an internal memory buffer from the last MnBdRead? that received a weight for the specified scale. An application program should be structured properly for this data to be updated when needed.
     19
     20== Example ==
     21
     22{{{
     23if(IsWtUnitsChanged(1))
     24{
     25     DisplayText(0, 0, GetCurWtUnitsLabel(1));
     26}
     27}}}
     28
     29
     30== See Also ==
     31
     32 * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/GetChangedTareWt GetChangedTareWt]
     33 * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/ResetPrevTareWt ResetPrevTareWt]
     34 * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/IsTareWtChanged IsTareWtChanged]
     35 * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/IsNetWtChanged IsNetWtChanged]