public TplRelayModule(CollectionsModel model) { this.m_AntennaName = model.Antennas; this.m_FreqBandColl = model.LteFreBandCol; this.m_PropModels = model.PropagetionColl.GetPropagationModelList(); m_RelayTplCell = model.TplRelayCollection.TplRC; m_TplRN = model.TplRelayCollection.TplRN; m_RelayTplCell.AntennaName = m_AntennaName.AntennaList[1].ToString(); m_RelayTplCell.MainPropagModelID = (model.PropagetionColl.GetPropagationModelList())[40].PropModelID; m_RelayTplCell.MainCalcRidius = 500; m_RelayTplCell.MainModelResolution = 20; m_TplRN.AntennaName = m_AntennaName.AntennaList[1].ToString(); m_TplRN.MainPropagModelID = (model.PropagetionColl.GetPropagationModelList())[40].PropModelID; m_TplRN.MainCalcRidius = 1000; m_TplRN.MainModelResolution = 20; //m_TplRC.FBandName = }
public object Clone() { RelayTplCell cell = new RelayTplCell(); PropertyInfo[] properties = base.GetType().GetProperties(); foreach (PropertyInfo info in properties) { object obj2 = info.GetValue(this, null); info.SetValue(cell, obj2, null); } return cell; }
public TplRelayProperties(CollectionsModel model) { m_RelayTplCell = model.TplRelayCollection.TplRC; }