Example #1
0
 public GSMInterfCalc(List<Transceiver> transceivers, IInterf GSMIInterf,Context context)
 {
     m_PridictionGroup = (GSMPredicGroup)context[ContextKeys.Group];
     m_IInterf = GSMIInterf;
     InitialHopDic(transceivers);
     
 }
Example #2
0
 /// <summary>
 /// 从context里取得需要的数据信息
 /// </summary>
 /// <param name="context"></param>
 private void GetValueFromContext(Context context)
 {
     m_Context = context;
     m_CovBySignalLevel = (ValueMatrixShort)context[ContextKeys.CovBySignalLevel];
     m_Group = (CoPredicGroup)context[ContextKeys.Group];
     //获得CellID
     m_GSMBestServerID = (ValueMatrixDouble)context[ContextKeys.CoGSMBestServerID];
     m_UMTSBestServerID = (ValueMatrixDouble)context[ContextKeys.CoUMTSBestServerID];
     m_TDBestServerID = (ValueMatrixDouble)context[ContextKeys.CoTDBestServerID];
     m_LTEBestServerID = (ValueMatrixDouble)context[ContextKeys.CoLTEBestServerID];
     //获得Cell列表
     m_CellList = (List<IACell>)context[ContextKeys.CellList];
     m_trans = (List<Transceiver>)context[ContextKeys.TranceiverList];
     InterfParameter interfPara = new InterfParameter();
     interfPara.InterfTable = TrafficAdaptorMgr.Instance.TableDIC;
     m_IInterf = (IInterf)interfPara;
 }
Example #3
0
        /*protected IInterf _getCopy()
         * {
         *  IInterf oCopy = new Mere(this.getI(), this.getS());
         *  return (oCopy);
         * }*/

        public IInterf merge(IInterf poInterf)
        {
            this._setI(poInterf.getI());
            this._setS(poInterf.getS());
            return(this);
        }
Example #4
0
 /// <summary>
 /// 从context里面取数据
 /// </summary>
 /// <param name="context"></param>
 private void GetValueFromContext(Context context)
 {
     m_TFMatrix = (TrueFalseMatrix)context[ContextKeys.TFMatrix];
     m_tdPredicGroup = (TDPredictionGroup)context[ContextKeys.Group];
     m_BestServerCellIDMatrix = (ValueMatrixShort)context[ContextKeys.TDBestServerCellID];
     m_CellList = (List<IACell>)context[ContextKeys.CellList];
     m_appContext = (IBaseService)context[ContextKeys.ApplicationContext];
     m_projectManager = ServiceHelper.Lookup<IProjectManager>(m_appContext);
     m_TDTerminal = (TDTerminal)m_tdPredicGroup.TrafficTerminal.GetNetWorkTerminal(NetWorkType.TDSCDMA);
     List<Transceiver> trans = (List<Transceiver>)context[ContextKeys.TranceiverList];
     InterfParameter interfPara = new InterfParameter();
     interfPara.InterfTable = TrafficAdaptorMgr.Instance.TableDIC;
     m_IInterf = (IInterf)interfPara;
     m_linkLossCalc = new CoLinkLossCalc(m_tdPredicGroup.RxSensitivity, m_tdPredicGroup.TrafficTerminal, m_tdPredicGroup.TrafficService, m_tdPredicGroup.Shadow, m_tdPredicGroup.IndoorCoverage, m_tdPredicGroup.CoverageProb);
     InitialHopDic(trans);
 }
Example #5
0
 public UMTSInterfCalc(List<Transceiver> trans, IInterf UMTSIInterf)
 {
     InitialHopDic(trans);
     m_IInterf = UMTSIInterf;
 }
Example #6
0
 /// <summary>
 /// 初始化干扰计算接口,并添加至SnapshotContext
 /// </summary>
 private void InitialInterfParameter()
 {
     m_TrafficeAdapter = TrafficAdaptorMgr.Instance;
     m_IterfParameter = new InterfParameter(m_TrafficeAdapter.TableDIC);
     m_InterfCalc = new InterfCalculate(m_IterfParameter);
     m_SnapshotContext.AddKey(ContextKeys.IIterfCalc, m_InterfCalc);
 }
Example #7
0
 public TDSCDMAInterfCalc(List<Transceiver> trans, IInterf TDIInterf)
 {
     InitialHopDic(trans);
     m_IInterf = TDIInterf;
 }