using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.RightsManagement;
using System.Text;
using System.Threading.Tasks;
using BPASmartClient.MorkCL.Model.DataInfo;
using BPASmartClient.MorkCL.Model.Func;
using BPASmartClient.MorkCL.Model.Recipe;
namespace BPASmartClient.MorkCL.Model
{
public class ControlData : RawMaterial
{
private EDeviceType deviceType;
private EDishType dishType;
private string remark;
///
/// 选择设备类型
///
public EDeviceType DeviceType { get => deviceType; set { deviceType = value; OnPropertyChanged(); } }
///
/// 菜品类型
///
public EDishType DishType { get => dishType; set { dishType = value; OnPropertyChanged(); } }
///
/// 功能配方
///
public ConcurrentQueue ControlFuncs { get; set; } = new ConcurrentQueue();
///
/// 备注
///
public string Remark { get => remark; set { remark = value; OnPropertyChanged(); } }
}
public class FuncModel
{
private EFunc _eFunc;
public EFunc eFunc
{
get { return _eFunc; }
set { _eFunc = value;/* funcPars = InitData.FunParInit[value]?.ToList(); */}
}
public List funcPars { get; set; } = new List();
}
}