HamBook – Diff between revs 11 and 54
?pathlinks?
Rev 11 | 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 ID : Cat |
7 | public abstract class Id : Cat |
|
13 | { |
8 | { |
|
14 | public ID(SerialPortStream serialPort) : base(serialPort) |
9 | public Id(SerialPortStream serialPort) : base(serialPort) |
|
15 | { |
10 | { |
|
Line 16... | Line 11... | |||
16 | } |
11 | } |
|
Line 21... | Line 16... | |||
21 | |
16 | |
|
Line 22... | Line 17... | |||
22 | public abstract bool Read(); |
17 | public abstract bool Read(); |
|
23 | |
18 | |
|
24 | public abstract Task<bool> ReadAsync(CancellationToken cancellationToken); |
19 | public abstract Task<bool> ReadAsync(CancellationToken cancellationToken); |
|
25 | } |
20 | } |