using Microsoft.Toolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FryPot_DosingSystem.Model
{
internal class NewRecipeModel:ObservableObject
{
///
/// 配方唯一ID
///
private string _recipeId;
public string RecipeId { get { return _recipeId; }set { _recipeId = value; OnPropertyChanged(); } }
///
/// 配方名称
///
private string _recipeName;
public string RecipeName { get { return _recipeName; } set { _recipeName = value;OnPropertyChanged(); } }
///
/// 配方创建时间
///
private string _dateTime;
public string DataTime { get { return _dateTime; } set { _dateTime = value;OnPropertyChanged(); } }
private string _updateTime;
public string UpdateTime { get { return _updateTime; } set { _updateTime = value;OnPropertyChanged(); } }
///
/// 工艺流程
///
public FlowProcessManage FlowProcess { get { return _flowProcessManage; } set { _flowProcessManage = value;OnPropertyChanged(); } }
private FlowProcessManage _flowProcessManage;
///
/// 配方下发状况信息
///
private string _recipeSetInfo;
public string RecipeSetInfo { get { return _recipeSetInfo; } set { _recipeSetInfo = value; OnPropertyChanged(); } }
public ObservableCollection materialCollection { get; set; } = new ObservableCollection();
}
}