public ReaderBuzzerControlCommand(byte address, ReaderBuzzerControl readerBuzzerControl) { _readerBuzzerControl = readerBuzzerControl; Address = address; }
public async Task <bool> ReaderBuzzerControl(Guid connectionId, byte address, ReaderBuzzerControl readerBuzzerControl) { var reply = await SendCommand(connectionId, new ReaderBuzzerControlCommand(address, readerBuzzerControl)).ConfigureAwait(false); return(reply.Type == ReplyType.Ack); }