using BPA.Helper; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.MorkMOC { public partial class LocalMaterail : NotifyBase { /// /// 物料ID /// public string MaterialID { get { return _materialID; } set { _materialID = value; OnPropertyChanged(); } } private string _materialID; /// /// 物料本地名称 /// public string MaterialName { get { return _materialName; } set { _materialName = value; OnPropertyChanged(); } } private string _materialName; /// /// 物料位置 /// public int MaterialPosition { get { return _materialPosition; } set { _materialPosition = value; OnPropertyChanged(); } } private int _materialPosition; /// /// 物料重量 /// public string MaterialWeight { get { return _materialWeight; } set { _materialWeight = value; OnPropertyChanged(); } } private string _materialWeight; } public partial class LocalRecipe : NotifyBase { /// /// 物料重量 /// public string RecipeID { get { return _recipeID; } set { _recipeID = value; OnPropertyChanged(); } } private string _recipeID; /// /// 配方名称 /// public string RecipeName { get { return _recipeName; } set { _recipeName = value; OnPropertyChanged(); } } private string _recipeName; /// /// 原料集合 /// public ObservableCollection localMaterails { get; set; } = new ObservableCollection(); } }