示例#1
0
 public HSDPA_SimCalculate()
 {            
     m_SimEncapsulate = new SimEncapsulate();
     m_FindAdjacentCells = new SimuRelatedCell();
 }
示例#2
0
        /// <summary>
        /// 初始化邻小区列表集合
        /// </summary>
        /// <param name="context"></param>
        public void InitOthers(SnapshotContext context)
        {
            SimuRelatedCell src = new SimuRelatedCell();
            List<ISimCellBase> umtsCell = context.Lookup<List<ISimCellBase>>(ContextKeys.UMTSSimCellBase);
            List<ISimCellBase> tdCell = context.Lookup<List<ISimCellBase>>(ContextKeys.TDSimCellBase);
            foreach (ISimCellBase cellBase in m_GSMCells)
            {
                ((GSMSimTRX)cellBase).TDInterCell = src.GetNeighbourCells(cellBase, tdCell, 23);
                ((GSMSimTRX)cellBase).UMTSInterCell = src.GetNeighbourCells(cellBase, umtsCell, 23);
                ((GSMSimTRX)cellBase).GSMInterCell = src.GetNeighbourCells(cellBase, m_GSMCells, 23);

            }
 
        }