EphHigh.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. using DevExpress.Xpo;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Xml.Linq;
  8. namespace Ips.Sps.Ephs
  9. {
  10. [Indices("EphId;EphTime")]
  11. public class EphHigh : XPLiteObject
  12. {
  13. public EphHigh(Session session) : base(session)
  14. {
  15. }
  16. private long _id;
  17. [DevExpress.Xpo.Key(true)]
  18. public long Id
  19. {
  20. get => _id;
  21. set => SetPropertyValue(nameof(Id), ref _id, value);
  22. }
  23. private int _ephId;
  24. //[Indexed("EphId;EphTime", Unique = true)]
  25. public int EphId
  26. {
  27. get => _ephId;
  28. set => SetPropertyValue(nameof(EphId), ref _ephId, value);
  29. }
  30. private DateTime _ephTime;
  31. public DateTime EphTime
  32. {
  33. get => _ephTime;
  34. set => SetPropertyValue(nameof(EphTime), ref _ephTime, value);
  35. }
  36. private double _x;
  37. public double X
  38. {
  39. get => _x;
  40. set => SetPropertyValue(nameof(X), ref _x, value);
  41. }
  42. private double _y;
  43. public double Y
  44. {
  45. get => _y;
  46. set => SetPropertyValue(nameof(Y), ref _y, value);
  47. }
  48. private double _z;
  49. public double Z
  50. {
  51. get => _z;
  52. set => SetPropertyValue(nameof(Z), ref _z, value);
  53. }
  54. }
  55. }