RingProcessBarControl.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. namespace SHJX.Service.Model.ControlModules
  2. {
  3. public class RingProcessBarControl : BindableBase
  4. {
  5. public int Index { get; set; }
  6. public string Name { get; set; }
  7. public string TagCurrentTagNo { get; set; }
  8. public bool _roundVisiable;
  9. public bool RoundVisiable
  10. {
  11. get => _roundVisiable;
  12. set => SetProperty(ref _roundVisiable, value);
  13. }
  14. public string _currentText;
  15. public string CurrentText
  16. {
  17. get => _currentText;
  18. set => SetProperty(ref _currentText, value);
  19. }
  20. public double _currentCycleValue;
  21. public double CurrentCycleValue
  22. {
  23. get => _currentCycleValue;
  24. set => SetProperty(ref _currentCycleValue, value);
  25. }
  26. public string _centerColor;
  27. public string CenterColor
  28. {
  29. get => _centerColor;
  30. set => SetProperty(ref _centerColor, value);
  31. }
  32. public RingProcessBarControl()
  33. {
  34. RoundVisiable = false;
  35. CurrentText = string.Empty;
  36. CurrentCycleValue = 0;
  37. CenterColor = string.Empty;
  38. }
  39. }
  40. }