终端一体化运控平台
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.
 
 
 

57 lines
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. }