TblDatapointVo.java 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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 deviceId;
  34. /**
  35. * 数据类型
  36. */
  37. @ExcelProperty(value = "数据类型")
  38. private String 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. }