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