public void SwitchActuatorTest()
        {
            string[] list = null;

            using (HomeAutomation client = new HomeAutomation("", ""))
            {
                list = client.GetSwitchListAsync().Result;
            }

            Assert.IsNotNull(list, "list");
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            string[] list = null;

            using (HomeAutomation client = new HomeAutomation("", ""))
            {
                list = client.GetSwitchListAsync().Result;

                var x = client.GetDeviceListInfosAsync().Result;
            }
        }