The QKnx4ByteFloat class is datapoint type for a 4-byte float value. 更多...
头: | #include <QKnx4ByteFloat> |
qmake: | QT += knx |
继承: | QKnxFixedSizeDatapointType |
QKnx4ByteFloat (float value ) | |
QKnx4ByteFloat () | |
void | setValue (float value ) |
float | value () const |
virtual bool | isValid () const override |
QKnx4ByteFloat (int subType , float value ) |
This is fixed size datapoint type with the length of 4 bytes.
The range for the value of this datapoint type is from
-3.40282e+38
to
3.40282e+38
.
This class is a base class for the following datapoint types:
QKnxValueAbsoluteTemperature
- Absolute temperature in K.
QKnxValueAcceleration
- Acceleration in m/s2.
QKnxValueAccelerationAngular
- Angular Acceleration in rad/s2.
QKnxValueActivationEnergy
- Activation Energy in J/mol.
QKnxValueActivity
- Radioactive activity in 1/s.
QKnxValueAngleDeg
- Angle in degrees.
QKnxValueAngleRad
- Angle in radian.
QKnxValueAmplitude
- Amplitude.
QKnxValueAngularFrequency
- Angular frequency in rad/s.
QKnxValueAngularMomentum
- Angular momentum in Js.
QKnxValueAngularVelocity
- Angular velocity in rad/s.
QKnxValueArea
- Area in m2.
QKnxValueCapacitance
- Capacitance in F.
QKnxValueChargeDensitySurface
- Flux density in C/m2.
QKnxValueChargeDensityVolume
- Charge density in C/m3.
QKnxValueCompressibility
- Compressibility in m2/N.
QKnxValueCommonTemperature
- Temperature in degrees Celsius.
QKnxValueConductance
- Conductance in S.
QKnxValueDensity
- Density in kg/m3.
QKnxValueElectricalConductivity
- Conductivity in S/m.
QKnxValueElectricCharge
- Electric charge in C.
QKnxValueElectricCurrent
- Electric current in A.
QKnxValueElectricCurrentDensity
- Electric current density in A/m2.
QKnxValueElectricDipoleMoment
- Electric dipole moment in Cm.
QKnxValueElectricDisplacement
- Electric displacement in C/m2.
QKnxValueElectricFieldStrength
- Electric field strength in V/m.
QKnxValueElectricFlux
- Electric flux in C.
QKnxValueElectricFluxDensity
- Electric flux density in C/m2.
QKnxValueElectricPolarization
- Electric polarization in C/m2.
QKnxValueElectricPotential
- Electric potential in V.
QKnxValueElectricPotentialDifference
- Electric potential difference in V.
QKnxValueElectromagneticMoment
- Electromagnetic moment in Am2.
QKnxValueElectromotiveForce
- Electromotive force in V.
QKnxValueEnergy
- Energy in J.
QKnxValueForce
- Force in N.
QKnxValueFrequency
- Frequency in Hz.
QKnxValueHeatCapacity
- Heat capacity in J/K.
QKnxValueHeatFlowRate
- Heat flow rate in W.
QKnxValueHeatQuantity
- Heat quantity in J.
QKnxValueImpedance
- Impedance in Ohm.
QKnxValueLength
- Length in m.
QKnxValueLightQuantity
- Light quantity in J.
QKnxValueLuminance
- Luminance in cd/m2.
QKnxValueLuminousFlux
- Luminous flux in lm.
QKnxValueLuminousIntensity
- Luminous intensity in cd.
QKnxValueMagneticFieldStrength
- Magnetic field strength in A/m.
QKnxValueMagneticFlux
- Magnetic flux in Wb.
QKnxValueMagneticFluxDensity
- Magnetic flux density in T.
QKnxValueMagneticMoment
- Magnetic moment in Am2.
QKnxValueMagneticPolarization
- Magnetic polarization in T.
QKnxValueMagnetization
- Magnetization in A/m.
QKnxValueMagnetomotiveForce
- Magnetomotive force in A.
QKnxValueMass
- Mass in kg.
QKnxValueMassFlux
- Mass flux in kg/s.
QKnxValueMol
- Amount of substance in mol.
QKnxValueMomentum
- Momentum in N/s.
QKnxValuePhaseAngleDeg
- Phase angle in degrees.
QKnxValuePhaseAngleRad
- Phase angle in radian.
QKnxValuePower
- Power in W.
QKnxValuePowerFactor
- Power factor in cos Phi.
QKnxValuePressure
- Pressure in Pa.
QKnxValueReactance
- Reactance in Ohm.
QKnxValueResistance
- Resistance in Ohm.
QKnxValueResistivity
- Resistivity in Ohm*m.
QKnxValueSelfInductance
- Self inductance in H.
QKnxValueSolidAngle
- Solid angle in sr.
QKnxValueSoundIntensity
- Sound intensity in W/m2.
QKnxValueSpeed
- Speed in m/s.
QKnxValueStress
- Stress in Pa.
QKnxValueSurfaceTension
- Surface tension in N/m.
QKnxValueTemperatureDifference
- Temperature difference in K.
QKnxValueThermalCapacity
- Thermal capacity in J/K.
QKnxValueThermalConductivity
- Thermal conductivity in W/mk.
QKnxValueThermoelectricPower
- Thermoelectric power in V/K.
QKnxValueTime
- Time in seconds.
QKnxValueTorque
- Torque in Nm.
QKnxValueVolume
- Volume in m3.
QKnxValueVolumeFlux
- Volume flux in m3/s.
QKnxValueWeight
- Weight in N.
QKnxValueWork
- Work in J.
另请参阅 QKnxDatapointType and Qt KNX Datapoint Type Classes .
[protected]
QKnx4ByteFloat::
QKnx4ByteFloat
(
int
subType
,
float
value
)
Creates a fixed size datapoint type with the subtype subType and float value .
Creates a fixed size datapoint type with the float value .
Creates a fixed size datapoint type with the value set to
0.0
.
[override virtual]
bool
QKnx4ByteFloat::
isValid
() const
重实现: QKnxDatapointType::isValid () const.
Sets the float of the datapoint type to value .
If the value is outside the allowed range, returns
false
and does not set the value.
另请参阅 value ().
Returns the value stored in the datapoint type.
另请参阅 setValue ().