123456789101112131415161718192021 |
- using Shaker.Models;
- using ShakerApp.Models;
- using ShakerApp.Tools;
- namespace ShakerApp.ViewModels
- {
- public sealed class TimeDomainMenuViewModel: CommunityToolkit.Mvvm.ComponentModel.ObservableObject
- {
- private AnalogType analogType = AnalogType.Displacement;
- private bool isEnabled = true;
- private string unit = string.Empty;
- private bool isChecked = false;
- public AnalogType AnalogType { get => analogType; set =>SetProperty(ref analogType , value); }
- public bool IsEnabled { get => isEnabled; set =>SetProperty(ref isEnabled , value); }
- public string Key => AnalogType.Description();
- public string Unit { get => unit; set =>SetProperty(ref unit , value); }
- public bool IsChecked { get => isChecked; set =>SetProperty(ref isChecked , value); }
- }
- }
|