Beispiel #1
0
 public NodeAddress(ShortAddress shortAddress) : this(LongAddress.Broadcast, shortAddress)
 {
 }
Beispiel #2
0
 /// <summary>
 ///     Queries the short network address of this node.
 /// </summary>
 /// <param name="address">The short network address</param>
 /// <returns></returns>
 public virtual Task SetSourceAddressAsync(ShortAddress address)
 {
     return(ExecuteAtCommandAsync(new SourceAddressCommand(address)));
 }
Beispiel #3
0
 public NodeAddress(LongAddress longAddress, ShortAddress shortAddress)
 {
     LongAddress  = longAddress;
     ShortAddress = shortAddress;
 }
Beispiel #4
0
 public NodeAddress(ShortAddress shortAddress) : this(LongAddress.Disabled, shortAddress)
 {
 }
Beispiel #5
0
 public async Task SetNetworkAddress(ShortAddress address)
 {
     await SetNetworkAddressAsync(address);
 }
Beispiel #6
0
 /// <summary>
 /// Queries the short network address of this node.
 /// </summary>
 /// <param name="address">The short network address</param>
 /// <returns></returns>
 public async Task SetNetworkAddressAsync(ShortAddress address)
 {
     await ExecuteAtCommandAsync(new SourceAddressCommand(address));
 }
Beispiel #7
0
 /// <summary>
 /// Queries the short network address of this node.
 /// </summary>
 /// <param name="address">The short network address</param>
 /// <returns></returns>
 public virtual async Task SetSourceAddressAsync(ShortAddress address)
 {
     await ExecuteAtCommandAsync(new SourceAddressCommand(address));
 }