Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save stephan1827/61ac7984377b0480daadb552af4848c7 to your computer and use it in GitHub Desktop.
Save stephan1827/61ac7984377b0480daadb552af4848c7 to your computer and use it in GitHub Desktop.
Button to acknowledge one or all alarms in list
<EventBinding id="ConditionAlarm_content.btnAckAlarm.Click">
<Source contentRefId="ConditionAlarm_content" widgetRefId="btnAckAlarm" xsi:type="widgets.brease.Button.Event" event="Click" />
<EventHandler>
<Action>
<Target xsi:type="widgets.brease.AlarmList.Action" contentRefId="ConditionAlarm_content" widgetRefId="alaListCM" >
<Method xsi:type="widgets.brease.AlarmList.Action.Acknowledge" />
</Target>
</Action>
</EventHandler>
</EventBinding>
<EventBinding id="ConditionAlarm_content.btnAckAlarmAll.Click">
<Source contentRefId="ConditionAlarm_content" widgetRefId="btnAckAlarmAll" xsi:type="widgets.brease.Button.Event" event="Click" />
<EventHandler>
<Action>
<Target xsi:type="widgets.brease.AlarmList.Action" contentRefId="ConditionAlarm_content" widgetRefId="alaListCM" >
<Method xsi:type="widgets.brease.AlarmList.Action.AcknowledgeAll" />
</Target>
</Action>
</EventHandler>
</EventBinding>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment