QString RDimAngularData::getAutoLabel() const { QString ret; ret = formatAngleLabel(getMeasuredValue()); return ret; }
void SensorCard::getTotalData(CumulativeData& totalData) { getMeasuredValue( FRONIUS_CMD_GET_MINIMUM_TEMPERATURE_CH1_TOTAL, totalData.temperatureChan1Minimum); getMeasuredValue( FRONIUS_CMD_GET_MAXIMUM_TEMPERATURE_CH1_TOTAL, totalData.temperatureChan1Maximum); getMeasuredValue( FRONIUS_CMD_GET_MINIMUM_TEMPERATURE_CH2_TOTAL, totalData.temperatureChan2Minimum); getMeasuredValue( FRONIUS_CMD_GET_MAXIMUM_TEMPERATURE_CH2_TOTAL, totalData.temperatureChan2Maximum); getMeasuredValue( FRONIUS_CMD_GET_MAXIMUM_IRRADIANCE_TOTAL, totalData.irradianceMaximum); getMeasuredValue( FRONIUS_CMD_GET_MAXIMUM_DIGITAL_CH1_TOTAL, totalData.digitalChan1ValueMaximum); getMeasuredValue( FRONIUS_CMD_GET_MAXIMUM_DIGITAL_CH2_TOTAL, totalData.digitalChan2ValueMaximum); }
void SensorCard::getYearData(CumulativeData& yearData) { assert(supportsYearData()); getMeasuredValue( FRONIUS_CMD_GET_MINIMUM_TEMPERATURE_CH1_YEAR, yearData.temperatureChan1Minimum); getMeasuredValue( FRONIUS_CMD_GET_MAXIMUM_TEMPERATURE_CH1_YEAR, yearData.temperatureChan1Maximum); getMeasuredValue( FRONIUS_CMD_GET_MINIMUM_TEMPERATURE_CH2_YEAR, yearData.temperatureChan2Minimum); getMeasuredValue( FRONIUS_CMD_GET_MAXIMUM_TEMPERATURE_CH2_YEAR, yearData.temperatureChan2Maximum); getMeasuredValue( FRONIUS_CMD_GET_MAXIMUM_IRRADIANCE_YEAR, yearData.irradianceMaximum); getMeasuredValue( FRONIUS_CMD_GET_MAXIMUM_DIGITAL_CH1_YEAR, yearData.digitalChan1ValueMaximum); getMeasuredValue( FRONIUS_CMD_GET_MAXIMUM_DIGITAL_CH2_YEAR, yearData.digitalChan2ValueMaximum); }
void SensorCard::getNowData(NowData& nowData) { getMeasuredValue( FRONIUS_CMD_GET_TEMPERATURE_CH1_NOW, nowData.temperatureChan1); getMeasuredValue( FRONIUS_CMD_GET_TEMPERATURE_CH2_NOW, nowData.temperatureChan2); getMeasuredValue( FRONIUS_CMD_GET_IRRADIANCE_NOW, nowData.irradiance); getMeasuredValue( FRONIUS_CMD_GET_DIGITAL_CH1_NOW, nowData.digitalChan1Value); getMeasuredValue( FRONIUS_CMD_GET_DIGITAL_CH2_NOW, nowData.digitalChan2Value); }
QString RDimAlignedData::getAutoLabel() const { double distance = getMeasuredValue(); distance *= linearFactor; return formatLabel(distance); }
QString RDimOrdinateData::getAutoLabel() const { double distance = getMeasuredValue(); return formatLabel(distance); }