HamBook – Diff between revs 7 and 9
?pathlinks?
Rev 7 | Rev 9 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | using System; |
1 | using System; |
|
2 | using System.Collections.Generic; |
2 | using System.Collections.Generic; |
|
3 | using System.IO.Ports; |
3 | using System.IO.Ports; |
|
4 | using System.Linq; |
4 | using System.Linq; |
|
5 | using System.Text; |
5 | using System.Text; |
|
- | 6 | using System.Threading; |
||
6 | using System.Threading.Tasks; |
7 | using System.Threading.Tasks; |
|
- | 8 | using RJCP.IO.Ports; |
||
Line 7... | Line 9... | |||
7 | |
9 | |
|
8 | namespace HamBook.Radios.Generic.CAT |
10 | namespace HamBook.Radios.Generic.CAT |
|
9 | { |
11 | { |
|
10 | public abstract class PS : Cat |
12 | public abstract class PS : Cat |
|
11 | { |
13 | { |
|
Line 12... | Line 14... | |||
12 | public override string Name => "PS"; |
14 | public override string Name => "PS"; |
|
Line 13... | Line 15... | |||
13 | |
15 | |
|
14 | public override string Definition => "POWER SWITCH"; |
16 | public override string Definition => "POWER SWITCH"; |
|
15 | |
17 | |
|
Line 16... | Line 18... | |||
16 | public PS(SerialPort serialPort) : base(serialPort) |
18 | public PS(SerialPortStream serialPort) : base(serialPort) |
|
Line 17... | Line 19... | |||
17 | { |
19 | { |
|
18 | } |
20 | } |
|
19 | |
21 | |