private async Task <XElement> GetChannelPropertiesAsync(int sensorId, int channelId, CancellationToken token) { var parameters = new ChannelPropertiesParameters(sensorId, channelId); return(await RequestEngine.ExecuteRequestAsync(parameters, r => ChannelSettings.GetChannelXml(r, channelId), token).ConfigureAwait(false)); }
private XElement GetChannelProperties(int sensorId, int channelId, CancellationToken token) { var parameters = new ChannelPropertiesParameters(sensorId, channelId); return(RequestEngine.ExecuteRequest(parameters, r => ChannelSettings.GetChannelXml(r, channelId), token)); }