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.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 BD : Generic.CAT.BD 7 public class Bd : Generic.CAT.Bd
14 { -  
15 public override CatLength CatLength => new CatLength { Set = 4 }; -  
16   8 {
17 public BD(SerialPortStream serialPort) : base(serialPort) 9 public Bd(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 }