コード例 #1
0
        public async Task <bool> ReaderLedControl(Guid connectionId, byte address, ReaderLedControls readerLedControls)
        {
            var reply = await SendCommand(connectionId,
                                          new ReaderLedControlCommand(address, readerLedControls)).ConfigureAwait(false);

            return(reply.Type == ReplyType.Ack);
        }
コード例 #2
0
 public ReaderLedControlCommand(byte address, ReaderLedControls readerLedControls)
 {
     _readerLedControls = readerLedControls;
     Address            = address;
 }