forked from amkovkov/GranuSightSoftware2
feat: add Camera View and ViewModel
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
|
||||
using GSS2.UI.Core.ViewModels;
|
||||
|
||||
namespace GSS2.ViewModels.Common;
|
||||
|
||||
public partial class CameraViewModel : ViewModelBase
|
||||
{
|
||||
[ObservableProperty] public partial GSS2.UI.Core.ViewModels.CameraViewModel Camera { get; set; }
|
||||
[ObservableProperty] public partial GSS2.UI.Core.ViewModels.IlluminatorControllerViewModel Illuminator { get; set; }
|
||||
|
||||
public CameraViewModel(
|
||||
GSS2.UI.Core.ViewModels.CameraViewModel camera,
|
||||
GSS2.UI.Core.ViewModels.IlluminatorControllerViewModel illuminator
|
||||
)
|
||||
{
|
||||
Camera = camera;
|
||||
Illuminator = illuminator;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user