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