| 1 | | OverCap |
| | 1 | = GetOverCap = |
| | 2 | Get over capacity status. |
| | 3 | |
| | 4 | {{{ |
| | 5 | bool GetOverCap(int nScale = process_scale) |
| | 6 | }}} |
| | 7 | |
| | 8 | == Parameters == |
| | 9 | |
| | 10 | * nScale - scale number |
| | 11 | |
| | 12 | == Return Value == |
| | 13 | |
| | 14 | * Returns true if the specified scale is over capacity or false if stable. |
| | 15 | |
| | 16 | == Remarks == |
| | 17 | |
| | 18 | == Examples == |
| | 19 | |
| | 20 | {{{ |
| | 21 | if(GetOverCap()) |
| | 22 | { |
| | 23 | DisplayText(20, 20, "Over capacity"); |
| | 24 | } |
| | 25 | }}} |
| | 26 | |
| | 27 | {{{ |
| | 28 | if(GetOverCap(1)) |
| | 29 | { |
| | 30 | DisplayText(20, 20, "Over capacity"); |
| | 31 | } |
| | 32 | }}} |
| | 33 | |
| | 34 | == See Also == |
| | 35 | |
| | 36 | * GetMotion |
| | 37 | * GetNetWt |