ImProtectDevice.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System;
  2. using System.Collections.Generic;
  3. namespace CodeFirstExistingDatabaseSample.ISMS_BASE.Models
  4. {
  5. public partial class ImProtectDevice
  6. {
  7. public ImProtectDevice()
  8. {
  9. ImDeviceData = new HashSet<ImDeviceDatum>();
  10. ImDeviceDzs = new HashSet<ImDeviceDz>();
  11. ImOnlineAnalyses = new HashSet<ImOnlineAnalysis>();
  12. }
  13. public string DeviceId { get; set; } = null!;
  14. public int DeviceAddr { get; set; }
  15. public string DeviceName { get; set; } = null!;
  16. public string StatCode { get; set; } = null!;
  17. public string GateWayId { get; set; } = null!;
  18. public string? BayName { get; set; }
  19. public int? DeviceState { get; set; }
  20. public int PuctgyCode { get; set; }
  21. public int CanSwDzzone { get; set; }
  22. public int Support12yc { get; set; }
  23. public int SupportVersion { get; set; }
  24. public int SupportDkjl { get; set; }
  25. public int? StartOfDkjl { get; set; }
  26. public int? EndOfDkjl { get; set; }
  27. public string? DeviceType { get; set; }
  28. public virtual ImGateWay GateWay { get; set; } = null!;
  29. public virtual ImPuCtgy PuctgyCodeNavigation { get; set; } = null!;
  30. public virtual ImStation StatCodeNavigation { get; set; } = null!;
  31. public virtual ImFltDistDevice? ImFltDistDevice { get; set; }
  32. public virtual ImSheBeiProtDevice? ImSheBeiProtDevice { get; set; }
  33. public virtual ICollection<ImDeviceDatum> ImDeviceData { get; set; }
  34. public virtual ICollection<ImDeviceDz> ImDeviceDzs { get; set; }
  35. public virtual ICollection<ImOnlineAnalysis> ImOnlineAnalyses { get; set; }
  36. }
  37. }