using Microsoft.Toolkit.Mvvm.ComponentModel; namespace BPASmartClient.FoodStationTest.Model.Par { /// /// 连接参数设置。 /// public class ConnectParMode : ObservableObject { /// /// 海科PLC是否连接 /// public bool HKPlcConnect { get { return _mHKPlcConnect; } set { _mHKPlcConnect = value; OnPropertyChanged(); } } private bool _mHKPlcConnect; /// /// 是否屏蔽料仓报警 /// public bool ShieldStockbinAlarm { get { return _mShieldStockbinAlarm; } set { _mShieldStockbinAlarm = value; OnPropertyChanged(); } } private bool _mShieldStockbinAlarm; /// /// 进桶侧调速电机速度 /// public short AxisLoadSpeed { get { return _mAxisLoadSpeed; } set { _mAxisLoadSpeed = value; OnPropertyChanged(); } } private short _mAxisLoadSpeed; /// /// 过度侧调速电机速度 /// public short AxisMidSpeed { get { return _mAxisMidSpeed; } set { _mAxisMidSpeed = value; OnPropertyChanged(); } } private short _mAxisMidSpeed; /// /// 出桶侧调速电机速度 /// public short AxisUnLoadSpeed { get { return _mAxisUnLoadSpeed; } set { _mAxisUnLoadSpeed = value; OnPropertyChanged(); } } private short _mAxisUnLoadSpeed; /// /// 进桶侧伺服电机速度 /// public float Axis1Speed { get { return _mAxis1Speed; } set { _mAxis1Speed = value; OnPropertyChanged(); } } private float _mAxis1Speed; /// /// 出桶侧伺服电机速度 /// public float Axis2Speed { get { return _mAxis2Speed; } set { _mAxis2Speed = value; OnPropertyChanged(); } } private float _mAxis2Speed; } }