10 changed files with 501 additions and 50 deletions
@ -0,0 +1,45 @@
|
||||
package com.mh.common.core.domain.dto; |
||||
|
||||
import com.mh.common.core.domain.vo.IndoorTempVO; |
||||
import lombok.Getter; |
||||
import lombok.Setter; |
||||
import org.apache.commons.lang3.builder.ToStringBuilder; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* @author LJF |
||||
* @version 1.0 |
||||
* @project EEMCS |
||||
* @description 响应给前端的室内温湿度监测 |
||||
* @date 2025-03-16 10:58:39 |
||||
*/ |
||||
@Setter |
||||
@Getter |
||||
public class IndoorTempDTO { |
||||
|
||||
private String houseId; |
||||
|
||||
private String houseName; |
||||
|
||||
private int orderNum; |
||||
|
||||
private List<IndoorTempVO> dataList; |
||||
|
||||
public IndoorTempDTO(int orderNum, String houseId, String houseName, List<IndoorTempVO> collect) { |
||||
this.orderNum = orderNum; |
||||
this.houseId = houseId; |
||||
this.houseName = houseName; |
||||
this.dataList = collect; |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
return new ToStringBuilder(this) |
||||
.append("orderNum", orderNum) |
||||
.append("houseId", houseId) |
||||
.append("houseName", houseName) |
||||
.append("dataList", dataList) |
||||
.toString(); |
||||
} |
||||
} |
@ -0,0 +1,23 @@
|
||||
package com.mh.common.core.domain.dto; |
||||
|
||||
import lombok.Getter; |
||||
import lombok.Setter; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* @author LJF |
||||
* @version 1.0 |
||||
* @project EEMCS |
||||
* @description |
||||
* @date 2025-03-16 14:06:30 |
||||
*/ |
||||
@Setter |
||||
@Getter |
||||
public class TempHisRequest { |
||||
|
||||
private String systemType; |
||||
|
||||
private List<String> houseIds; |
||||
|
||||
} |
@ -0,0 +1,35 @@
|
||||
package com.mh.common.core.domain.vo; |
||||
|
||||
import lombok.Getter; |
||||
import lombok.Setter; |
||||
import org.apache.commons.lang3.builder.ToStringBuilder; |
||||
|
||||
import java.math.BigDecimal; |
||||
|
||||
/** |
||||
* @author LJF |
||||
* @version 1.0 |
||||
* @project EEMCS |
||||
* @description 室内温湿度监测 |
||||
* @date 2025-03-16 10:23:00 |
||||
*/ |
||||
@Setter |
||||
@Getter |
||||
public class IndoorTempVO { |
||||
|
||||
private String curTime; |
||||
|
||||
private BigDecimal indoorTemp; |
||||
|
||||
private BigDecimal indoorHumidity; |
||||
|
||||
@Override |
||||
public String toString() { |
||||
return new ToStringBuilder(this) |
||||
.append("curTime", curTime) |
||||
.append("indoorTemp", indoorTemp) |
||||
.append("indoorHumidity", indoorHumidity) |
||||
.toString(); |
||||
} |
||||
|
||||
} |
Loading…
Reference in new issue