using BPASmartClient.MorkTM;
using BPA.Helper;
using Model;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Text;
using System.Windows;
namespace ViewModel
{
public class RecipeViewModel : NotifyBase
{
//路径
string recipePath = string.Empty;
string posionPath = string.Empty;
#region 奶茶配方录入
///
/// 奶茶配方
///
public ObservableCollection materialRecipes { get; set;} = new ObservableCollection();
///
/// 出料集合
///
public ObservableCollection MaterailList { get; set; } = new ObservableCollection();
///
/// 奶茶名称
///
public string LocalGoodName { get { return _localGoodName; } set { _localGoodName = value; OnPropertyChanged(); } }
private string _localGoodName;
///
/// 添加一条配方
///
public BPARelayCommand AddRecipeCommand { get; set; }
///
/// 删除一条配方
///
public BPARelayCommand