/// <summary> /// This command is used to command the SmartBlue application to set the selection of a selection control to the specified value. /// </summary> /// <param name="id"> /// The ID of the item, whose value shall be set. /// </param> /// <param name="values">A list of values that shall be selected.</param> public void SetSelectionValue(string id, int[] values) { // method entry log message // this.log.Trace("SetSelectionValue(...) - running..."); // start stop watch for execution time measurement var executionTimeStopWatch = new Stopwatch(); executionTimeStopWatch.Start(); // create uri var uri = this.uriCreator.GetAppComInterfaceUri(); // create message var appComMessage = RequestCreator.CreateSetSelectionValueRequest(id, values); // send message this.appComProtocolLayer.Post(uri.ToString(), appComMessage); // method exit log message // this.log.Debug("SetSelectionValue(...) - duration = {0} ms", executionTimeStopWatch.ElapsedMilliseconds); // this.log.Trace("SetSelectionValue(...) - done"); }