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