コード例 #1
0
 /// <summary>
 /// Class constructor. Instantiates a new <see cref="ZigBeeNetwork"/> object.
 /// </summary>
 /// <param name="device">The local ZigBee device to get the network from.</param>
 /// <exception cref="ArgumentNullException">If <c><paramref name="device"/> == null</c>.</exception>
 /// <seealso cref="XBeeNetwork(AbstractXBeeDevice)"/>
 /// <seealso cref="ZigBeeDevice"/>
 internal ZigBeeNetwork(ZigBeeDevice device)
     : base(device)
 {
 }
コード例 #2
0
 /// <summary>
 /// Class constructor. Instantiates a new <see cref="RemoteZigBeeDevice"/> object with the given
 /// local <see cref="ZigBeeDevice"/> which contains the connection interface to be used.
 /// </summary>
 /// <param name="localXBeeDevice">The local ZigBee device that will behave as connection
 /// interface to communicate with this remote ZigBee device.</param>
 /// <param name="addr64">The 64-bit address to identify this remote ZigBee device.</param>
 /// <exception cref="ArgumentException">If <paramref name="localXBeeDevice"/> is remote.</exception>
 /// <exception cref="ArgumentNullException">If <c><paramref name="localXBeeDevice"/> == null</c>
 /// or if <c><paramref name="addr64"/> == null</c>.</exception>
 /// <seealso cref="XBee64BitAddress"/>
 /// <seealso cref="ZigBeeDevice"/>
 public RemoteZigBeeDevice(ZigBeeDevice localXBeeDevice, XBee64BitAddress addr64)
     : base(localXBeeDevice, addr64)
 {
 }