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("TaskInfo")] // 标识数据库创建的表名 public class TaskInfo : BaseModel { [Display(Name = "任务状态", AutoGenerateField = false)] public EnumTaskState TaskState { get; set; } = EnumTaskState.Stopped; [Required] [Display(Name = "任务名称")] public string TaskName { get; set; } [Display(Name = "仿真类型")] public EnumSimulationType SimulationType { get; set; } [Display(Name = "仿真时间")] public DateTime SimulationTime { get; set; } [Display(Name = "主星", AutoGenerateField = false)] public int MainSat { get; set; } [Display(Name = "邻星1", AutoGenerateField = false)] public int? Adja1Sat { get; set; } [Display(Name = "邻星2", AutoGenerateField = false)] public int? Adja2Sat { get; set; } [Display(Name = "天线编号", AutoGenerateField = false)] public long AntID { get; set; } [Display(Name = "参考站编号", AutoGenerateField = false)] public long RefID { get; set; } [Display(Name = "仿真编号", AutoGenerateField = false)] public long SimulationID { get; set; } [Display(Name = "上行频点(Hz)")] public long Freq { get; set; } [Display(Name = "信号带宽(Hz)")] public long Band { get; set; } [Display(Name = "速度(m/s)")] public long Speed { get; set; } } }