Ejemplo n.º 1
0
 public void Init(List<ISimulationCarrier> carrierList)
 {
     this.m_ResourceTemplateDic = new Dictionary<string, ScheduleResource>();
     this.m_VoiceQueueBuilderDic = new Dictionary<SchedulePolicy, IQueueBuilder>();
     this.m_DataQueueBuilderDic = new Dictionary<SchedulePolicy, IQueueBuilder>();
     foreach (SimulationCarrier carrier in carrierList)
     {
         IQueueBuilder voiceQueueBuilder = this.GetVoiceQueueBuilder(carrier);
         IQueueBuilder dataQueueBuilder = this.GetDataQueueBuilder(carrier);
         CarrierScheduleManager manager = new CarrierScheduleManager(carrier);
         manager.Init(this.m_ResourceTemplateDic, voiceQueueBuilder, dataQueueBuilder);
         
         carrier.TDDSubFrameMatrix = ((carrier.Carrier as LTECell).Parent.Parent as Site).SubFrameMatrix;       //TDD子帧配置矩阵。矩阵为1 TTI代表普通上行子帧,为0代表下行,为2代表特殊子帧
         carrier.TDDSpecialSubFrameMatrix = ((carrier.Carrier as LTECell).Parent.Parent as Site).SpecialSubFrameMatrix;//TDD特殊子帧配置
         
         carrier.UlScheduleCarrierTag = manager;
     }
 }
Ejemplo n.º 2
0
 public UlVoiceScheduler(CarrierScheduleManager owner) : base(owner)
 {
     this.m_SemiPersistResApplyer = VoiceResApplyerFactory.GetSemiPersistResApply(owner.SimulationCarrier.IsUlIcicOn);
 }