HamBook – Blame information for rev 15
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
15 | 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 MT : Cat |
||
13 | { |
||
14 | public MT(SerialPortStream serialPort) : base(serialPort) |
||
15 | { |
||
16 | } |
||
17 | |||
18 | public override string Name => "MT"; |
||
19 | |||
20 | public override string Definition => "MEMORY WRITE & TAG"; |
||
21 | |||
22 | public abstract MemoryChannel Read(string location); |
||
23 | |||
24 | public abstract Task<MemoryChannel> ReadAsync(string location, CancellationToken cancellationToken); |
||
25 | |||
26 | public abstract bool Set(MemoryChannel channel); |
||
27 | |||
28 | public abstract Task<bool> SetAsync(MemoryChannel channel, CancellationToken cancellationToken); |
||
29 | |||
30 | public abstract void Write(MemoryChannel channel); |
||
31 | |||
32 | public abstract Task WriteAsync(MemoryChannel channel, CancellationToken cancellationToken); |
||
33 | |||
34 | public abstract MemoryChannel Parse(string input); |
||
35 | |||
36 | public abstract string Compose(MemoryChannel channel); |
||
37 | } |
||
38 | } |