HamBook – Blame information for rev 41
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | using System; |
2 | using System.Collections.Generic; |
||
3 | using System.Linq; |
||
4 | using System.Text; |
||
3 | office | 5 | using System.Text.RegularExpressions; |
1 | office | 6 | using System.Threading.Tasks; |
7 | |||
8 | namespace HamBook.Radios.Yaesu.FT_891 |
||
11 | office | 9 | { |
1 | office | 10 | public class Constants |
11 | { |
||
11 | office | 12 | public static Encoding Encoding => Encoding.ASCII; |
13 | |||
14 | public const char UNKNOWN_COMMAND_RESPONSE = '?'; |
||
15 | |||
1 | office | 16 | public const int BUFFER_SIZE = 4096; |
17 | |||
11 | office | 18 | public const int POWER_ON_DELAY = 1500; |
1 | office | 19 | |
20 | public const int TIME_TO_WARM = 5000; |
||
3 | office | 21 | |
22 | public const int SQUELCH_MIN_STEP = 5; |
||
23 | |||
7 | office | 24 | public const string ID = "0650"; |
25 | |||
41 | office | 26 | public static Regex InformationRegex = new Regex($"^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}}){Generic.Constants.EOT}$", RegexOptions.Compiled); |
3 | office | 27 | |
1 | office | 28 | } |
29 | } |