HamBook – Blame information for rev 9
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | 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; |
1 | office | 7 | using System.Threading.Tasks; |
9 | office | 8 | using RJCP.IO.Ports; |
1 | office | 9 | |
10 | namespace HamBook.Radios.Generic.CAT |
||
11 | { |
||
12 | public abstract class FB : Cat |
||
13 | { |
||
14 | public override string Name => "FB"; |
||
15 | |||
16 | public override string Definition => "FREQUENCY VFO-B"; |
||
17 | |||
9 | office | 18 | public FB(SerialPortStream serialPort) : base(serialPort) |
1 | office | 19 | { |
20 | } |
||
21 | |||
9 | office | 22 | |
7 | office | 23 | public abstract bool Set(int frequency); |
1 | office | 24 | |
9 | office | 25 | public abstract Task<bool> SetAsync(int frequency, CancellationToken cancellation); |
26 | |||
1 | office | 27 | public abstract int Read(); |
9 | office | 28 | |
29 | public abstract Task<int> ReadAsync(CancellationToken cancellationToken); |
||
30 | |||
31 | public abstract void Write(int frequency); |
||
32 | |||
33 | public abstract Task WriteAsync(int frequency, CancellationToken cancellationToken); |
||
1 | office | 34 | } |
35 | } |