Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
|
- 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>();
- }
- }
|