HamBook – Diff between revs 3 and 9
?pathlinks?
Rev 3 | Rev 9 | |||
---|---|---|---|---|
Line 5... | Line 5... | |||
5 | using System.Linq; |
5 | using System.Linq; |
|
6 | using System.Text; |
6 | using System.Text; |
|
7 | using System.Threading.Tasks; |
7 | using System.Threading.Tasks; |
|
8 | using HamBook.Radios.Generic; |
8 | using HamBook.Radios.Generic; |
|
9 | using static HamBook.Radios.Yaesu.FT_891.Constants; |
9 | using static HamBook.Radios.Yaesu.FT_891.Constants; |
|
- | 10 | using RJCP.IO.Ports; |
||
Line 10... | Line 11... | |||
10 | |
11 | |
|
11 | namespace HamBook.Radios.Yaesu.FT_891 |
12 | namespace HamBook.Radios.Yaesu.FT_891.CAT |
|
12 | { |
13 | { |
|
13 | [Radio("Yaesu FT-891")] |
14 | [Radio("Yaesu FT-891")] |
|
14 | public class AB : Generic.CAT.AB |
15 | public class AB : Generic.CAT.AB |
|
15 | { |
16 | { |
|
16 | public AB(SerialPort serialPort) : base(serialPort) |
17 | public AB(SerialPortStream serialPort) : base(serialPort) |
|
17 | { |
18 | { |
|
Line -... | Line 19... | |||
- | 19 | } |
||
- | 20 | |
||
18 | } |
21 | public override CatLength CatLength => new CatLength { Set = 3 }; |
|
19 | |
22 | |
|
20 | public override void Set() |
23 | public override void Set() |
|
21 | { |
24 | { |
|
22 | SerialPort.Write($"{Name}{Generic.Constants.EOT}"); |
25 | SerialPort.Write($"{Name}{Generic.Constants.EOT}"); |