using Microsoft.Toolkit.Mvvm.ComponentModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.DosingHKProject.Model { public class RemoteRecipeRawMaterial:ObservableObject { public int DeviceIp { get { return _mIp; } set { _mIp = value; }} private int _mIp; public string RawMaterialName { get { return _mRawMaterialName; } set { _mRawMaterialName = value; OnPropertyChanged(); } } private string _mRawMaterialName; /// /// 原料对应的桶号 /// public short RawMaterialBarrelNum { get { return _mRawMaterialBarrelNum; } set { _mRawMaterialBarrelNum = value; OnPropertyChanged(); } } private short _mRawMaterialBarrelNum; /// /// 需要原料重量 /// public float RawMaterialWeight { get { return _mRawMaterialWeight; } set { _mRawMaterialWeight = value; OnPropertyChanged(); } } private float _mRawMaterialWeight; /// /// 实际的下料中重量 /// public float Laying_Off_Weight { get { return _mLaying_Off_Weight; } set { _mLaying_Off_Weight = value; } } private float _mLaying_Off_Weight; /// /// 料仓剩余重量 /// public float StockBinRemainingWeight { get { return _mStockBinRemainingWeight; } set { _mStockBinRemainingWeight = value; } } private float _mStockBinRemainingWeight; /// /// 原料对应料仓的位置 /// public int RawMaterialLocation { get { return _mRawMaterialLocation; } set { _mRawMaterialLocation = value;OnPropertyChanged(); } } private int _mRawMaterialLocation; public bool IsDosingFinish { get { return _mDosingFinish; } set { _mDosingFinish = value; } } private bool _mDosingFinish; } }