Exemplo n.º 1
0
 public void AddRange(ChannelCollection values)
 {
     foreach (IChannel chnl in values)
     {
         InnerList.Add(chnl);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// ���캯��
 /// </summary>
 /// <param name="workItem">�������</param>
 public AbstractCTIDriver(WorkItem workItem)
 {
     this.workItem = workItem;
     this.logger = this.workItem.Services.Get<ILog>();
     channels = null;
     confGroups = new Dictionary<int, List<int>>();
 }
Exemplo n.º 3
0
 public void AddRange(ChannelCollection values)
 {
     foreach (IChannel chnl in values)
     {
         InnerList.Add(chnl);
     }
 }
Exemplo n.º 4
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="workItem">组件容器</param>
 public AbstractCTIDriver(WorkItem workItem)
 {
     this.workItem = workItem;
     this.logger   = this.workItem.Services.Get <ILog>();
     channels      = null;
     confGroups    = new Dictionary <int, List <int> >();
 }
Exemplo n.º 5
0
 /// <summary>
 /// 初始化板卡上的通道等信息
 /// </summary>
 private void CreateChannels()
 {
     if (channels == null)
     {
         lock (syncObj)
         {
             if (channels == null)
             {
                 channels = new ChannelCollection();
                 Initialize();
             }
         }
     }
 }
Exemplo n.º 6
0
 public ChannelCollection(ChannelCollection channels)
 {
     this.AddRange(channels);
 }
Exemplo n.º 7
0
 /// <summary>
 /// ��ʼ���忨�ϵ�ͨ������Ϣ
 /// </summary>
 private void CreateChannels()
 {
     if (channels == null)
     {
         lock (syncObj)
         {
             if (channels == null)
             {
                 channels = new ChannelCollection();
                 Initialize();
             }
         }
     }
 }
Exemplo n.º 8
0
 public ChannelCollection(ChannelCollection channels)
 {
     this.AddRange(channels);
 }