- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace BPASmartClient.Academy.ViewModel
- {
- public class ParameterSetViewModel : NotifyBase
- {
- public ParameterSetViewModel()
- {
- Enum.GetNames(typeof(ProjectType)).ToList().ForEach(name => { projectNames.Add(name); });
- }
-
- public ObservableCollection<string> projectNames { get; set; } = new ObservableCollection<string>();
-
- public DevicePar Par { get { return _mPar; } set { _mPar = value; OnPropertyChanged(); } }
- private DevicePar _mPar = Json<DevicePar>.Data;
-
- //public BPARelayCommand SaveCommand { get; set; } = new BPARelayCommand(() => { Json<DevicePar>.Save(); });
- }
- }
|