Esempio n. 1
0
 public NodeAddress(ShortAddress shortAddress) : this(LongAddress.Broadcast, shortAddress)
 {
 }
Esempio n. 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)));
 }
Esempio n. 3
0
 public NodeAddress(LongAddress longAddress, ShortAddress shortAddress)
 {
     LongAddress  = longAddress;
     ShortAddress = shortAddress;
 }
Esempio n. 4
0
 public NodeAddress(ShortAddress shortAddress) : this(LongAddress.Disabled, shortAddress)
 {
 }
Esempio n. 5
0
 public async Task SetNetworkAddress(ShortAddress address)
 {
     await SetNetworkAddressAsync(address);
 }
Esempio n. 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));
 }
Esempio n. 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));
 }