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.ComponentModel; |
- | ||
4 | using System.IO.Ports; |
1 | using RJCP.IO.Ports; |
|
5 | using System.Linq; |
- | ||
6 | using System.Text; |
- | ||
7 | using System.Threading.Tasks; |
- | ||
8 | using static HamBook.Radios.Yaesu.FT_891.Constants; |
2 | using static HamBook.Radios.Yaesu.FT_891.Constants; |
|
9 | using RJCP.IO.Ports; |
- | ||
Line 10... | Line 3... | |||
10 | |
3 | |
|
11 | namespace HamBook.Radios.Yaesu.FT_891.CAT |
4 | namespace HamBook.Radios.Yaesu.FT_891.CAT |
|
12 | { |
5 | { |
|
13 | [Radio("Yaesu FT-891")] |
6 | [Radio("Yaesu FT-891")] |
|
14 | public class BA : Generic.CAT.BA |
7 | public class Ba : Generic.CAT.Ba |
|
15 | { |
- | ||
16 | public override CatLength CatLength => new CatLength { Set = 3 }; |
- | ||
17 | |
8 | { |
|
18 | public BA(SerialPortStream serialPort) : base(serialPort) |
9 | public Ba(SerialPortStream serialPort) : base(serialPort) |
|
19 | { |
10 | { |
|
Line -... | Line 11... | |||
- | 11 | } |
||
- | 12 | |
||
20 | } |
13 | public override CatLength CatLength => new CatLength { Set = 3 }; |
|
21 | |
14 | |
|
22 | public override void Set() |
15 | public override void Set() |
|
23 | { |
16 | { |
|
24 | SerialPort.Write($"{Name}{Constants.EOT}"); |
17 | SerialPort.Write($"{Name}{Eot}"); |
|
25 | } |
18 | } |
|
26 | } |
19 | } |