using Microsoft.Toolkit.Mvvm.ComponentModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.DosingSystem { public class StockStatusModel : ObservableObject { /// /// 料仓物料重量 /// private double _materialWeight; public double MaterialWeight { get { return _materialWeight; } set { _materialWeight = value; OnPropertyChanged(); } } /// /// 料仓物料名称 /// private string _materialName; public string MaterialName { get { return _materialName; } set { _materialName = value; OnPropertyChanged(); } } /// /// 是否真在运行 /// private bool _isRunning; public bool IsRunning { get { return _isRunning; } set { _isRunning = value; OnPropertyChanged(); } } /// /// 是否正在下料 /// private bool _isLayOff; public bool IsLayOff { get { return _isLayOff; } set { _isLayOff = value; OnPropertyChanged(); } } /// /// 打开状态 /// public bool IsOpen { get { return _mIsOpen; } set { _mIsOpen = value; OnPropertyChanged(); } } private bool _mIsOpen; /// /// 是否故障报警 /// private bool _isFault; public bool IsFault { get { return _isFault; } set { _isFault = value; OnPropertyChanged(); } } } }