Exemple #1
0
        static async void task(CoordinatorDevice2 dev)
        {

            DeviceInfo[] infos = await dev.GetDeviceListAsync();
            Console.WriteLine(infos.Length);
        }
Exemple #2
0
 static async  void testled()
 {
      CoordinatorDevice2 dev = new CoordinatorDevice2("192.168.0.99", 8080);
     StreetLightInfo[] infos= await dev.GetStreetLightListAsync("0b81");
 }