TblDatapointVo.java 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. package com.ruoyi.data.domain.vo;
  2. import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
  3. import com.alibaba.excel.annotation.ExcelProperty;
  4. import com.ruoyi.common.annotation.ExcelDictFormat;
  5. import com.ruoyi.common.convert.ExcelDictConvert;
  6. import lombok.Data;
  7. import java.util.Date;
  8. import java.io.Serializable;
  9. /**
  10. * 点位数据视图对象 tbl_datapoint
  11. *
  12. * @author ruoyi
  13. * @date 2023-12-05
  14. */
  15. @Data
  16. @ExcelIgnoreUnannotated
  17. public class TblDatapointVo implements Serializable {
  18. private static final long serialVersionUID = 1L;
  19. /**
  20. *
  21. */
  22. @ExcelProperty(value = "")
  23. private Long id;
  24. /**
  25. * 名称
  26. */
  27. @ExcelProperty(value = "名称")
  28. private String name;
  29. /**
  30. * 设备id
  31. */
  32. @ExcelProperty(value = "设备id")
  33. private Long sensorId;
  34. /**
  35. * 数据类型
  36. */
  37. @ExcelProperty(value = "数据类型")
  38. private Long dataType;
  39. /**
  40. * 从设备号
  41. */
  42. @ExcelProperty(value = "从设备号")
  43. private String slaveDeviceNumber;
  44. /**
  45. * 起始地址
  46. */
  47. @ExcelProperty(value = "起始地址")
  48. private Long addr;
  49. /**
  50. * 起始地址偏移量
  51. */
  52. @ExcelProperty(value = "起始地址偏移量")
  53. private Long addrOffset;
  54. /**
  55. * 待读寄存器的个数
  56. */
  57. @ExcelProperty(value = "待读寄存器的个数")
  58. private Long len;
  59. /**
  60. * 变量类型
  61. */
  62. @ExcelProperty(value = "变量类型")
  63. private String valueType;
  64. /**
  65. * 备注
  66. */
  67. @ExcelProperty(value = "备注")
  68. private String remark;
  69. private String unitName;
  70. private String unitType;
  71. private int toOffset;
  72. }