CurrentRampProfile.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. using MECF.Framework.Common.CommonData;
  2. using Newtonsoft.Json;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace MECF.Framework.Common.RecipeCenter
  9. {
  10. public class CurrentRampProfile : NotifiableItem
  11. {
  12. #region 内部变量
  13. private int _durartionSeconds;
  14. private double _currentValue;
  15. private double _PlatingZoffset;
  16. private double _PlatingSpeed;
  17. private bool _biDireaction;
  18. private int _biDFrequency;
  19. #endregion
  20. #region 属性
  21. [JsonProperty]
  22. public int DurartionSeconds { get { return _durartionSeconds; } set { _durartionSeconds = value;InvokePropertyChanged(nameof(DurartionSeconds)); } }
  23. [JsonProperty]
  24. public double CurrentValue { get { return _currentValue; } set { _currentValue = value;InvokePropertyChanged(nameof(CurrentValue)); } }
  25. [JsonProperty]
  26. public double PlatingZoffset { get { return _PlatingZoffset; } set { _PlatingZoffset = value; InvokePropertyChanged(nameof(PlatingZoffset)); } }
  27. [JsonProperty]
  28. public double PlatingSpeed { get { return _PlatingSpeed; } set { _PlatingSpeed = value; InvokePropertyChanged(nameof(PlatingSpeed)); } }
  29. [JsonProperty]
  30. public bool BiDireaction { get { return _biDireaction; } set { _biDireaction = value; InvokePropertyChanged(nameof(BiDireaction)); } }
  31. [JsonProperty]
  32. public int BiDFrequency { get { return _biDFrequency; } set { _biDFrequency = value; InvokePropertyChanged(nameof(BiDFrequency)); } }
  33. #endregion
  34. }
  35. }