Ejemplo n.º 1
0
 public DlLoadControlService(int currentTTI, LCThresholdParam lCThresholdParam, SatisficationThParam sfCalThParam)
 {
     base.m_CurrentTTI = currentTTI;
     base.m_LCThresholdParam = lCThresholdParam;
     base.m_SatisficationThParam = sfCalThParam;
     this.m_GBRUserlist = new List<ISimulationUser>();
     this.m_NonGBRUserlist = new List<ISimulationUser>();
     base.grade = new List<priandisEdge>();
     base.usersInGradeDic = new Dictionary<priandisEdge, List<ISimulationUser>>();
 }
Ejemplo n.º 2
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);
 }
Ejemplo 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;
 }