Difference between revisions of "%sfg"
From Zenitel Wiki
(Created page with "{{A}} The '''%sfg''' macro is used in the Event Handler to check if any failure state of IP stations in a station group. ===Syntax=== '''%sfg(group)''' Return 1 if any...") |
|||
Line 1: | Line 1: | ||
{{A}} | {{A}} | ||
− | The '''%sfg''' macro is used in the [[Event Handler]] to check if any failure state of IP stations in a station group. | + | The '''%sfg''' (Station Fault Group) macro is used in the [[Event Handler]] to check if any failure state of IP stations in a station group. |
===Syntax=== | ===Syntax=== | ||
Line 8: | Line 8: | ||
group = local station group index. 0 = all IP stations. | group = local station group index. 0 = all IP stations. | ||
+ | <br> | ||
===Examples=== | ===Examples=== | ||
%sfg(3) - ''Return fault state of group 3'' | %sfg(3) - ''Return fault state of group 3'' | ||
− | + | <br><br> | |
Back to [[Event_Handler#List_of_context_parameters]]. | Back to [[Event_Handler#List_of_context_parameters]]. | ||
[[Category:Event Handler macros]] | [[Category:Event Handler macros]] | ||
[[Category:Event Handler]] | [[Category:Event Handler]] |
Revision as of 18:20, 21 March 2018
The %sfg (Station Fault Group) macro is used in the Event Handler to check if any failure state of IP stations in a station group.
Syntax
%sfg(group)
Return 1 if any member of the group has fault flag set.
group = local station group index. 0 = all IP stations.
Examples
%sfg(3) - Return fault state of group 3