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