using DevExpress.Xpo; using Ips.Library.Entity; using System; namespace Ips.Sps.Ants { public class Ant : XPObject { public Ant() : base() { } public Ant(Session session) : base(session) { } public override void AfterConstruction() { base.AfterConstruction(); } private string _name; [DisplayName("名称")] public string Name { get => _name; set => SetPropertyValue(nameof(Name), ref _name, value); } private string _code; [DisplayName("编码")] [Size(20)] public string Code { get => _code; set => SetPropertyValue(nameof(Code), ref _code, value); } private double _lon; [DisplayName("经度")] public double Lon { get => _lon; set => SetPropertyValue(nameof(Lon), ref _lon, value); } private double _lat; [DisplayName("纬度")] public double Lat { get => _lat; set => SetPropertyValue(nameof(Lat), ref _lat, value); } private double _alt; [DisplayName("高度")] public double Alt { get => _alt; set => SetPropertyValue(nameof(Alt), ref _alt, value); } private string _remark; [DisplayName("备注信息")] [Size(2000)] public string Remark { get => _remark; set => SetPropertyValue(nameof(Remark), ref _remark, value); } } }