HamBook – Blame information for rev 54

Subversion Repositories:
Rev:
Rev Author Line No. Line
54 office 1 using System.Threading;
19 office 2 using System.Threading.Tasks;
54 office 3 using RJCP.IO.Ports;
19 office 4  
5 namespace HamBook.Radios.Generic.CAT
6 {
54 office 7 public abstract class Mc : Cat
19 office 8 {
54 office 9 public Mc(SerialPortStream serialPort) : base(serialPort)
19 office 10 {
11 }
12  
13 public override string Name => "MC";
14  
15 public override string Definition => "MEMORY CHANNEL";
16  
41 office 17 public abstract string Read();
19 office 18  
41 office 19 public abstract Task<string> ReadAsync(CancellationToken cancellationToken);
19 office 20  
41 office 21 public abstract bool Set(string channel);
19 office 22  
41 office 23 public abstract Task<bool> SetAsync(string channel, CancellationToken cancellationToken);
19 office 24  
41 office 25 public abstract void Write(string channel);
19 office 26  
41 office 27 public abstract Task WriteAsync(string channel, CancellationToken cancellationToken);
19 office 28 }
54 office 29 }