feat: massive rework

1) GSS2.Core:
- strip prefixes in GSS2.Core.Analysis.AmineContent namespace class names
- add IEnumerable<double>.Variance extension
- remake analysis + update database so not needed to store all every file, calibration data also stored in database, also currently capturing images stored in system temporary directory and rewriting every time
2) GSS.UI.Core: AsyncImageRecordViewModel make zoom and pans public
3) GSS:
- remove image-storage-clear command
- remove ResultsView and ResultsViewModel, results presented in analysis
- rework calibration views
- add analysis views
- add text and number fields editors view
- add confirmation view on danger buttons
This commit is contained in:
2026-05-13 12:56:32 +03:00
parent ec95eef375
commit 3cc4d21947
63 changed files with 4359 additions and 3961 deletions
@@ -0,0 +1,36 @@
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
using GSS2.UI.Core.Services;
using GSS2.UI.Core.ViewModels;
namespace GSS2.ViewModels;
public partial class NumericKeyboardViewModel : ViewModelBase
{
public event EventHandler<double?>? Closes;
private readonly NavigationService _navigation;
[ObservableProperty] public partial double? Value { get; set; } = null;
public NumericKeyboardViewModel(NavigationService navigation)
{
_navigation = navigation;
}
[RelayCommand]
private void Accept()
{
Closes?.Invoke(this, Value);
_navigation.NavigateBack();
}
[RelayCommand]
private void Cancel()
{
Value = null;
Closes?.Invoke(this, Value);
_navigation.NavigateBack();
}
}