Files
BionxControl/bcvalue.h.autosave
2025-12-15 20:57:09 +01:00

61 lines
788 B
Plaintext

#ifndef BCRawValue_H
#define BCRawValue_H
class BCRawValueRunner;
#include <QString>
#include <bc.h>
struct BCRawValue
{
BCRawValue( BCDevice::ID deviceID, BC::ID targetID );
void setLongValue( uint8_t value);
uint8_t getLongValue();
QString label;
BCDevice::ID deviceID{BCDevice::ID::Invalid};
BC::ID targetID{BC::ID::Invalid};
};
struct BCUnit
{
enum class ID
{
};
};
class BCValue
{
public:
BCValue( BCDevice::ID deviceID, BC::ID targetID );
void setLongValue( uint8_t value);
uint8_t getLongValue();
QString label;
BCDevice::ID deviceID{BCDevice::ID::Invalid};
BC::ID targetID{BC::ID::Invalid};
double _value{-1};
};
class BCValueShort
{
};
class BCValueLong
{
};
#endif // BCRawValue_H