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