using Microsoft.Toolkit.Mvvm.ComponentModel; using Microsoft.Toolkit.Mvvm.Input; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.MorkTM.ViewModel { public class DebugViewModel : ObservableObject { /// /// 出料口集合 /// public List Materials { get; set; } = new List(); /// /// 奶茶 /// public ObservableCollection TeaWithMilkType { get; set; } /// /// 出料 /// public RelayCommand OutMaterials { get; set; } /// /// 转盘转动 /// public RelayCommand TurnOn { get; set; } public float MaertialsWight { get { return _maertialsWight; } set { _maertialsWight = value; OnPropertyChanged(); } } private float _maertialsWight = 10; public DebugViewModel() { } } }