ImDeviceDatum.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. using Abp.Domain.Entities;
  2. using System;
  3. using System.Collections.Generic;
  4. namespace CodeFirstExistingDatabaseSample.ISMS_BASE.Models
  5. {
  6. public partial class ImDeviceDatum : Entity<string>
  7. {
  8. public ImDeviceDatum()
  9. {
  10. ImCurveItems = new HashSet<ImCurveItem>();
  11. ImDeviceActRules = new HashSet<ImDeviceActRule>();
  12. ImReportCfgData = new HashSet<ImReportCfgDatum>();
  13. }
  14. //public string Id { get; set; } = null!;
  15. public string DeviceId { get; set; } = null!;
  16. public string DataType { get; set; } = null!;
  17. public string DataName { get; set; } = null!;
  18. public int CpuIndex { get; set; }
  19. public int InfoAddr { get; set; }
  20. public int AutoSave { get; set; }
  21. public int Visible { get; set; }
  22. public string? BeiZhu { get; set; }
  23. public string? SrcTempDataId { get; set; }
  24. public string Domain { get; set; } = null!;
  25. public virtual ImProtectDevice Device { get; set; } = null!;
  26. public virtual ImDeviceVa? ImDeviceVa { get; set; }
  27. public virtual ImDeviceYc? ImDeviceYc { get; set; }
  28. public virtual ImDeviceYk? ImDeviceYk { get; set; }
  29. public virtual ImDeviceYm? ImDeviceYm { get; set; }
  30. public virtual ImDeviceYx? ImDeviceYx { get; set; }
  31. public virtual ImSheBeiDeviceDatum? ImSheBeiDeviceDatum { get; set; }
  32. public virtual ICollection<ImCurveItem> ImCurveItems { get; set; }
  33. public virtual ICollection<ImDeviceActRule> ImDeviceActRules { get; set; }
  34. public virtual ICollection<ImReportCfgDatum> ImReportCfgData { get; set; }
  35. }
  36. }