Esempio n. 1
0
 /// <summary>
 /// 上行准入控制的初始化
 /// </summary>
 /// <param name="iSimulationCarrierList"></param>
 public void Init(List<ISimulationCarrier> iSimulationCarrierList)
 {
     foreach (IAdmissionCarrier carrier in iSimulationCarrierList)
     {
         this.InitUserTag(carrier.UlUserList);
         carrier.AdmissionCarrierTag = new AdmissionCellTag();
     }
     this.m_OfflineThresholdParam = new OfflineThresholdParam();
     this.m_LBThresholdParam = new LBThresholdParam();
     this.m_LCTHresholdParam = new LCThresholdParam();
     this.m_SatisficationThParam = new SatisficationThParam();
     this.SetULParam(this.m_OfflineThresholdParam, this.m_LBThresholdParam, this.m_LCTHresholdParam, this.m_SatisficationThParam);
 }
Esempio n. 2
0
        public void MyTestInitialize()
        {
            m_VoicewaitUserList = new List<ISimulationUser>();
            SimulationUser ue1 = new SimulationUser();
            m_VoicewaitUserList.Add(ue1);
            m_OfflineUserList = new List<ISimulationUser>();
            m_OfflineUserList.Add(ue1);
            m_OffLineVUService = new OfflineService(m_CurrentTTI, m_OfflineThresholdParam );
            m_DataWaitUserList = new List<ISimulationUser>();
            m_GBRUserList = new List<ISimulationUser>();
            m_OfflineUserList = new List<ISimulationUser>();
            m_DataWaitUserList.Add(ue1);
            m_GBRUserList.Add(ue1);
            m_OfflineUserList.Add(ue1);
            m_OffLineDUService = new OfflineService(m_CurrentTTI, m_OfflineThresholdParam);
            m_DataUser = new SimulationUser();
            SimulationUser DU1 = new SimulationUser();
            m_OfflineThresholdParam = new OfflineThresholdParam();
            m_OfflineDU = new OfflineService(m_CurrentTTI, m_OfflineThresholdParam);
            m_CurrentTTI = 1000;

        }
Esempio n. 3
0
 /// <summary>
 /// 设置诸多门限参数
 /// </summary>
 /// <param name="offlineTh"></param>
 /// <param name="lbTh"></param>
 /// <param name="lcTh"></param>
 /// <param name="sfCalTh"></param>
 private void SetULParam(OfflineThresholdParam offlineTh, LBThresholdParam lbTh, LCThresholdParam lcTh,
     SatisficationThParam sfCalTh)
 {
     offlineTh.DataDropThreshold = SimulationConstant.UL_DATA_DROP_THRESHOLD_NONSERVICED;
     offlineTh.DataSdThreshold = SimulationConstant.UL_DATA_DROP_SDTHRESHOLD;
     offlineTh.VoiceDropLossThrshold = SimulationConstant.UL_VOICE_DROP_LOSSCOUNT_THRESHOLD;
     offlineTh.VoiceDropThreshold = SimulationConstant.UL_VOICE_DROP_THRESHOLD_NONSERVICED;
     lbTh.LbBalanceTime = SimulationConstant.UL_LoadBalanceTime;
     lbTh.FirstLbTime = SimulationConstant.MLB_START_TIME;
     lbTh.LbPeriod = SimulationConstant.MLB_EXECUTE_PERIOD;
     lbTh.MLBEdgeLoadTh = SimulationConstant.MLBEdgeLoadTh;
     lbTh.MLBERSRPDiffTh = SimulationConstant.MLBRSRPDiffTh;
     lbTh.MlbRationTh = SimulationConstant.MLBRatioTh;
     lbTh.NoMLBRatioTh = SimulationConstant.NoMLBRatioTh;
     lcTh.FirstLCTime = SimulationConstant.UL_FirstLCTime;
     lcTh.LcGBRSatisfyTh = SimulationConstant.LCGBRSatisfyTh;
     lcTh.LcNonGBRSatisfyTh = SimulationConstant.LCNonGBRSatisfyTh;
     lcTh.LcPeriod = SimulationConstant.LOADCONTROL_EXECUTE_PERIOD;
     lcTh.LcVoiceSatisfyTh = SimulationConstant.LCVoiceSatisfyTh;
     lcTh.LcLoadRatioTh = SimulationConstant.LCRatioTh;
     lcTh.LcGBRRbTh = SimulationConstant.LCGBRRbTh;
     sfCalTh.VOICE_SD_THRESHOLD = SimulationConstant.VOICEOFFLINE_SD_THRESHOLD;
 }