HamBook – Diff between revs 11 and 15
?pathlinks?
Rev 11 | Rev 15 | |||
---|---|---|---|---|
Line 26... | Line 26... | |||
26 | public override BusyState Parse(string input) |
26 | public override BusyState Parse(string input) |
|
27 | { |
27 | { |
|
28 | var match = readRegex.Match(input); |
28 | var match = readRegex.Match(input); |
|
29 | if(!match.Success) |
29 | if(!match.Success) |
|
30 | { |
30 | { |
|
31 | return BusyState.NONE; |
31 | throw new UnmatchedRadioResponseException(Name, input); |
|
32 | } |
32 | } |
|
Line 33... | Line 33... | |||
33 | |
33 | |
|
34 | return (BusyState)int.Parse(match.Result("${state}")); |
34 | return (BusyState)int.Parse(match.Result("${state}")); |