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 SQ : Cat |
7 | public abstract class Sq : Cat |
|
- | 8 | { |
||
- | 9 | public Sq(SerialPortStream serialPort) : base(serialPort) |
||
- | 10 | { |
||
- | 11 | } |
||
13 | { |
12 | |
|
Line 14... | Line 13... | |||
14 | public override string Name => "SQ"; |
13 | public override string Name => "SQ"; |
|
Line 15... | Line -... | |||
15 | |
- | ||
16 | public override string Definition => "SQUELCH LEVEL"; |
- | ||
17 | |
- | ||
18 | public SQ(SerialPortStream serialPort) : base(serialPort) |
- | ||
19 | { |
14 | |
|
Line 20... | Line 15... | |||
20 | } |
15 | public override string Definition => "SQUELCH LEVEL"; |
|
Line 21... | Line 16... | |||
21 | |
16 | |
|
Line 31... | Line 26... | |||
31 | |
26 | |
|
Line 32... | Line 27... | |||
32 | public abstract void Write(int level); |
27 | public abstract void Write(int level); |
|
33 | |
28 | |
|
34 | public abstract Task WriteAsync(int level, CancellationToken cancellationToken); |
29 | public abstract Task WriteAsync(int level, CancellationToken cancellationToken); |
|
35 | } |
30 | } |