Tst.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. using DevExpress.Xpo;
  2. using System;
  3. namespace Ips.Sps.TskResults.Stses
  4. {
  5. /// <summary>
  6. /// 信号时隙
  7. /// </summary>
  8. public class Tst : TskResultBase
  9. {
  10. public Tst() : base()
  11. {
  12. }
  13. public Tst(Session session) : base(session)
  14. {
  15. }
  16. public override void AfterConstruction()
  17. {
  18. base.AfterConstruction();
  19. }
  20. private int _satId;
  21. [DisplayName("卫星ID")]
  22. public int SatId
  23. {
  24. get => _satId;
  25. set => SetPropertyValue(nameof(SatId), ref _satId, value);
  26. }
  27. private int _satNum;
  28. [DisplayName("卫星编号")]
  29. public int SatNum
  30. {
  31. get => _satNum;
  32. set => SetPropertyValue(nameof(SatNum), ref _satNum, value);
  33. }
  34. private string _emtCode;
  35. [DisplayName("目标编码")]
  36. [Size(50)]
  37. public string EmtCode
  38. {
  39. get => _emtCode;
  40. set => SetPropertyValue(nameof(EmtCode), ref _emtCode, value);
  41. }
  42. private string _timeslotName;
  43. [DisplayName("时隙名称")]
  44. [Size(50)]
  45. public string TimeSlotName
  46. {
  47. get => string.IsNullOrWhiteSpace(_timeslotName) ? "未知用户" : _timeslotName;
  48. set => SetPropertyValue(nameof(TimeSlotName), ref _timeslotName, value);
  49. }
  50. private int _startPos;
  51. [DisplayName("起始样点")]
  52. public int StartPos
  53. {
  54. get => _startPos;
  55. set => SetPropertyValue(nameof(StartPos), ref _startPos, value);
  56. }
  57. private int _length;
  58. [DisplayName("样点长度")]
  59. public int Length
  60. {
  61. get => _length;
  62. set => SetPropertyValue(nameof(Length), ref _length, value);
  63. }
  64. }
  65. }