First commit.

This commit is contained in:
2025-12-15 20:57:09 +01:00
commit a01356342c
33 changed files with 3050 additions and 0 deletions

60
bcvalue.h.autosave Normal file
View File

@@ -0,0 +1,60 @@
#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