Hi,
I would like to signal the same slot (updateHoldingRegisters) from two Slot properties of the same object (FancoilSpeed, OnTempReferenceUpdate):
And then, on updateHoldingRegisters, I would like to know who has signaled the slot method, something like:
if(sender == Thermostat.FancoilSpeedSelector){
//do something
}else if(sender == Thermostat.OnTempReferenceUpdate){
//do something
}
But using sender is not working.
How could achieve this?
Kind Regards,
Rafa