终端一体化运控平台
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.
 
 
 

41 lines
1.1 KiB

  1. using Microsoft.Toolkit.Mvvm.ComponentModel;
  2. using Microsoft.Toolkit.Mvvm.Input;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Collections.ObjectModel;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace BPASmartClient.MorkTM.ViewModel
  10. {
  11. public class DebugViewModel : ObservableObject
  12. {
  13. /// <summary>
  14. /// 出料口集合
  15. /// </summary>
  16. public List<string> Materials { get; set; } = new List<string>();
  17. /// <summary>
  18. /// 奶茶
  19. /// </summary>
  20. public ObservableCollection<string> TeaWithMilkType { get; set; }
  21. /// <summary>
  22. /// 出料
  23. /// </summary>
  24. public RelayCommand OutMaterials { get; set; }
  25. /// <summary>
  26. /// 转盘转动
  27. /// </summary>
  28. public RelayCommand TurnOn { get; set; }
  29. public float MaertialsWight { get { return _maertialsWight; } set { _maertialsWight = value; OnPropertyChanged(); } }
  30. private float _maertialsWight = 10;
  31. public DebugViewModel()
  32. {
  33. }
  34. }
  35. }