HamBook – Blame information for rev 9
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
3 | office | 1 | using System; |
2 | using System.Collections.Generic; |
||
3 | using System.IO.Ports; |
||
4 | using System.Linq; |
||
5 | using System.Text; |
||
9 | office | 6 | using System.Threading; |
3 | office | 7 | using System.Threading.Tasks; |
9 | office | 8 | using RJCP.IO.Ports; |
3 | office | 9 | |
10 | namespace HamBook.Radios.Generic.CAT |
||
11 | { |
||
12 | public abstract class AI : Cat |
||
13 | { |
||
9 | office | 14 | public AI(SerialPortStream serialPort) : base(serialPort) |
3 | office | 15 | { |
16 | } |
||
17 | |||
18 | public override string Name => "AI"; |
||
19 | |||
20 | public override string Definition => "AUTO INFORMATION"; |
||
21 | |||
9 | office | 22 | public abstract void Write(InformationState state); |
3 | office | 23 | |
9 | office | 24 | public abstract Task WriteAsync(InformationState state, CancellationToken cancellationToken); |
25 | |||
26 | public abstract bool Set(InformationState state); |
||
27 | |||
28 | public abstract Task<bool> SetAsync(InformationState state, CancellationToken cancellationToken); |
||
29 | |||
3 | office | 30 | public abstract InformationState Read(); |
31 | |||
9 | office | 32 | public abstract Task<InformationState> ReadAsync(CancellationToken cancellationToken); |
33 | |||
3 | office | 34 | public abstract Information Parse(string input); |
35 | } |
||
36 | } |