本文整理汇总了C#中Huawei.UNet.NE.Interface.IACell类的典型用法代码示例。如果您正苦于以下问题:C# IACell类的具体用法?C# IACell怎么用?C# IACell使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IACell类属于Huawei.UNet.NE.Interface命名空间,在下文中一共展示了IACell类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Calc
/// <summary>
/// 计算点的PDSCH RSCP
/// </summary>
/// <param name="index"></param>
/// <param name="cell"></param>
protected override void Calc(int index, IACell cell)
{
if (m_bestServerCellIDMatrix[index] == m_bestServerCellIDMatrix.DefaultValue || m_bestServerCellIDMatrix[index] != cell.ID)
{
return;
}
TDSCDMACarrier bestCell = (TDSCDMACarrier)SearchAssist.GetCellbyID(m_bestServerCellIDMatrix[index], m_cellList);
bool isCellSuit = (bestCell.CarrierType == CarrierTypeOfTD.HSPA && m_tdPredicGroup.tdUIParam.CurrentTimeSlot != 6);
bool isTerminalSuit = m_TDTerminal.EnableHsdpa;
bool isServiceSuit = IsServiceSupportHSDPA(m_tdPredicGroup);
if (!(bestCell != null && isCellSuit && isTerminalSuit && isServiceSuit))
{
return;
}
if (m_tdPredicGroup.tdUIParam.CurrentTimeSlot <= bestCell.SwitchPoint)
{
return;
}
float[] linkLoss = TDIntefCalc.GetLinkLossWithMainSAGain(index, m_tFMatrix, cell, m_tdPredicGroup);
double recPower = TDPredictionCommonCalc.GetDlReceivePower(((TDSCDMACarrier)cell).HSDPAPower, linkLoss[1]);
if (recPower >= m_RSRxSensitivity)
{
m_HSPDSCHRSCPMatrix[index] = UnitTrans.DoubleToShort(recPower);
}
}
示例2: CalcPointPathLoss
//这个方法好像没有调用的地方
public float[] CalcPointPathLoss(IPropagationModel prop, IACell carrier, AntConfig ant, GeoXYLine xyLine, float resolution, float rxHeight, out Dictionary<string, object> modelDetail)
{
if (prop == null)
{
modelDetail = null;
return new float[2];
}
AntConfig config = ant;
IPropagationModel model = prop;
SectionPathLossCalcParam param = new SectionPathLossCalcParam();
param.TxAntennaHeight = config.Height;
if (!(AntConfig.IS_ANTENNA_HEIGHT_INCLUDE_BUILDING || !this.GeoDataProvider.IGeoProvider.IsBuildingLoaded))
{
param.TxAntennaHeight += this.GeoDataProvider.GisInfo.GetValueByGeoXYPoint(xyLine.Points[0], DemDataType.Building, false);
}
param.RxAntennaHeight = rxHeight;
param.Frequency = carrier.FreqBand.DLFrequency;
param.MergeEdgeMaxDis = 80f;
param.PropagModel = model;
param.CalcResolution = resolution;
param.CalcEndRadius = (float) xyLine.GetDistance();
param.X = (float) xyLine.Points[0].X;
param.Y = (float) xyLine.Points[0].Y;
return this.CalcPointPathLoss(param, xyLine, carrier.FreqBand.ULFrequency, out modelDetail);
}
示例3: MyTestInitialize
public void MyTestInitialize()
{
m_Name = "DLDCHRSCP";
m_Group = MockGroupAndCell.MockTDPredicGroup();
m_Cell = MockGroupAndCell.CreateTDCell();
m_transList = new List<Transceiver>();
m_Transceiver = new Transceiver();
m_tfMatrix = new TrueFalseMatrix(4, 4, 0.0, 200, 50, true);
m_index = 0;
LinkLossAssist.Init();
m_Case = new DLDCHSINRCase();
m_projectMgr = ServiceHelper.Lookup<IProjectManager>(ProjectSingleton.CurrentProject.AppContext);
GenerateMatrix();
m_BestServerIDMatrix[m_index] = (short)(m_Cell.ID);
m_Case.Name = m_Name;
m_CellList = new List<IACell>();
m_Context = new Context();
m_CellList.Add(m_Cell);
//GenerateCellList();
m_Transceiver.Cells = m_CellList;
m_transList.Add(m_Transceiver);
AddToContext();
}
示例4: TranceiverCalcInfo
public TranceiverCalcInfo(Transceiver tranceiver, Point startPoint, Point endPoint, IACell maxRSCell)
{
m_StartPoint = startPoint;
m_EndPoint = endPoint;
m_Tranceiver = tranceiver;
m_Cell = maxRSCell;
}
示例5: CreateCell
public static IACell CreateCell(IACell cell)
{
Transceiver trans = new Transceiver();
Site site = new Site();
site.X = 100;
site.Y = 100;
site.Equipment = new BtsEquipment();
site.Equipment.NoiseFigure = 2;
trans.Name = "Trans1";
trans.Parent = site;
trans.Cells.Add(cell);
cell.Parent = trans;
cell.MaxPower = 39;
AntConfig antConfig = new AntConfig();
cell.Parent.AntConfiguration.Add(antConfig);
cell.Parent.AntConfiguration[0].IsMainAnt = true;
cell.Parent.AntConfiguration[0].DlTotalLoss = 2;
antConfig.OutdoorAntenna = new AntennaEntity();
cell.ID = 1;
PropModelConfig propModelConfig = new PropModelConfig();
propModelConfig.CalcRadius = 4000;
propModelConfig.CalcResolution = 50;
trans.Cells[0].PropModels.Add(propModelConfig);
return cell;
}
示例6: PropagationForm
public PropagationForm(CollectionsModel colModel, IACell cell)
{
this.InitializeComponent();
this.m_PropagationEditor = new PropagationEditor(colModel, cell);
this.m_Cell = cell;
this.InitData();
this.btnApply.Enabled = false;
}
示例7: TDDwLinkThroughPutCalculator
/// <summary>
/// 构造函数
/// </summary>
/// <param name="CI">当前链路的CIR</param>
/// <param name="bestCell">当前点的最佳服务小区</param>
/// <param name="tdHSDPABearList">承载列表</param>
/// <param name="tdTerminal">终端类型</param>
public TDDwLinkThroughPutCalculator(double CI, IACell bestCell,
List<TDHSDPABearer> tdHSDPABearList, TDTerminal tdTerminal)
{
m_ServiceCI = CI;
m_TdHSDPABearList = tdHSDPABearList;
m_TdCell = bestCell as TDSCDMACarrier;
m_TdTerminal = tdTerminal;
}
示例8: Calc
/// <summary>
/// 计算一个点收到的下行小区的干扰
/// </summary>
/// <param name="index"></param>
/// <param name="cell"></param>
protected override void Calc(int index, IACell cell)
{
if (m_BestServerCellIDMatrix[index] == m_BestServerCellIDMatrix.DefaultValue)
{
return;
}
TDSCDMACarrier bestCell = (TDSCDMACarrier)SearchAssist.GetCellbyID(m_BestServerCellIDMatrix[index], m_CellList);
CalcInterf(index, cell, bestCell);
}
示例9: GetInterference
/// <summary>
/// 计算干扰
/// </summary>
/// <param name="m_ActiveSet"></param>
/// <returns></returns>
public static float GetInterference(IACell bestCell, List<RxPowerAndLinkLossModel> ModelList)
{
double totalIntef = 0;
foreach (RxPowerAndLinkLossModel model in ModelList)
{
GetOneCellInterf(bestCell, ref totalIntef, model);
}
return (float)totalIntef;
}
示例10: ConstructCalcInfo
private TranceiverCalcInfo ConstructCalcInfo(IACell cell, float resolution, GeoXYPoint pointLeftTop, GeoXYPoint pointRightBottom, GeoXYPoint pointCell, Transceiver tranceiver)
{
float radius = GetMaxCalcRadius(tranceiver);
Point startP;
Point endP;
CalcStartEndPoint(resolution, pointLeftTop, pointRightBottom, pointCell, radius, out startP, out endP);
TranceiverCalcInfo calcInfo = new TranceiverCalcInfo(tranceiver, startP, endP, cell);
return calcInfo;
}
示例11: CellParamToString
private void CellParamToString(StringBuilder transParamSb, IACell cell)
{
foreach (PropModelConfig config in cell.PropModels)
{
transParamSb.Append(this.GetPropModelConfigString(config));
}
transParamSb.Append(cell.FreqBand.DLFrequency.ToString() + cell.FreqBand.ULFrequency.ToString());
transParamSb.Append(cell.ChannelIndex.ToString());
}
示例12: GetCellToCellLinkLoss
/// <summary>
/// 计算干扰小区(下行)到被干扰小区(上行)的链路损耗
/// </summary>
/// <param name="tfMatrix"></param>
/// <param name="bestCell"></param>
/// <param name="intfCell"></param>
/// <param name="pg"></param>
/// <returns></returns>
public static float GetCellToCellLinkLoss(IACell bestCell,
IACell intfCell,TDPredictionGroup pg)
{
User usr = ConstructionUserByCell(bestCell, pg);
AntConfig mainAnt = FindMainAnt(intfCell.Parent.AntConfiguration);
double pathLossGate = GetPathLossGate(intfCell.MaxPower, pg.RxSensitivity, mainAnt);
float[] result = GetLinkLoss(usr, pathLossGate, intfCell, pg);
float antGain = GetSAMainGain(intfCell, usr);
return result[1] - antGain;
}
示例13: CalculateDownLinkDetail
//public double CalculateAsRxPower(IACell cell, GeoXYPoint point, float Linkloss)
//{
//double m_TRXPower = ((GSMTRX)cell).MaxPower;
//GSMTRX isGSMCell = cell as GSMTRX;
//if (isGSMCell != null)
//{
//GSMTerminal gsmTerminal = (GSMTerminal)terminal.GetNetWorkTerminal(NetWorkType.GSM);
//double terminalGain = gsmTerminal.Gain;
//double serviceLoss = ((GSMService)service).BodyLoss;
//return m_TRXPower + terminalGain - serviceLoss - linkloss;
//}
//else
//{
// return double.NegativeInfinity;
//}
// return CalculateRxPower(cell, point, Linkloss);
//}
public IDetail CalculateDownLinkDetail(List<RxPowerAndLinkLossModel> ModelList, GeoXYPoint point, Service service, Mobility mobility, Terminal terminal)
{
TargetPara target = new TargetPara();
InitData(ModelList, service, terminal, target);
m_DlBestCell = FindDlBestServer();
m_IInterf = InitInterfCalc();
DlResultImage();
DlJudgeAccess(target);
return dlDetail;
}
示例14: InitSingle
/// <summary>
/// 建立一个Signal对象
/// </summary>
/// <param name="cell"></param>
/// <returns></returns>
private static Signal InitSingle(IACell cell)
{
Signal sig = new Signal();
sig.FreqBand = cell.FreqBand.BandWidth;
sig.Frequency = cell.FreqBand.DLFrequency +
(cell.ChannelIndex - cell.FreqBand.StartChIndex) *
cell.FreqBand.BandWidth + cell.FreqBand.BandWidth / 2;
sig.NetType = cell.NetType;
return sig;
}
示例15: Calc
protected override void Calc(int index, IACell cell)
{
if (m_BestServerCellIDMatrix[index] == m_BestServerCellIDMatrix.InvalidValue)
{
return;
}
IACell bestCell = SearchAssist.GetCellbyID(m_BestServerCellIDMatrix[index], m_cells);
//if (cell == bestCell)
// return;
JudgePilotPollution(index,bestCell, cell);
}