forked from amkovkov/GranuSightSoftware2
feat: add Camera View and ViewModel
This commit is contained in:
@@ -2,10 +2,11 @@ using CommunityToolkit.Mvvm.ComponentModel;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
|
||||
using GSS2.UI.Core.Services;
|
||||
using GSS2.UI.Core.ViewModels;
|
||||
using GSS2.ViewModels.Common;
|
||||
using GSS2.ViewModels.AmineContent;
|
||||
|
||||
using ViewModelBase = GSS2.UI.Core.ViewModels.ViewModelBase;
|
||||
|
||||
namespace GSS2.ViewModels;
|
||||
|
||||
public partial class AmineContentViewModel : ViewModelBase
|
||||
@@ -17,6 +18,7 @@ public partial class AmineContentViewModel : ViewModelBase
|
||||
[ObservableProperty] public partial ResultsViewModel Results { get; set; }
|
||||
[ObservableProperty] public partial SampleCalibrationViewModel SampleCalibration { get; set; }
|
||||
[ObservableProperty] public partial SeparatorCalibrationViewModel SeparatorCalibration { get; set; }
|
||||
[ObservableProperty] public partial CameraViewModel Camera { get; set; }
|
||||
[ObservableProperty] public partial SystemViewModel System { get; set; }
|
||||
|
||||
[ObservableProperty] public partial int CurrentIndex { get; set; }
|
||||
@@ -28,6 +30,7 @@ public partial class AmineContentViewModel : ViewModelBase
|
||||
ResultsViewModel results,
|
||||
SampleCalibrationViewModel sampleCalibration,
|
||||
SeparatorCalibrationViewModel separatorCalibration,
|
||||
CameraViewModel camera,
|
||||
SystemViewModel system
|
||||
)
|
||||
{
|
||||
@@ -37,6 +40,7 @@ public partial class AmineContentViewModel : ViewModelBase
|
||||
Results = results;
|
||||
SampleCalibration = sampleCalibration;
|
||||
SeparatorCalibration = separatorCalibration;
|
||||
Camera = camera;
|
||||
System = system;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user