HamBook – Blame information for rev 41
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
41 | office | 1 | using HamBook.Properties; |
2 | using System; |
||
3 | using System.Collections.Generic; |
||
4 | using System.Linq; |
||
5 | using System.Text; |
||
6 | using System.Threading.Tasks; |
||
7 | |||
8 | namespace HamBook.Radios.Generic |
||
9 | { |
||
10 | public abstract class MemoryBanks |
||
11 | { |
||
12 | public abstract IEnumerable<string> GetMemoryBanks(); |
||
13 | |||
14 | public static MemoryBanks Create(string radio) |
||
15 | { |
||
16 | switch (radio) |
||
17 | { |
||
18 | case "Yaesu FT-891": |
||
19 | return new Yaesu.FT_891.MemoryBanks(); |
||
20 | } |
||
21 | |||
22 | throw new ArgumentException(Resources.Unknown_radio_type); |
||
23 | } |
||
24 | } |
||
25 | } |