CurrConfig.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Prism.Mvvm;
  6. using System.Threading.Tasks;
  7. namespace DefaultEdit.Model
  8. {
  9. public class CurrConfig:BindableBase
  10. {
  11. private float _Speed;
  12. private TimeSpan _Time;
  13. private float _Speed2;
  14. private TimeSpan _Time2;
  15. private short _Power1_1;
  16. private short _Power1_2;
  17. private short _Power1_3;
  18. private short _Power1_4;
  19. private float _Pressure1;
  20. private TimeSpan _PTime1;
  21. private string _Rfid;
  22. public float Speed { get => _Speed; set { SetProperty(ref _Speed, value); } }
  23. public TimeSpan Time { get => _Time; set { SetProperty(ref _Time, value); } }
  24. public short Power1_1 { get => _Power1_1; set { SetProperty(ref _Power1_1, value); } }
  25. public short Power1_2 { get => _Power1_2; set { SetProperty(ref _Power1_2, value); } }
  26. public short Power1_3 { get => _Power1_3; set { SetProperty(ref _Power1_3, value); } }
  27. public short Power1_4 { get => _Power1_4; set { SetProperty(ref _Power1_4, value); } }
  28. public float Pressure1 { get => _Pressure1; set { SetProperty(ref _Pressure1, value); } }
  29. public TimeSpan PTime1 { get => _PTime1; set { SetProperty(ref _PTime1, value); } }
  30. public string Rfid { get => _Rfid; set { SetProperty(ref _Rfid, value); } }
  31. public float Speed2 { get => _Speed2; set { SetProperty(ref _Speed2, value); } }
  32. public TimeSpan Time2 { get => _Time2; set { SetProperty(ref _Time2, value); } }
  33. }
  34. }