|
@@ -40,7 +40,7 @@ void IoHeater::initialize()
|
|
|
{
|
|
|
char opName[MAX_NAME_LEN];
|
|
|
sprintf(opName, "%s.SetParameters", this->id);
|
|
|
- auto op = OP->subscribe(opName);
|
|
|
+ auto op = OP->subscribe(opName,this);
|
|
|
op->addExec([]()->OperatorStatusEnum {
|
|
|
OperatorNode* op = OP->currentRoot;
|
|
|
IoHeater* device = (IoHeater*)op->device;
|