The code you attached is full of that awfull float crap that I will not touch.
In a Timer-node you would have a TimerInfos structure that governs all operations,
times, options and state. What are you missing to use these informations?
The mapping to ports that are controlled by those timers is local,
and nobody would be interested in that information anyway.
Don't create copies of information if not absolutely necessary.
Don't misuse floats for flags or commands.