forked from amkovkov/GranuSightSoftware2
comprehensive update
1) remove unused components: camera view (due it causes segmentation faults), compute resources and all related, illuminator controller (due in useless without camera view), image storage service, temperature and humidity service 2) database schema - reduce tables references, features storing in records themselves in compressed form, add records creation and editing date and time, add separator comment column 3) analysis - rework of pipeline and ui, now database storing only raw data and all display values calculated from it 4) lights service - add reconnection if disconnected 5) add width and height command line arguments 6) fix some typos and other issues
This commit is contained in:
@@ -59,8 +59,6 @@ public class ImageCapturerService : IImageCapturerService
|
||||
// Если ViewFinder запущен, то для съёмки изображений его нужно остановить
|
||||
// потом после съёмки снова запустить
|
||||
var needRestartViewFinder = _camera.ViewFinderStarted;
|
||||
if (needRestartViewFinder)
|
||||
_camera.StopViewFinder();
|
||||
|
||||
try
|
||||
{
|
||||
@@ -117,9 +115,6 @@ public class ImageCapturerService : IImageCapturerService
|
||||
{
|
||||
// В любом случае отключаем осветитель
|
||||
_illuminator.TurnOff();
|
||||
// Запускаем обратно ViewFinder, если он был запущен и ещё не запущен обратно
|
||||
if (needRestartViewFinder && !_camera.ViewFinderStarted)
|
||||
_camera.StartViewFinder();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user