• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Interface.IACell类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中Huawei.UNet.NE.Interface.IACell的典型用法代码示例。如果您正苦于以下问题:C# IACell类的具体用法?C# IACell怎么用?C# IACell使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



IACell类属于Huawei.UNet.NE.Interface命名空间,在下文中一共展示了IACell类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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);
     }
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:30,代码来源:HSPDSCHRSCPCase.cs


示例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);
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:26,代码来源:PathLosCalcMethod.cs


示例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();

        }
开发者ID:xiaoyj,项目名称:Space,代码行数:25,代码来源:DLDCHSINRTest.cs


示例4: TranceiverCalcInfo

 public TranceiverCalcInfo(Transceiver tranceiver, Point startPoint, Point endPoint, IACell maxRSCell)
 {
     m_StartPoint = startPoint;
     m_EndPoint = endPoint;
     m_Tranceiver = tranceiver;
     m_Cell = maxRSCell;
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:7,代码来源:TranceiverCalcInfo.cs


示例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;
        }
开发者ID:xiaoyj,项目名称:Space,代码行数:30,代码来源:MockCell.cs


示例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;
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:8,代码来源:PropagationForm.cs


示例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;
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:15,代码来源:TDDwLinkThroughPutCalculator.cs


示例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);
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:14,代码来源:DLInterfCalc.cs


示例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;
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:14,代码来源:CommonCalc.cs


示例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;
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:9,代码来源:CalculatorAssistant.cs


示例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());
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:9,代码来源:FileIndexGenerator.cs


示例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;
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:18,代码来源:TDIntefCalc.cs


示例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;
        }
开发者ID:xiaoyj,项目名称:Space,代码行数:28,代码来源:GSMCellCalculator.cs


示例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;
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:15,代码来源:CommonCalc.cs


示例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);
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:11,代码来源:PilotPollutionCase.cs


示例16: 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);
     m_TotalInf = UnitTrans.dBmTomw(m_PCCPCHInterfMatrix[index]);
     CalcInterf(index, cell, bestCell);
     m_PCCPCHInterfMatrix[index] = UnitTrans.mwTodBm(m_TotalInf);
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:16,代码来源:PCCPCHIntefCalc.cs


示例17: CalcOnePoint

        /// <summary>
        /// 为一个Cell计算一个点
        /// </summary>
        /// <param name="point"></param>
        /// <param name="cell"></param>
        protected void CalcOnePoint(XYPoint point, IACell cell)
        {
            if (IsNeedCalc(cell))
            {
                if (point.X>352&&point.X<360&&point.Y>350&&point.Y<360)
                {

                }
                Calc(point.GlobalIndex, cell);
            }
        }
开发者ID:xiaoyj,项目名称:Space,代码行数:16,代码来源:CellCaseBase.cs


示例18: InitCellList

 private List<IACell> InitCellList(IACell cell)
 {
     List<IACell> celllist = new List<IACell>();
     celllist.Add(new TDSCDMACarrier());
     celllist.Add(new TDSCDMACarrier());
     double[] x = { 100, 150 };
     double[] y = { 100, 100 };
     celllist = MockCellList.CreateCellList(celllist, x, y);
     celllist.Add(cell);
     return celllist;
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:11,代码来源:ULDCHRSCPCaseTest.cs


示例19: GetTDLinkLoss

        /// <summary>
        /// 计算TD链路损耗
        /// </summary>
        /// <param name="index"></param>
        /// <param name="tfMatrix"></param>
        /// <param name="cell"></param>
        /// <param name="pg"></param>
        /// <returns></returns>
        public float[] GetTDLinkLoss(int index,TrueFalseMatrix tfMatrix, IACell cell)
        {
            User user = ConstructUser(index, tfMatrix);
            AntConfig mainAnt = FindMainAnt(cell.Parent.AntConfiguration);
            double pathLossGate = GetPathLossGate(cell.MaxPower, m_RxSensitivity, mainAnt);
            float[] result = GetLink(user, pathLossGate, cell);
            float antGain = GetBCHGain(cell, user);//返回的是linkloss-天线增益,但是天线增益是零
            result[0] -= antGain;
            result[1] -= antGain;

            return result;//返回的是linkloss,外面用的话分信道看加的是智能天线的增益还是普通天线的增益
        }
开发者ID:xiaoyj,项目名称:Space,代码行数:20,代码来源:CoLinkLossCalc.cs


示例20: GetLTECarrierAzimuth

 public static float GetLTECarrierAzimuth(IACell carrier)
 {
     List<AntConfig> antConfiguration = SimulationTools.GetAntConfig(carrier);
     foreach (AntConfig config in antConfiguration)
     {
         if (config.IsMainAnt)
         {
             return config.Azimuth;
         }
     }
     return 0f;
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:12,代码来源:DLCarrierTag.cs



注:本文中的Huawei.UNet.NE.Interface.IACell类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Hyena.SafeUri类代码示例发布时间:2022-05-26
下一篇:
C# HttpServer.RequestEventArgs类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap