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