using DevExpress.Xpo; using System; namespace Ips.Sps.TskResults.Stses { /// /// 信号时隙 /// public class Tst : TskResultBase { public Tst() : base() { } public Tst(Session session) : base(session) { } public override void AfterConstruction() { base.AfterConstruction(); } private int _satId; [DisplayName("卫星ID")] public int SatId { get => _satId; set => SetPropertyValue(nameof(SatId), ref _satId, value); } private int _satNum; [DisplayName("卫星编号")] public int SatNum { get => _satNum; set => SetPropertyValue(nameof(SatNum), ref _satNum, value); } private string _emtCode; [DisplayName("目标编码")] [Size(50)] public string EmtCode { get => _emtCode; set => SetPropertyValue(nameof(EmtCode), ref _emtCode, value); } private string _timeslotName; [DisplayName("时隙名称")] [Size(50)] public string TimeSlotName { get => string.IsNullOrWhiteSpace(_timeslotName) ? "未知用户" : _timeslotName; set => SetPropertyValue(nameof(TimeSlotName), ref _timeslotName, value); } private int _startPos; [DisplayName("起始样点")] public int StartPos { get => _startPos; set => SetPropertyValue(nameof(StartPos), ref _startPos, value); } private int _length; [DisplayName("样点长度")] public int Length { get => _length; set => SetPropertyValue(nameof(Length), ref _length, value); } } }