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.
|
- //using BPA.Helper;
- //using Microsoft.Toolkit.Mvvm.ComponentModel;
- //using System;
- //using System.Collections.Generic;
- //using System.Linq;
- //using System.Text;
- //using System.Threading.Tasks;
-
- //namespace BPASmartClient.JXJFoodSmallStation.Model
- //{
- // public class NewRemoteRecipeModel : ObservableObject
- // {
- // /// <summary>
- // /// 原料名称
- // /// </summary>
- // public string RawMaterialName { get { return _mRawMaterialName; } set { _mRawMaterialName = value; OnPropertyChanged(); } }
- // private string _mRawMaterialName;
-
- // /// <summary>
- // /// 原料对应的桶号
- // /// </summary>
- // public short RawMaterialBarrelNum { get { return _mRawMaterialBarrelNum; } set { _mRawMaterialBarrelNum = value; OnPropertyChanged(); } }
- // private short _mRawMaterialBarrelNum;
-
- // /// <summary>
- // /// 原料类型
- // /// </summary>
- // public string RawMaterialType { get { return _mRawMaterialType; } set { _mRawMaterialType = value; OnPropertyChanged(); } }
- // private string _mRawMaterialType;
-
- // /// <summary>
- // /// 需要原料重量
- // /// </summary>
- // public float RawMaterialWeight { get { return _mRawMaterialWeight; } set { _mRawMaterialWeight = value; OnPropertyChanged(); } }
- // private float _mRawMaterialWeight;
-
- // /// <summary>
- // /// 原料对应料仓的位置
- // /// </summary>
- // public int RawMaterialLocation
- // {
- // get { return _mRawMaterialLocation; }
- // set
- // {
- // _mRawMaterialLocation = value;
- // //if (RawMaterialType == "小料")
- // //{
- // // var res = Json<DevicePar>.Data.rawMaterialStockBin.FirstOrDefault(p => p.RawMaterialLocation == value);
- // // if (res != null && !string.IsNullOrEmpty(res.RawMaterialName))
- // // {
- // // var temp = Json<DevicePar>.Data.BomMaterial.FirstOrDefault(p => p.MaterialCode == res.RawMaterialName);
- // // if (temp != null && !string.IsNullOrEmpty(temp.MaterialName))
- // // {
- // // RawMaterialName = temp.MaterialName;
- // // }
- // // }
- // //}
- // //else if (RawMaterialType == "粉料")
- // //{
- // // var res = Json<DevicePar>.Data.windSendRawMaterial.FirstOrDefault(p => p.Location == value);
- // // if (res != null)
- // // {
- // // RawMaterialName = res.RawMaterialName;
- // // }
- // //}
- // ActionManage.GetInstance.Send("ChangeNotify", this);
- // OnPropertyChanged();
- // }
- // }
- // private int _mRawMaterialLocation;
-
-
- // }
- //}
|