FlightImportInfo.cs 766 B

12345678910111213141516171819202122232425262728293031
  1. using DataSimulation.Repostory;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace DataSimulation.Forms.Model
  9. {
  10. public class FlightImportInfo
  11. {
  12. public FlightImportInfo(string name,double speed)
  13. {
  14. FlightName = name;
  15. Speed = speed;
  16. flights = new List<FlightInfo>();
  17. }
  18. [Display(Name = "航迹名称")]
  19. public string FlightName { get; set; }
  20. /// <summary>
  21. /// 速度m/s
  22. /// </summary>
  23. [Display(Name = "航迹速度(m/s)")]
  24. public double Speed { get; set; }
  25. public List<FlightInfo> flights { get; set; }
  26. }
  27. }