Пример #1
0
 public ReaderBuzzerControlCommand(byte address, ReaderBuzzerControl readerBuzzerControl)
 {
     _readerBuzzerControl = readerBuzzerControl;
     Address = address;
 }
Пример #2
0
        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);
        }