Esempio n. 1
0
 public List <Band> FindAll(BandEnum bandType)
 {
     return(base.FindAll(delegate(Band band) { return band.BandType == bandType; }));
 }
Esempio n. 2
0
 public List <Band> FindGroupBand(BandEnum bandType, int groupId)
 {
     return(FindAll(bandType).FindAll(delegate(Band band) { return band.GroupId == groupId; }));
 }
Esempio n. 3
0
 public Band(XmlNode node)
 {
     m_bandType   = (BandEnum)Enum.Parse(typeof(BandEnum), ReportReader.GetValue(node, "type"));
     this.GroupId = Convert.ToInt32(ReportReader.GetValue(node, "groupid"));
     this.Row     = Convert.ToInt32(ReportReader.GetValue(node, "row"));
 }
Esempio n. 4
0
 public BandEventArg(BandEnum value)
 {
     this.value = value;
 }
Esempio n. 5
0
 public Band(BandEnum bandType, Group group)
 {
     m_bandType = bandType;
     this.Group = group;
 }
Esempio n. 6
0
 public Band(BandEnum bandType)
 {
     m_bandType = bandType;
 }
Esempio n. 7
0
 private void OnBandChanged(BandEnum value)
 {
     if (BandChanged == null)
         return;
     BandChanged((object)this, new BandEventArg(value));
 }
Esempio n. 8
0
 public void SetBand(BandEnum value)
 {
     try
     {
         lock (syncThread)
             registers["RegFdevMsb"].Value = (uint)(byte)((uint)(byte)((uint)(byte)registers["RegFdevMsb"].Value & 63U) | (uint)(byte)((uint)value << 6));
     }
     catch (Exception ex)
     {
         OnError((byte)1, ex.Message);
     }
 }
Esempio n. 9
0
 public BandEventArg(BandEnum value)
 {
     this.value = value;
 }
Esempio n. 10
0
 public Band(XmlNode node)
 {
     m_bandType = (BandEnum)Enum.Parse(typeof(BandEnum),ReportReader.GetValue(node, "type"));
     this.GroupId = Convert.ToInt32(ReportReader.GetValue(node, "groupid"));
     this.Row = Convert.ToInt32(ReportReader.GetValue(node, "row"));
 }
Esempio n. 11
0
 public Band(BandEnum bandType)
 {
     m_bandType = bandType;
 }
Esempio n. 12
0
 public Band(BandEnum bandType, Group group)
 {
     m_bandType = bandType;
     this.Group = group;
 }
Esempio n. 13
0
 public void SetBand(BandEnum value)
 {
     try
     {
         lock (syncThread)
             SetRegister("RegFdevMsb", 63, (int)value << 6);
     }
     catch (Exception ex)
     {
         OnError(1, ex.Message);
     }
 }