Finish lerge refactor of systems
This commit is contained in:
parent
6d742e60db
commit
913d7df56d
36 changed files with 614 additions and 634 deletions
|
|
@ -9,11 +9,11 @@ Relay::Relay(uint8_t id, QString name, uint16_t address, bool state, QObject* pa
|
|||
id_(id), address_(address)
|
||||
{
|
||||
itemId_ = address | ((uint32_t)id << 16);
|
||||
qDebug()<<"Relay "<<id_<<"Name "<<name<<" id "<<itemId_<<" state "<<state<<" addr: "<<address;
|
||||
}
|
||||
|
||||
void Relay::enactValue(uint8_t value)
|
||||
{
|
||||
qDebug()<<"Relay"<<__func__<<micro_;
|
||||
if(micro_)
|
||||
{
|
||||
if(value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue