示例#1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="deviceCollection"></param>
 public void RemoveTaskByDeviceCollection(DeviceCollection deviceCollection)
 {
     foreach (Device d in deviceCollection)
     {
         this.RemoveTaskByDevice(d);
     }
 }
示例#2
0
文件: Station.cs 项目: wwkkww1983/yh
        /// <summary>
        ///
        /// </summary>
        /// <param name="stationName"></param>
        /// <param name="description"></param>
        public Station(string stationName, string description, DeviceCollection deviceCollection, CommuniType communiType)
            : this(stationName, communiType)
        {
            if (deviceCollection == null)
            {
                throw new ArgumentNullException("deviceCollection");
            }
            m_DeviceCollection         = deviceCollection;
            m_DeviceCollection.Station = this;

            m_CommuniType = communiType;
        }