EphImportVo.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using Ips.Library.Entity;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.IO;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace Ips.Sps.Ephs
  11. {
  12. public class EphImportVo : INotifyPropertyChanged
  13. {
  14. public EphImportVo(string fullName, EphType ephType, int satNum = 0)
  15. {
  16. EphType = ephType;
  17. FullName = fullName;
  18. FileName = Path.GetFileName(fullName);
  19. SatNum = satNum;
  20. }
  21. public event PropertyChangedEventHandler PropertyChanged;
  22. public int SatNum { get; set; }
  23. [DisplayName("星历类型")]
  24. public EphType EphType { get; set; }
  25. [DisplayName("文件名")]
  26. public string FileName { get; set; }
  27. [Display(AutoGenerateField = false)]
  28. public string FullName { get; set; }
  29. [DisplayName("状态")]
  30. public ImportState State { get; set; }
  31. [DisplayName("消息")]
  32. [Display(AutoGenerateField = false)]
  33. public string Message { get; set; }
  34. }
  35. }