using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Toolkit.Mvvm.ComponentModel; namespace BPASmartClient.DosingHKProject.Model { public class DeviceParMode : ObservableObject { /// /// 原料名称 /// public string MaterialName { get { return _mMaterialName; } set { _mMaterialName = value; OnPropertyChanged(); } } private string _mMaterialName = string.Empty; /// /// 慢加重量 /// public float SlowlyAddWeight { get { return _mSlowlyAddWeight; } set { _mSlowlyAddWeight = value; OnPropertyChanged(); } } private float _mSlowlyAddWeight; /// /// 提前关阀重量 /// public float PreCloseValveWeight { get { return _mPreCloseValveWeight; } set { _mPreCloseValveWeight = value; OnPropertyChanged(); } } private float _mPreCloseValveWeight; /// /// 快加速度 /// public int RapidAcceleration { get { return _mRapidAcceleration; } set { _mRapidAcceleration = value; OnPropertyChanged(); } } private int _mRapidAcceleration; /// /// 慢加速度 /// public int SlowAcceleration { get { return _mSlowAcceleration; } set { _mSlowAcceleration = value; OnPropertyChanged(); } } private int _mSlowAcceleration; /// /// 伺服手动速度 /// public int ServoManualSpeed { get { return _mServoManualSpeed; } set { _mServoManualSpeed = value; OnPropertyChanged(); } } private int _mServoManualSpeed; /// /// 料仓上限重量 /// public int SiloUpperLimitWeight { get { return _mSiloUpperLimitWeight; } set { _mSiloUpperLimitWeight = value; OnPropertyChanged(); } } private int _mSiloUpperLimitWeight; /// /// 料仓下限重量 /// public int LowerLimitWeightOfSilo { get { return _mLowerLimitWeightOfSilo; } set { _mLowerLimitWeightOfSilo = value; OnPropertyChanged(); } } private int _mLowerLimitWeightOfSilo; /// /// 搅拌速度 /// public int StirringSpeed { get { return _mStirringSpeed; } set { _mStirringSpeed = value; OnPropertyChanged(); } } private int _mStirringSpeed; /// /// 是否重复 /// [Newtonsoft.Json.JsonIgnore] public bool IsRedundant { get { return _mIsRedundant; } set { _mIsRedundant = value; OnPropertyChanged(); } } private bool _mIsRedundant; } }