Dokit
Internal development documentation
|
Encapsulates convenience functions for working with resistance ranges. More...
Functions | |
QString | toString (const PokitProduct product, const quint8 range) |
Returns product's current range as a human-friendly string. | |
quint32 | maxValue (const PokitProduct product, const quint8 range) |
Returns the maximum value for range in ohms, or 0 if range is not a known value for product. | |
Encapsulates convenience functions for working with resistance ranges.
QTPOKIT_EXPORT quint32 ResistanceRange::maxValue | ( | const PokitProduct | product, |
const quint8 | range ) |
Returns the maximum value for range in ohms, or 0 if range is not a known value for product.
Definition at line 242 of file pokitproducts.cpp.
References PokitMeter::maxValue(), PokitPro::maxValue(), PokitMeter, and PokitPro.
Referenced by MultimeterService::maxValue().
QTPOKIT_EXPORT QString ResistanceRange::toString | ( | const PokitProduct | product, |
const quint8 | range ) |
Returns product's current range as a human-friendly string.
Definition at line 224 of file pokitproducts.cpp.
References QString::arg(), PokitMeter, PokitPro, PokitMeter::toString(), and PokitPro::toString().
Referenced by MultimeterService::toString().