AdChannelViewModel.cs 954 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. using DW5S.Entity;
  2. using System.ComponentModel.DataAnnotations;
  3. namespace DW5S.ViewModel
  4. {
  5. public class AdChannelViewModel : BaseViewModel<int>
  6. {
  7. public AdChannelViewModel() : base()
  8. {
  9. this.Enable = true;
  10. }
  11. [Display(Name = "站点编号", AutoGenerateField = false)]
  12. public int AdCardID { get; set; }
  13. /// <summary>
  14. /// 通道号
  15. /// </summary>
  16. [Display(Name = "通道号")]
  17. public int ChNum { get; set; }
  18. /// <summary>
  19. /// 中心频点(MHz)
  20. /// </summary>
  21. [Display(Name = "中心频点(MHz)")]
  22. public double CenterFreq { get; set; }
  23. [Display(Name = "对应卫星")]
  24. public int SatInfoID { get; set; }
  25. [Display(Name = "对应天线")]
  26. public int TxInfoID { get; set; }
  27. [Display(Name = "通道启用状态")]
  28. public bool Enable { get; set; }
  29. }
  30. }