HamBook – Diff between revs 46 and 54

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
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 HamBook.Radios.Generic; -  
9 using static HamBook.Radios.Yaesu.FT_891.Constants; 2 using static HamBook.Radios.Yaesu.FT_891.Constants;
10 using RJCP.IO.Ports; -  
11 using HamBook.Properties; -  
Line 12... Line 3...
12   3  
13 namespace HamBook.Radios.Yaesu.FT_891.CAT 4 namespace HamBook.Radios.Yaesu.FT_891.CAT
14 { 5 {
15 [Radio("Yaesu FT-891")] 6 [Radio("Yaesu FT-891")]
16 public class AB : Generic.CAT.AB 7 public class Ab : Generic.CAT.Ab
17 { -  
18 public override CatLength CatLength => new CatLength { Set = 3 }; -  
19   8 {
20 public AB(SerialPortStream serialPort) : base(serialPort) 9 public Ab(SerialPortStream serialPort) : base(serialPort)
21 { 10 {
Line -... Line 11...
-   11 }
-   12  
22 } 13 public override CatLength CatLength => new CatLength { Set = 3 };
23   14  
24 public override void Set() 15 public override void Set()
25 { 16 {
26 SerialPort.Write($"{Name}{Constants.EOT}"); 17 SerialPort.Write($"{Name}{Eot}");
27 } 18 }
28 } 19 }