Esempio n. 1
0
        public void ClientSmartObjectAsyncCreateUpdateDelete()
        {
            SmartObject obj = TestUtils.CreateObject();

            objectClient.CreateAsync(obj).Wait();

            objectClient.UpdateAsync(TestUtils.CreateObjectUpdateAttribute(), obj.DeviceId).Wait();

            objectClient.DeleteAsync(obj.DeviceId).Wait();
        }