private void Antenna_AfterNodeDealed(object sender, DealedArgs e) { if (e.DealOp == DealedOper.MODIFY) { this.UpdataAntenna(sender, e); } }
private void UpdataAntenna(object sender, DealedArgs e) { List<string> list = (List<string>) sender; for (int i = 0; i < list.Count; i++) { string str = list[i]; string antennaName = e.ObjectName[i]; foreach (Repeater repeater in this.m_LTERepeaterList) { AntConfig donorAntConfig = repeater.DonorAntConfig; AntConfig converageAntConfig = repeater.ConverageAntConfig; if ((donorAntConfig.OutdoorAntenna != null) && donorAntConfig.OutdoorAntenna.Name.Equals(str)) { donorAntConfig.OutdoorAntenna = this.m_AntennaColl.FindAntennaByName(antennaName); } if ((converageAntConfig.OutdoorAntenna != null) && converageAntConfig.OutdoorAntenna.Name.Equals(str)) { converageAntConfig.OutdoorAntenna = this.m_AntennaColl.FindAntennaByName(antennaName); } } } }