/// <summary> /// Reads single camera. /// </summary> /// <param name="uuid"></param> /// <returns></returns> public async Task <(CameraInfo Data, DataStatus Status)> DataReadCameraAsync(Guid uuid) { var(camera, status) = await ReadCameraAsync(uuid, CameraFlags.ALL); if (status.IsGood) { Data.UpdateCameras(camera); } else { _logger?.LogError($"Error code {status.Code} in reading camera: {status.Explanation}."); } Data.Status = status; return(camera, Data.Status); }