| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- package com.xcgl.dataview.entity;
- import java.io.Serializable;
- import java.util.Date;
- public class SensorLiveTextDto implements Serializable {
- private String device_id;
-
- private String device_code;
-
- private String device_name;
-
- private String sensor_id;
-
- private String sensor_code;
-
- private String sensor_name;
-
- private Double value;
-
- private Date valueTime;
-
- private DeviceStatus status;
- public String getDevice_id() {
- return device_id;
- }
- public void setDevice_id(String device_id) {
- this.device_id = device_id;
- }
- public String getDevice_code() {
- return device_code;
- }
- public void setDevice_code(String device_code) {
- this.device_code = device_code;
- }
- public String getDevice_name() {
- return device_name;
- }
- public void setDevice_name(String device_name) {
- this.device_name = device_name;
- }
- public String getSensor_id() {
- return sensor_id;
- }
- public void setSensor_id(String sensor_id) {
- this.sensor_id = sensor_id;
- }
- public String getSensor_code() {
- return sensor_code;
- }
- public void setSensor_code(String sensor_code) {
- this.sensor_code = sensor_code;
- }
- public String getSensor_name() {
- return sensor_name;
- }
- public void setSensor_name(String sensor_name) {
- this.sensor_name = sensor_name;
- }
- public Double getValue() {
- return value;
- }
- public void setValue(Double value) {
- this.value = value;
- }
- public Date getValueTime() {
- return valueTime;
- }
- public void setValueTime(Date valueTime) {
- this.valueTime = valueTime;
- }
- public DeviceStatus getStatus() {
- return status;
- }
- public void setStatus(DeviceStatus status) {
- this.status = status;
- }
-
-
- public String toString() {
- StringBuffer sb = new StringBuffer();
- sb.append("["+getValueTime()+"] : ");
- sb.append(getSensor_name() + "采集值");
- sb.append("[").append(getValue()).append("]");
- sb.append(" [").append(getStatus().toString()).append("]");
- return sb.toString();
- }
-
-
- }
|