コード例 #1
0
 /// <summary>
 /// Class constructor. Instantiates a new <see cref="RemoteDigiMeshDevice"/> object with the given
 /// local <see cref="DigiMeshDevice"/> which contains the connection interface to be used.
 /// </summary>
 /// <param name="localXBeeDevice">The local DigiMesh device that will behave as connection
 /// interface to communicate with this remote DigiMesh device.</param>
 /// <param name="addr64">The 64-bit address to identify this remote DigiMesh 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="DigiMeshDevice"/>
 /// <seealso cref="XBee64BitAddress"/>
 public RemoteDigiMeshDevice(DigiMeshDevice localXBeeDevice, XBee64BitAddress addr64)
     : base(localXBeeDevice, addr64)
 {
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of <see cref="DigiMeshNetwork"/>.
 /// </summary>
 /// <param name="device">A local DigiMesh device to get the network from.</param>
 /// <exception cref="ArgumentNullException">If <c><paramref name="device"/> == null</c>.</exception>
 /// <seealso cref="DigiMeshDevice"/>
 /// <seealso cref="XBeeNetwork(AbstractXBeeDevice)"/>
 internal DigiMeshNetwork(DigiMeshDevice device)
     : base(device)
 {
 }