Create and rework data handling, part I
This commit is contained in:
18
bcvalue.cpp
18
bcvalue.cpp
@@ -36,6 +36,15 @@ BCValueType::BCValueType()
|
||||
|
||||
}
|
||||
|
||||
BCValueType::BCValueType( TypeID ID_, QString unitLabel_, optDouble factor_, optDouble min_, optDouble max_ )
|
||||
: ID{ID_}, unitLabel{unitLabel_}, factor{factor_}, min{min_}, max{max_}
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
///-------------------------------
|
||||
|
||||
|
||||
BCValue::BCValue()
|
||||
{
|
||||
|
||||
@@ -48,8 +57,13 @@ BCValue::BCValue(const BCValueType& valueType_, BCDevice::ID deviceID_, BC::ID t
|
||||
|
||||
}
|
||||
|
||||
BCValueType::BCValueType( TypeID ID_, QString unitLabel_, optDouble factor_, optDouble min_, optDouble max_ )
|
||||
: ID{ID_}, unitLabel{unitLabel_}, factor{factor_}, min{min_}, max{max_}
|
||||
void BCValue::readRawValue( const BCAbstractTransmitter& transmitter ) const
|
||||
{
|
||||
transmitter.readValue( deviceID, targetID );
|
||||
}
|
||||
|
||||
void BCValue::writeRawValue( const BCAbstractTransmitter& transmitter ) const
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user