| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 | using DevExpress.Xpo;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Xml.Linq;namespace Ips.Sps.Ephs{    [Indices("EphId;EphTime")]    public class EphHigh : XPLiteObject    {        public EphHigh(Session session) : base(session)        {        }        private long _id;        [DevExpress.Xpo.Key(true)]        public long Id        {            get => _id;            set => SetPropertyValue(nameof(Id), ref _id, value);        }        private int _ephId;        //[Indexed("EphId;EphTime", Unique = true)]        public int EphId        {            get => _ephId;            set => SetPropertyValue(nameof(EphId), ref _ephId, value);        }        private DateTime _ephTime;        public DateTime EphTime        {            get => _ephTime;            set => SetPropertyValue(nameof(EphTime), ref _ephTime, value);        }        private double _x;        public double X        {            get => _x;            set => SetPropertyValue(nameof(X), ref _x, value);        }        private double _y;        public double Y        {            get => _y;            set => SetPropertyValue(nameof(Y), ref _y, value);        }        private double _z;        public double Z        {            get => _z;            set => SetPropertyValue(nameof(Z), ref _z, value);        }    }}
 |