CallbackAction
public sealed record CallbackAction : AlarmAction, IEquatable<CallbackAction>
Invoke a handler registered with ThermalCamera.RegisterAlarmCallback(…).
For a handler that should run only for the rules that name it. ThermalCamera.AlarmEventsAsync(…) already sees every transition of every rule and needs no action.
A slot belongs to the camera that issued it. A rule read back with ThermalCamera.GetRule carries its callback actions too, so it can be shown and written back without losing them.
CallbackAction: constructors
public CallbackAction(uint Slot)
Invoke a handler registered with ThermalCamera.RegisterAlarmCallback(…).
Slot: Which registered handler: the numberThermalCamera.RegisterAlarmCallback(…)returned.
For a handler that should run only for the rules that name it. ThermalCamera.AlarmEventsAsync(…) already sees every transition of every rule and needs no action.
A slot belongs to the camera that issued it. A rule read back with ThermalCamera.GetRule carries its callback actions too, so it can be shown and written back without losing them.
CallbackAction: properties
public uint Slot { get; init; }
Which registered handler: the number ThermalCamera.RegisterAlarmCallback(…) returned.