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:
2026-06-29 15:13:29 +03:00
parent caee9fafd5
commit 72ae26eee7
74 changed files with 5219 additions and 4248 deletions
+8 -2
View File
@@ -18,6 +18,8 @@ public partial class Application : Avalonia.Application
{
private readonly IServiceProvider _services;
private readonly bool _fullscreen;
private readonly double _width;
private readonly double _height;
private readonly ILogger<Application> _logger;
private readonly DependencyInjectionViewLocator _viewLocator;
@@ -25,10 +27,12 @@ public partial class Application : Avalonia.Application
public NavigationService? Navigation { get; private set; } = null;
public Application(IServiceProvider services, bool fullscreen = false)
public Application(IServiceProvider services, bool fullscreen = false, int width = 0, int height = 0)
{
_services = services;
_fullscreen = fullscreen;
_width = width <= 0 ? double.NaN : width;
_height = height <= 0 ? double.NaN : height;
// Создаём AvaloniaLogSink, который перенаправляет логи из Avalonia в хост
var loggerFactory = _services.GetRequiredService<ILoggerFactory>();
@@ -124,7 +128,9 @@ public partial class Application : Avalonia.Application
{
WindowDecorations = _fullscreen ? Avalonia.Controls.WindowDecorations.None : Avalonia.Controls.WindowDecorations.Full,
Topmost = _fullscreen,
WindowState = _fullscreen ? Avalonia.Controls.WindowState.FullScreen : Avalonia.Controls.WindowState.Normal
WindowState = _fullscreen ? Avalonia.Controls.WindowState.FullScreen : Avalonia.Controls.WindowState.Normal,
Width = _width,
Height = _height
},
};
desktop.MainWindow = mainWindow;