/// <summary> /// This method is used to command the SmartBlue application to set the text value of a text box to the specified value. /// </summary> /// <param name="id"> /// The ID of the item, whose value shall be set. /// </param> /// <param name="value">New value</param> public void SetNumericValue(string id, double value) { // method entry log message // this.log.Trace("SetNumericValue(...) - 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.CreateSetNumericValueRequest(id, value); // send message this.appComProtocolLayer.Post(uri.ToString(), appComMessage); // method exit log message // this.log.Debug("SetNumericValue(...) - duration = {0} ms", executionTimeStopWatch.ElapsedMilliseconds); // this.log.Trace("SetNumericValue(...) - done"); }