HamBook – Blame information for rev 17

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;
16 office 6 using System.Xml.Serialization;
15 office 7  
8 namespace HamBook.Radios.Generic
9 {
10 public class MemoryChannel : IEquatable<MemoryChannel>
11 {
12 public string CurrentLocation { get; set; }
13  
14 public int Frequency { get; set; }
15  
16 public ClarifierDirection ClarifierDirection { get; set; }
17  
18 public int ClarifierOffset { get; set; }
19  
20 public bool Clar { get; set; }
21  
22 public MemoryRadioMode MemoryRadioMode { get; set; }
23  
24 public CtcssMode CtcssMode { get; set; }
25  
26 public RadioPhase Phase { get; set; }
27  
28 public bool Tag { get; set; }
29  
30 public string Text { get; set; }
31  
16 office 32 public MemoryChannel()
33 {
34 }
35  
15 office 36 public bool Equals(MemoryChannel other)
37 {
38 return CurrentLocation == other.CurrentLocation &&
39 Frequency == other.Frequency &&
40 ClarifierDirection.Direction == other.ClarifierDirection.Direction &&
41 ClarifierOffset == other.ClarifierOffset &&
42 Clar == other.Clar &&
43 MemoryRadioMode.Mode == other.MemoryRadioMode.Mode &&
44 CtcssMode.Mode == other.CtcssMode.Mode &&
45 Phase.Phase == other.Phase.Phase &&
46 Tag == other.Tag &&
47 Text == other.Text;
48 }
49 }
50 }