HamBook – Blame information for rev 54
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
54 | office | 1 | using System.Text; |
3 | office | 2 | using System.Text.RegularExpressions; |
1 | office | 3 | |
4 | namespace HamBook.Radios.Yaesu.FT_891 |
||
54 | office | 5 | { |
1 | office | 6 | public class Constants |
7 | { |
||
54 | office | 8 | public const char UnknownCommandResponse = '?'; |
11 | office | 9 | |
54 | office | 10 | public const int BufferSize = 4096; |
11 | office | 11 | |
54 | office | 12 | public const int PowerOnDelay = 1500; |
1 | office | 13 | |
54 | office | 14 | public const int TimeToWarm = 5000; |
1 | office | 15 | |
54 | office | 16 | public const string Id = "0650"; |
3 | office | 17 | |
54 | office | 18 | public const int MaxTagCharacters = 12; |
19 | public static char Eot = ';'; |
||
3 | office | 20 | |
54 | office | 21 | public static int SquelchMinStep = 5; |
7 | office | 22 | |
54 | office | 23 | public static Regex InformationRegex = new Regex( |
24 | $"^IF(?<radioBank>[0-9PLU]{{3}})(?<frequency>[0-9]{{9}})(?<clarifierDirection>[\\+\\-]{{1}})(?<clarifierOffset>[0-9]{{4}})(?<clar>[01]{{1}})0(?<mode>[123456789ABCD]{{1}})(?<storage>[0125]{{1}})(?<ctcssMode>[012]{{1}})00(?<phase>[012]{{1}}){Eot}$", |
||
25 | RegexOptions.Compiled); |
||
53 | office | 26 | |
54 | office | 27 | public static Encoding Encoding => Encoding.ASCII; |
1 | office | 28 | } |
54 | office | 29 | } |