终端一体化运控平台
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

49 lignes
1.7 KiB

  1. using Microsoft.Toolkit.Mvvm.ComponentModel;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Collections.ObjectModel;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace FryPot_DosingSystem.Model
  9. {
  10. internal class NewRecipeModel:ObservableObject
  11. {
  12. /// <summary>
  13. /// 配方唯一ID
  14. /// </summary>
  15. private string _recipeId;
  16. public string RecipeId { get { return _recipeId; }set { _recipeId = value; OnPropertyChanged(); } }
  17. /// <summary>
  18. /// 配方名称
  19. /// </summary>
  20. private string _recipeName;
  21. public string RecipeName { get { return _recipeName; } set { _recipeName = value;OnPropertyChanged(); } }
  22. /// <summary>
  23. /// 配方创建时间
  24. /// </summary>
  25. private string _dateTime;
  26. public string DataTime { get { return _dateTime; } set { _dateTime = value;OnPropertyChanged(); } }
  27. private string _updateTime;
  28. public string UpdateTime { get { return _updateTime; } set { _updateTime = value;OnPropertyChanged(); } }
  29. /// <summary>
  30. /// 工艺流程
  31. /// </summary>
  32. public FlowProcessManage FlowProcess { get { return _flowProcessManage; } set { _flowProcessManage = value;OnPropertyChanged(); } }
  33. private FlowProcessManage _flowProcessManage;
  34. /// <summary>
  35. /// 配方下发状况信息
  36. /// </summary>
  37. private string _recipeSetInfo;
  38. public string RecipeSetInfo { get { return _recipeSetInfo; } set { _recipeSetInfo = value; OnPropertyChanged(); } }
  39. public ObservableCollection<MaterialType> materialCollection { get; set; } = new ObservableCollection<MaterialType>();
  40. }
  41. }