| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- 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);
- }
- }
- }
|