|
1234567891011121314151617181920212223242526272829 |
- using BPASmartClient.Helper;
- using BPASmartClient.Model;
- 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.ViewModel
- {
- public class FoodMenuViewModel: ObservableObject
- {
- public ObservableCollection<FoodMenuModel> FoodMenus { get; set; } = GlobalFoodMenu.LocalFoodMenus;
-
- public RelayCommand<object> StartOrder { get; set; }
-
- public FoodMenuViewModel()
- {
-
- StartOrder = new RelayCommand<object>((o) =>
- {
- ActionManage.GetInstance.Send("开始下单", o);
- });
- }
- }
- }
|