HamBook – Diff between revs 41 and 54
?pathlinks?
Rev 41 | Rev 54 | |||
---|---|---|---|---|
Line 1... | Line -... | |||
1 | using HamBook.Radios.Generic; |
- | ||
2 | using System; |
- | ||
3 | using System.Collections.Generic; |
1 | using System.Collections.Generic; |
|
4 | using System.Linq; |
2 | using System.Linq; |
|
5 | using System.Text; |
- | ||
6 | using System.Threading.Tasks; |
- | ||
Line 7... | Line 3... | |||
7 | |
3 | |
|
8 | namespace HamBook.Radios.Yaesu.FT_891 |
4 | namespace HamBook.Radios.Yaesu.FT_891 |
|
9 | { |
5 | { |
|
10 | [Radio("Yaesu FT-891")] |
6 | [Radio("Yaesu FT-891")] |
|
11 | public class MemoryBanks : Generic.MemoryBanks |
7 | public class MemoryBanks : Generic.MemoryBanks |
|
12 | { |
8 | { |
|
13 | public override IEnumerable<string> GetMemoryBanks() |
9 | public override IEnumerable<string> GetMemoryBanks() |
|
14 | { |
10 | { |
|
15 | foreach(var memoryBank in Enumerable.Range(1, 99)) |
- | ||
16 | { |
- | ||
17 | yield return $"{memoryBank:000}"; |
- | ||
Line 18... | Line 11... | |||
18 | } |
11 | foreach (var memoryBank in Enumerable.Range(1, 99)) yield return $"{memoryBank:000}"; |
|
19 | |
- | ||
20 | foreach(var i in Enumerable.Range(1, 9)) |
- | ||
21 | { |
- | ||
Line 22... | Line 12... | |||
22 | yield return $"P{i}L"; |
12 | |
|
23 | } |
- | ||
24 | |
- | ||
25 | foreach (var i in Enumerable.Range(1, 9)) |
- | ||
26 | { |
13 | foreach (var i in Enumerable.Range(1, 9)) yield return $"P{i}L"; |
|
27 | yield return $"P{i}U"; |
14 | |
|
28 | } |
15 | foreach (var i in Enumerable.Range(1, 9)) yield return $"P{i}U"; |
|
29 | } |
16 | } |