/// <summary>
        /// Invoke the action synchronously
        /// </summary>
        /// <remarks>Blocks until the action has been processed
        /// on the device and sets any output arguments</remarks>
        /// <param name="aIndex"></param>
        /// <param name="aColor"></param>
        public void SyncSetColor(uint aIndex, uint aColor)
        {
            SyncSetColorOpenhomeOrgTestLights1 sync = new SyncSetColorOpenhomeOrgTestLights1(this);

            BeginSetColor(aIndex, aColor, sync.AsyncComplete());
            sync.Wait();
            sync.ReportError();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Invoke the action synchronously
 /// </summary>
 /// <remarks>Blocks until the action has been processed
 /// on the device and sets any output arguments</remarks>
 /// <param name="aIndex"></param>
 /// <param name="aColor"></param>
 public void SyncSetColor(uint aIndex, uint aColor)
 {
     SyncSetColorOpenhomeOrgTestLights1 sync = new SyncSetColorOpenhomeOrgTestLights1(this);
     BeginSetColor(aIndex, aColor, sync.AsyncComplete());
     sync.Wait();
     sync.ReportError();
 }