using DevExpress.Xpo; using Ips.Library.Basic; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ips.Sps.TskResults { [NonPersistent] public class TskResultBase : XPLiteObject { public TskResultBase() : base() { } public TskResultBase(Session session) : base(session) { } public override void AfterConstruction() { base.AfterConstruction(); } private long _id; [DevExpress.Xpo.Key(true)] public long Id { get => _id; set => SetPropertyValue(nameof(Id), ref _id, value); } private int _tskId; [DisplayName("任务编号")] public int TskId { get => _tskId; set => SetPropertyValue(nameof(TskId), ref _tskId, value); } private DateTime _groupTime; [DisplayName("分组时间")] [MemberDesignTimeVisibility(false)] public DateTime GroupTime { get => _groupTime; set => SetPropertyValue(nameof(GroupTime), ref _groupTime, value); } private int _sigId; [DisplayName("信号编号")] public int SigId { get => _sigId; set => SetPropertyValue(nameof(SigId), ref _sigId, value); } private int _emtId; [DisplayName("信号目标")] public int EmtId { get => _emtId; set => SetPropertyValue(nameof(EmtId), ref _emtId, value); } private DateTime _sigTime; [DisplayName("信号时间")] [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "yyyy-MM-dd HH:mm:ss.fff")] public DateTime SigTime { get => _sigTime; set => SetPropertyValue(nameof(SigTime), ref _sigTime, value); } private long _sigFreq; [DisplayName("信号频点")] public long SigFreq { get => _sigFreq; set => SetPropertyValue(nameof(SigFreq), ref _sigFreq, value); } private int _bandWidth; [DisplayName("信号带宽")] public int BandWidth { get => _bandWidth; set => SetPropertyValue(nameof(BandWidth), ref _bandWidth, value); } private DateTime _createTime; [DisplayName("创建时间")] [DisplayFormat(DataFormatString = "yyyy-MM-dd HH:mm:ss")] public DateTime CreateTime { get => _createTime; set => SetPropertyValue(nameof(CreateTime), ref _createTime, value); } } }