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 BPASmartClient.MorkMOC { public partial class LocalMaterail:ObservableObject { /// /// 物料ID /// [ObservableProperty] private string? _materialID; /// /// 物料本地名称 /// [ObservableProperty] private string? _materialName; /// /// 物料位置 /// [ObservableProperty] private int? _materialPosition; /// /// 物料重量 /// [ObservableProperty] private string? _materialWeight; } public partial class LocalRecipe:ObservableObject { /// /// 配方ID /// [ObservableProperty] private string? _recipeID; /// /// 配方名称 /// [ObservableProperty] private string? _recipeName; /// /// 原料集合 /// public ObservableCollection localMaterails { get; set; } = new ObservableCollection(); } }