public Task <StateResponse> Handle(ToggleAlarmStrobeCommand request, CancellationToken token)
 {
     return(Task.FromResult(new StateResponse(_relaysController.AlarmStrobeToggle())));
 }
示例#2
0
 protected override Task <StateResponse> HandleCore(ToggleAlarmStrobeCommand request)
 {
     return(Task.FromResult(new StateResponse(_relaysController.AlarmStrobeToggle())));
 }