终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

24 lines
776 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace BPASmartClient.Academy.ViewModel
  7. {
  8. public class ParameterSetViewModel : NotifyBase
  9. {
  10. public ParameterSetViewModel()
  11. {
  12. Enum.GetNames(typeof(ProjectType)).ToList().ForEach(name => { projectNames.Add(name); });
  13. }
  14. public ObservableCollection<string> projectNames { get; set; } = new ObservableCollection<string>();
  15. public DevicePar Par { get { return _mPar; } set { _mPar = value; OnPropertyChanged(); } }
  16. private DevicePar _mPar = Json<DevicePar>.Data;
  17. //public BPARelayCommand SaveCommand { get; set; } = new BPARelayCommand(() => { Json<DevicePar>.Save(); });
  18. }
  19. }