HamBook – Blame information for rev 44

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>
44 office 11 {
12 public string CurrentLocation { get; set; }
15 office 13  
44 office 14 public int Frequency { get; set; }
15 office 15  
44 office 16 public ClarifierDirection ClarifierDirection { get; set; }
15 office 17  
44 office 18 public int ClarifierOffset { get; set; }
15 office 19  
44 office 20 public bool Clar { get; set; }
15 office 21  
44 office 22 public MemoryRadioMode MemoryRadioMode { get; set; }
15 office 23  
44 office 24 public CtcssMode CtcssMode { get; set; }
15 office 25  
44 office 26 public RadioPhase Phase { get; set; }
15 office 27  
44 office 28 public bool Tag { get; set; }
15 office 29  
44 office 30 public string Text { get; set; }
15 office 31  
38 office 32 public MemoryChannel()
33 {
16 office 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 &&
44 office 43 MemoryRadioMode.Code == other.MemoryRadioMode.Code &&
15 office 44 CtcssMode.Mode == other.CtcssMode.Mode &&
45 Phase.Phase == other.Phase.Phase &&
46 Tag == other.Tag &&
47 Text == other.Text;
48 }
49 }
50 }