Example #1
0
 /// <summary>
 /// 从集合中移除指定配置元素
 /// </summary>
 /// <param name="element">指定配置元素</param>
 public void Remove(LotReaderDeviceElement element)
 {
     if (BaseIndexOf(element) > 0)
     {
         BaseRemove(element.Name);
     }
 }
Example #2
0
 /// <summary>
 /// 返回配置元素的索引号
 /// </summary>
 /// <param name="element">配置元素</param>
 /// <returns>配置元素的索引号</returns>
 public int IndexOf(LotReaderDeviceElement element)
 {
     return(BaseIndexOf(element));
 }
Example #3
0
 /// <summary>
 /// 添加配置元素到集合
 /// </summary>
 /// <param name="element">指定配置元素</param>
 public void Add(LotReaderDeviceElement element)
 {
     BaseAdd(element);
 }