| | 2 | Checks whether the formatted net weight is different from the last time IsNetWtChanged was called. |
| | 3 | |
| | 4 | {{{ |
| | 5 | bool IsNetWtChanged(int nScale, int nLen = 7); |
| | 6 | }}} |
| | 7 | |
| | 8 | == Parameters == |
| | 9 | |
| | 10 | * nScale - scale number |
| | 11 | * nLen - length to format the weight |
| | 12 | |
| | 13 | == Return Value == |
| | 14 | |
| | 15 | * Returns true if the formatted net weight of the specified scale is changed, or false if the formatted weight is the same as the last time IsNetWtChanged was called. |
| | 16 | |
| | 17 | == Remarks == |
| | 18 | |
| | 19 | |
| | 20 | == Examples == |
| | 21 | |
| | 22 | {{{ |
| | 23 | if(IsNetWtChanged(1)) |
| | 24 | { |
| | 25 | DisplayText(0, 0, GetChangedNetWt(1)); |
| | 26 | } |
| | 27 | }}} |
| | 28 | |
| | 29 | |
| | 30 | == See Also == |
| | 31 | |
| | 32 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/GetChangedNetWt GetChangedNetWt] |
| | 33 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/ResetPrevNetWt ResetPrevNetWt] |
| | 34 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/IsGrossWtChanged IsGrossWtChanged] |
| | 35 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/IsTareWtChanged IsTareWtChanged] |