HamBook – Blame information for rev 23
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
23 | 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 AC : Cat |
||
13 | { |
||
14 | public AC(SerialPortStream serialPort) : base(serialPort) |
||
15 | { |
||
16 | } |
||
17 | |||
18 | public override string Name => "AC"; |
||
19 | |||
20 | public override string Definition => "ANTENNA TUNER CONTROL"; |
||
21 | |||
22 | public abstract TunerState Read(); |
||
23 | |||
24 | public abstract Task<TunerState> ReadAsync(CancellationToken cancellationToken); |
||
25 | |||
26 | public abstract bool Set(TunerState channel); |
||
27 | |||
28 | public abstract Task<bool> SetAsync(TunerState channel, CancellationToken cancellationToken); |
||
29 | |||
30 | public abstract void Write(TunerState channel); |
||
31 | |||
32 | public abstract Task WriteAsync(TunerState channel, CancellationToken cancellationToken); |
||
33 | } |
||
34 | } |