You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- 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
- {
- /// <summary>
- /// 物料ID
- /// </summary>
- [ObservableProperty]
- private string? _materialID;
- /// <summary>
- /// 物料本地名称
- /// </summary>
- [ObservableProperty]
- private string? _materialName;
- /// <summary>
- /// 物料位置
- /// </summary>
- [ObservableProperty]
- private int? _materialPosition;
- /// <summary>
- /// 物料重量
- /// </summary>
- [ObservableProperty]
- private string? _materialWeight;
-
-
-
- }
-
- public partial class LocalRecipe:ObservableObject
- {
- /// <summary>
- /// 配方ID
- /// </summary>
- [ObservableProperty]
- private string? _recipeID;
- /// <summary>
- /// 配方名称
- /// </summary>
- [ObservableProperty]
- private string? _recipeName;
- /// <summary>
- /// 原料集合
- /// </summary>
- public ObservableCollection<LocalMaterail> localMaterails { get; set; } = new ObservableCollection<LocalMaterail>();
- }
- }
|