终端一体化运控平台
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

57 行
1.5 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Security.RightsManagement;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using BPASmartClient.MorkCL.Model.DataInfo;
  8. using BPASmartClient.MorkCL.Model.Func;
  9. using BPASmartClient.MorkCL.Model.Recipe;
  10. namespace BPASmartClient.MorkCL.Model
  11. {
  12. public class ControlData : RawMaterial
  13. {
  14. private EDeviceType deviceType;
  15. private EDishType dishType;
  16. private string remark;
  17. /// <summary>
  18. /// 选择设备类型
  19. /// </summary>
  20. public EDeviceType DeviceType { get => deviceType; set { deviceType = value; OnPropertyChanged(); } }
  21. /// <summary>
  22. /// 菜品类型
  23. /// </summary>
  24. public EDishType DishType { get => dishType; set { dishType = value; OnPropertyChanged(); } }
  25. /// <summary>
  26. /// 功能配方
  27. /// </summary>
  28. public ConcurrentQueue<FuncModel> ControlFuncs { get; set; } = new ConcurrentQueue<FuncModel>();
  29. /// <summary>
  30. /// 备注
  31. /// </summary>
  32. public string Remark { get => remark; set { remark = value; OnPropertyChanged(); } }
  33. }
  34. public class FuncModel
  35. {
  36. private EFunc _eFunc;
  37. public EFunc eFunc
  38. {
  39. get { return _eFunc; }
  40. set { _eFunc = value;/* funcPars = InitData.FunParInit[value]?.ToList(); */}
  41. }
  42. public List<FuncPar> funcPars { get; set; } = new List<FuncPar>();
  43. }
  44. }