| 1 | = GetCapacity = |
| 2 | Get the capacity of the specified scale. |
| 3 | |
| 4 | {{{ |
| 5 | float GetCapacity(int nScale); |
| 6 | }}} |
| 7 | |
| 8 | == Parameters == |
| 9 | |
| 10 | * nScale - scale number |
| 11 | |
| 12 | == Return Value == |
| 13 | |
| 14 | * Returns the capacity of the specified scale |
| 15 | |
| 16 | == Remarks == |
| 17 | |
| 18 | MnBdStartup must be performed before this will return a valid result. |
| 19 | |
| 20 | == Example == |
| 21 | |
| 22 | {{{ |
| 23 | float fCap; |
| 24 | fCap = GetCapacity(1); |
| 25 | string strMsg = StrFmt("Scale capacity %g", fCap); |
| 26 | DisplayText(10, 10, strMsg); |
| 27 | }}} |
| 28 | |
| 29 | |
| 30 | == See Also == |
| 31 | |
| 32 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/GetInterval GetInterval] |
| 33 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/GetDecimal GetDecimal] |
| 34 | |