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 (IUlSchuduleCarrier 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.UlScheduleCarrierTag = manager; } }
public UlScheduler(CarrierScheduleManager owner) { this.m_ScheduleCarrier = owner; }
public UlDataScheduler(CarrierScheduleManager owner) : base(owner) { this.m_UList = new List<IUlScheduleUser>(); this.m_VList = new List<IUlScheduleUser>(); this.m_UserBeginSbApplyer = UserBeginSbApplyerFactory.GetUserBeginSbApplyer(owner.SimulationCarrier.IsUlIcicOn); }