Dokit
Internal development documentation
|
Encapsulates convenience functions for working with current 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 microamps, or 0 if range is not a known value for product. | |
Encapsulates convenience functions for working with current ranges.
QTPOKIT_EXPORT quint32 CurrentRange::maxValue | ( | const PokitProduct | product, |
const quint8 | range ) |
Returns the maximum value for range in microamps, or 0 if range is not a known value for product.
Definition at line 201 of file pokitproducts.cpp.
References PokitMeter::maxValue(), PokitPro::maxValue(), PokitMeter, and PokitPro.
Referenced by DataLoggerService::maxValue(), DsoService::maxValue(), and MultimeterService::maxValue().
QTPOKIT_EXPORT QString CurrentRange::toString | ( | const PokitProduct | product, |
const quint8 | range ) |
Returns product's current range as a human-friendly string.
Definition at line 183 of file pokitproducts.cpp.
References QString::arg(), PokitMeter, PokitPro, PokitMeter::toString(), and PokitPro::toString().
Referenced by DataLoggerService::toString(), DsoService::toString(), and MultimeterService::toString().