Find and share HowTos to various installations / configurations!
5 posts • Page 1 of 1
5 posts
• Page 1 of 1
AMRPatricio
Posts:61
Joined: Mon Dec 12, 2016 4:43 pm
:_alert_hdl.._act_state_color
Postby AMRPatricio »
Hi All,
I wonder if someone can help me out with the following issue:
I have my alert class defined as the picture in attachment. When I then do a dpconnect to “…:_alert_hdl.._act_state_color”, I obtained the following results:
[ol][/ol]["display color:"]["red"] when the alert is active , which is what I expected.
[ol][/ol]["display color:"][""], when alert is not active(no alert status). I would expect to receive “black” instead.
Where am I wrong on my thoughts?
Thanks in advance,
"_alert_hdl.._act_state_color" returns the background color of the current highest pending alert .
If there is no alert (= no pending alert), then this attribute is am empty string.
Can you please describe what you want to do with the alert information.
Maybe using a dpConnect for the _alert_hdl attributes is the wrong approach in that case.
Best Regards
Leopold Knipp
Senior Support Specialist
Hi Leopold,
I want basically represent the alarm status with background color in accordance. See please attached.
Of course I can obtain similar result using the original value and then couple "setValue"....but I would have thought using the alert attributes as all the information I need is there and updated.