终端一体化运控平台
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

76 строки
2.7 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Microsoft.Toolkit.Mvvm.ComponentModel;
  7. namespace BPASmartClient.DosingSystem.Model
  8. {
  9. public class DeviceParModel : ObservableObject
  10. {
  11. /// <summary>
  12. /// 原料名称
  13. /// </summary>
  14. public string MaterialName { get { return _mMaterialName; } set { _mMaterialName = value; OnPropertyChanged(); } }
  15. private string _mMaterialName = string.Empty;
  16. /// <summary>
  17. /// 慢加重量
  18. /// </summary>
  19. public float SlowlyAddWeight { get { return _mSlowlyAddWeight; } set { _mSlowlyAddWeight = value; OnPropertyChanged(); } }
  20. private float _mSlowlyAddWeight;
  21. /// <summary>
  22. /// 提前关阀重量
  23. /// </summary>
  24. public float PreCloseValveWeight { get { return _mPreCloseValveWeight; } set { _mPreCloseValveWeight = value; OnPropertyChanged(); } }
  25. private float _mPreCloseValveWeight;
  26. /// <summary>
  27. /// 快加速度
  28. /// </summary>
  29. public int RapidAcceleration { get { return _mRapidAcceleration; } set { _mRapidAcceleration = value; OnPropertyChanged(); } }
  30. private int _mRapidAcceleration;
  31. /// <summary>
  32. /// 慢加速度
  33. /// </summary>
  34. public int SlowAcceleration { get { return _mSlowAcceleration; } set { _mSlowAcceleration = value; OnPropertyChanged(); } }
  35. private int _mSlowAcceleration;
  36. /// <summary>
  37. /// 伺服手动速度
  38. /// </summary>
  39. public int ServoManualSpeed { get { return _mServoManualSpeed; } set { _mServoManualSpeed = value; OnPropertyChanged(); } }
  40. private int _mServoManualSpeed;
  41. /// <summary>
  42. /// 料仓上限重量
  43. /// </summary>
  44. public int SiloUpperLimitWeight { get { return _mSiloUpperLimitWeight; } set { _mSiloUpperLimitWeight = value; OnPropertyChanged(); } }
  45. private int _mSiloUpperLimitWeight;
  46. /// <summary>
  47. /// 料仓下限重量
  48. /// </summary>
  49. public int LowerLimitWeightOfSilo { get { return _mLowerLimitWeightOfSilo; } set { _mLowerLimitWeightOfSilo = value; OnPropertyChanged(); } }
  50. private int _mLowerLimitWeightOfSilo;
  51. /// <summary>
  52. /// 搅拌速度
  53. /// </summary>
  54. public int StirringSpeed { get { return _mStirringSpeed; } set { _mStirringSpeed = value; OnPropertyChanged(); } }
  55. private int _mStirringSpeed;
  56. /// <summary>
  57. /// 是否重复
  58. /// </summary>
  59. [Newtonsoft.Json.JsonIgnore]
  60. public bool IsRedundant { get { return _mIsRedundant; } set { _mIsRedundant = value; OnPropertyChanged(); } }
  61. private bool _mIsRedundant;
  62. }
  63. }