Exemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="deviceCollection"></param>
 public void RemoveTaskByDeviceCollection(DeviceCollection deviceCollection)
 {
     foreach (Device d in deviceCollection)
     {
         this.RemoveTaskByDevice(d);
     }
 }
Exemplo n.º 2
0
        /// <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;
        }