Browse Source

调试中同步IoHeater

shishenghui 5 days ago
parent
commit
69570fbf86

+ 1 - 1
TIN001-PLC/Jet_Furance_PMC/Jet_Furance_PMC/Jet_Furance_PMC/FurancePMC/IoHeater.cpp

@@ -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;