public List <Band> FindAll(BandEnum bandType) { return(base.FindAll(delegate(Band band) { return band.BandType == bandType; })); }
public List <Band> FindGroupBand(BandEnum bandType, int groupId) { return(FindAll(bandType).FindAll(delegate(Band band) { return band.GroupId == groupId; })); }
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")); }
public BandEventArg(BandEnum value) { this.value = value; }
public Band(BandEnum bandType, Group group) { m_bandType = bandType; this.Group = group; }
public Band(BandEnum bandType) { m_bandType = bandType; }
private void OnBandChanged(BandEnum value) { if (BandChanged == null) return; BandChanged((object)this, new BandEventArg(value)); }
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); } }
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")); }
public void SetBand(BandEnum value) { try { lock (syncThread) SetRegister("RegFdevMsb", 63, (int)value << 6); } catch (Exception ex) { OnError(1, ex.Message); } }