12345678910111213141516171819202122232425262728293031323334353637 |
- 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
- {
- /// <summary>
- /// 天线信息
- /// </summary>
- [Table("AntInfo")]
- public class AntInfo : BaseModel<long>
- {
- [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}]°";
- }
- }
- }
- }
|