HamBook – Diff between revs 37 and 54
?pathlinks?
Rev 37 | 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 ST : Cat |
7 | public abstract class St : Cat |
|
- | 8 | { |
||
- | 9 | public St(SerialPortStream serialPort) : base(serialPort) |
||
- | 10 | { |
||
- | 11 | } |
||
13 | { |
12 | |
|
Line 14... | Line 13... | |||
14 | public override string Name => "ST"; |
13 | public override string Name => "ST"; |
|
Line 15... | Line -... | |||
15 | |
- | ||
16 | public override string Definition => "SPLIT"; |
- | ||
17 | |
- | ||
18 | public ST(SerialPortStream serialPort) : base(serialPort) |
- | ||
19 | { |
14 | |
|
Line 20... | Line 15... | |||
20 | } |
15 | public override string Definition => "SPLIT"; |
|
Line 21... | Line 16... | |||
21 | |
16 | |
|
Line 29... | Line 24... | |||
29 | |
24 | |
|
Line 30... | Line 25... | |||
30 | public abstract void Write(SplitState level); |
25 | public abstract void Write(SplitState level); |
|
31 | |
26 | |
|
32 | public abstract Task WriteAsync(SplitState level, CancellationToken cancellationToken); |
27 | public abstract Task WriteAsync(SplitState level, CancellationToken cancellationToken); |
|
33 | } |
28 | } |