终端一体化运控平台
25개 이상의 토픽을 선택하실 수 없습니다. 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. }