public static RelayNode CreatRelayNode() { RelayNode relayNode = new RelayNode(); relayNode.X = 110; relayNode.Y = 110; BtsEquipment Equipment = new BtsEquipment(); relayNode.Equipment = Equipment; RelayCell relayCell1 = MockLTECell.CreatRelayCell(); relayCell1.ParentRN = relayNode; relayCell1.Tran.Parent = relayCell1.ParentRN; //relayCell1.Parent = relayNode; relayNode.RCList.Add(relayCell1); return relayNode; }
private List<ISimCellBase> InitialUmtsInterfCell() { List<ISimCellBase> umtsInterfCellList = new List<ISimCellBase>(); Site site = new Site(); BtsEquipment equipment = new BtsEquipment(); equipment.NoiseFigure = 8f; site.Equipment = equipment; Transceiver tran = new Transceiver(); tran.Parent = site; IACell aCell = new UMTSCell(); aCell.Parent = tran; UMTSSimCell umtsInterfCell = new UMTSSimCell(aCell); umtsInterfCell.Cell.FreqBand.BandWidth = 5f; umtsInterfCell.DlFrequency = 1805.1f; umtsInterfCell.DlPower = 40; umtsInterfCellList.Add(umtsInterfCell); return umtsInterfCellList; }
public BTSEquipObjExtractor(BtsEquipment btsEquipment) { this.m_BtsEquip = btsEquipment; }
public void CopyFrom(BtsEquipment bts) { this.m_BackUpBts.CopyFrom(bts); this.m_BackUpBts.ID = bts.ID; }
private void SetName(BtsEquipment bts) { this.m_btsName = bts.Name; }
public void CopyFrom(BtsEquipment bts) { this.Name = bts.Name; this.NoiseFigure = bts.NoiseFigure; }
private void ConvertXLSToBtsEquipment(SubsystemDataImple systemDateImple, XlsTable xlsTmaTable) { List<BtsEquipment> list = new List<BtsEquipment>(); for (int i = 0; i < xlsTmaTable.Data.Rows.Count; i++) { DataRow row = xlsTmaTable.Data.Rows[i]; try { BtsEquipment item = new BtsEquipment(); item.Name = row["Name"].ToString(); item.NoiseFigure = float.Parse(row["Noise figure (dB)"].ToString()); list.Add(item); } catch (Exception exception) { this.m_Model.EventVierService.WriteLog("eNode Equipment Table's " + (i + 1) + "row import error", Huawei.UNet.Frame.Interface.LogLevel.Warning); WriteLog.Logger.Error(exception.StackTrace); } } systemDateImple.BtsEquipment = list; }
public static Site MockSite() { Site site = new Site(); site.X = 0; site.Y = 0; BtsEquipment btsEqup = new BtsEquipment(); btsEqup.NoiseFigure = 8; site.Equipment = btsEqup; return site; }