HamBook – Blame information for rev 15

Subversion Repositories:
Rev:
Rev Author Line No. Line
15 office 1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.Threading.Tasks;
6  
7 namespace HamBook.Radios.Generic
8 {
9 public class MemoryChannel : IEquatable<MemoryChannel>
10 {
11 public string CurrentLocation { get; set; }
12  
13 public int Frequency { get; set; }
14  
15 public ClarifierDirection ClarifierDirection { get; set; }
16  
17 public int ClarifierOffset { get; set; }
18  
19 public bool Clar { get; set; }
20  
21 public MemoryRadioMode MemoryRadioMode { get; set; }
22  
23 public CtcssMode CtcssMode { get; set; }
24  
25 public RadioPhase Phase { get; set; }
26  
27 public bool Tag { get; set; }
28  
29 public string Text { get; set; }
30  
31 public bool Equals(MemoryChannel other)
32 {
33 return CurrentLocation == other.CurrentLocation &&
34 Frequency == other.Frequency &&
35 ClarifierDirection.Direction == other.ClarifierDirection.Direction &&
36 ClarifierOffset == other.ClarifierOffset &&
37 Clar == other.Clar &&
38 MemoryRadioMode.Mode == other.MemoryRadioMode.Mode &&
39 CtcssMode.Mode == other.CtcssMode.Mode &&
40 Phase.Phase == other.Phase.Phase &&
41 Tag == other.Tag &&
42 Text == other.Text;
43 }
44 }
45 }