コード例 #1
0
        private async Task UpdateStatusAsync(Structure structure)
        {
            GetStatusResult result = await _nestWebService.GetStructureAndDeviceStatusAsync(structure);

            if (result.Exception != null)
            {
                Stop();
            }

            _delayedStatusProvider.CacheStatus(result);
        }