public void Post(PostDeviceOptions request)
 {
     _deviceManager.UpdateDeviceInfo(request.Id, new DeviceOptions
     {
         CustomName       = request.CustomName,
         CameraUploadPath = request.CameraUploadPath
     });
 }
示例#2
0
        public void Post(PostDeviceOptions request)
        {
            var task = _deviceManager.UpdateDeviceInfo(request.Id, new DeviceOptions
            {
                CustomName       = request.CustomName,
                CameraUploadPath = request.CameraUploadPath
            });

            Task.WaitAll(task);
        }
示例#3
0
 public void Post(PostDeviceOptions request)
 {
     _deviceManager.UpdateDeviceOptions(request.Id, request);
 }