using DataSimulation.Repostory; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Runtime.Remoting.Metadata.W3cXsd2001; using System.Text; using System.Threading.Tasks; namespace DataSimulation.Repostory.Model { /// /// 天线信息 /// [Table("AntInfo")] public class AntInfo : BaseModel { [Display(Name = "天线名称")] public string AntName { get; set; } [Display(Name = "天线经度(°)")] public double AntLon { get; set; } [Display(Name = "天线纬度(°)")] public double AntLat { get; set; } [Display(Name = "天线", AutoGenerateField = false)] public string Ant { get { return $"{AntName}[{AntLon},{AntLat}]°"; } } } }