HamBook – Diff between revs 9 and 54
?pathlinks?
Rev 9 | Rev 54 | |||
---|---|---|---|---|
Line 1... | Line -... | |||
1 | using System; |
- | ||
2 | using System.Collections.Generic; |
- | ||
3 | using System.IO.Ports; |
- | ||
4 | using System.Linq; |
- | ||
5 | using System.Text; |
- | ||
6 | using System.Threading; |
1 | using System.Threading; |
|
7 | using System.Threading.Tasks; |
2 | using System.Threading.Tasks; |
|
8 | using RJCP.IO.Ports; |
3 | using RJCP.IO.Ports; |
|
Line 9... | Line 4... | |||
9 | |
4 | |
|
10 | namespace HamBook.Radios.Generic.CAT |
5 | namespace HamBook.Radios.Generic.CAT |
|
11 | { |
6 | { |
|
12 | public abstract class FB : Cat |
7 | public abstract class Fb : Cat |
|
- | 8 | { |
||
- | 9 | public Fb(SerialPortStream serialPort) : base(serialPort) |
||
- | 10 | { |
||
- | 11 | } |
||
13 | { |
12 | |
|
Line 14... | Line 13... | |||
14 | public override string Name => "FB"; |
13 | public override string Name => "FB"; |
|
Line 15... | Line -... | |||
15 | |
- | ||
16 | public override string Definition => "FREQUENCY VFO-B"; |
- | ||
17 | |
- | ||
18 | public FB(SerialPortStream serialPort) : base(serialPort) |
- | ||
Line 19... | Line 14... | |||
19 | { |
14 | |
|
Line 20... | Line 15... | |||
20 | } |
15 | public override string Definition => "FREQUENCY VFO-B"; |
|
Line 30... | Line 25... | |||
30 | |
25 | |
|
Line 31... | Line 26... | |||
31 | public abstract void Write(int frequency); |
26 | public abstract void Write(int frequency); |
|
32 | |
27 | |
|
33 | public abstract Task WriteAsync(int frequency, CancellationToken cancellationToken); |
28 | public abstract Task WriteAsync(int frequency, CancellationToken cancellationToken); |
|
34 | } |
29 | } |