public InputOutputConfigurationCommand(InputOutputChannel channel, InputOutputConfiguration configuration) : this(channel) { Configuration = configuration; }
/// <summary> /// Not supported on XBee Cellular. /// </summary> public override Task SetInputOutputConfigurationAsync(InputOutputChannel channel, InputOutputConfiguration configuration) { throw new NotSupportedException(NotSupportedMessage); }
public async Task SetInputOutputConfiguration(InputOutputChannel channel, InputOutputConfiguration configuration) { await SetInputOutputConfigurationAsync(channel, configuration); }
/// <summary> /// Sets configuration for a channel on this node. /// </summary> /// <param name="channel">The channel</param> /// <param name="configuration">The channel configuration</param> public virtual Task SetInputOutputConfigurationAsync(InputOutputChannel channel, InputOutputConfiguration configuration) { return(ExecuteAtCommandAsync(new InputOutputConfigurationCommand(channel, configuration))); }
/// <summary> /// Sets configuration for a channel on this node. /// </summary> /// <param name="channel">The channel</param> /// <param name="configuration">The channel configuration</param> public async Task SetInputOutputConfigurationAsync(InputOutputChannel channel, InputOutputConfiguration configuration) { await ExecuteAtCommandAsync(new InputOutputConfigurationCommand(channel, configuration)); }