mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-19 17:35:54 +08:00
[update] 支持通过小程序下发自定义命令,优化管理员可彻底删除页面功能
This commit is contained in:
@@ -0,0 +1,335 @@
|
||||
/******************************************************************************
|
||||
* 作者:kerwincui
|
||||
* 时间:2021-06-08
|
||||
* 邮箱:164770707@qq.com
|
||||
* 源码地址:https://gitee.com/kerwincui/wumei-smart
|
||||
* author: kerwincui
|
||||
* create: 2021-06-08
|
||||
* email:164770707@qq.com
|
||||
* source:https://github.com/kerwincui/wumei-smart
|
||||
******************************************************************************/
|
||||
package com.ruoyi.system.domain;
|
||||
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 设备状态对象 iot_device_status
|
||||
*
|
||||
* @author kerwincui
|
||||
* @date 2021-05-06
|
||||
*/
|
||||
public class IotDeviceCmd extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 序号
|
||||
*/
|
||||
private Long deviceStatusId;
|
||||
|
||||
/**
|
||||
* 设备
|
||||
*/
|
||||
@Excel(name = "设备")
|
||||
private Long deviceId;
|
||||
|
||||
/**
|
||||
* 设备编号
|
||||
*/
|
||||
@Excel(name = "设备编号")
|
||||
private String deviceNum;
|
||||
|
||||
/**
|
||||
* 继电器
|
||||
*/
|
||||
@Excel(name = "继电器")
|
||||
private Integer relayStatus;
|
||||
|
||||
/**
|
||||
* 灯状态
|
||||
*/
|
||||
@Excel(name = "灯状态")
|
||||
private Integer lightStatus;
|
||||
|
||||
/**
|
||||
* 在线
|
||||
*/
|
||||
@Excel(name = "在线")
|
||||
private Integer isOnline;
|
||||
|
||||
/**
|
||||
* 设备温度
|
||||
*/
|
||||
@Excel(name = "设备温度")
|
||||
private BigDecimal deviceTemperature;
|
||||
|
||||
/**
|
||||
* 设备湿度
|
||||
*/
|
||||
@Excel(name = "信号")
|
||||
private Integer rssi;
|
||||
|
||||
/**
|
||||
* 空气温度
|
||||
*/
|
||||
@Excel(name = "空气温度")
|
||||
private BigDecimal airTemperature;
|
||||
|
||||
/**
|
||||
* 空气湿度
|
||||
*/
|
||||
@Excel(name = "空气湿度")
|
||||
private BigDecimal airHumidity;
|
||||
|
||||
/**
|
||||
* 触发源
|
||||
*/
|
||||
@Excel(name = "触发源")
|
||||
private Integer triggerSource;
|
||||
|
||||
/**
|
||||
* 彩灯亮度
|
||||
*/
|
||||
@Excel(name = "彩灯亮度")
|
||||
private Integer brightness;
|
||||
|
||||
/**
|
||||
* 渐变间隔
|
||||
*/
|
||||
@Excel(name = "渐变间隔")
|
||||
private Integer lightInterval;
|
||||
|
||||
/**
|
||||
* 彩灯模式
|
||||
*/
|
||||
@Excel(name = "彩灯模式")
|
||||
private Integer lightMode;
|
||||
|
||||
/**
|
||||
* 灯渐变时间
|
||||
*/
|
||||
@Excel(name = "渐变时间")
|
||||
private Integer fadeTime;
|
||||
|
||||
/**
|
||||
* 红灯
|
||||
*/
|
||||
@Excel(name = "红灯")
|
||||
private Long red;
|
||||
|
||||
/**
|
||||
* 绿灯
|
||||
*/
|
||||
@Excel(name = "绿灯")
|
||||
private Long green;
|
||||
|
||||
/**
|
||||
* 蓝灯
|
||||
*/
|
||||
@Excel(name = "蓝灯")
|
||||
private Long blue;
|
||||
|
||||
/**
|
||||
* 删除标志(0代表存在 2代表删除)
|
||||
*/
|
||||
private String delFlag;
|
||||
|
||||
/**
|
||||
* 控制命令
|
||||
*/
|
||||
private String cmd;
|
||||
|
||||
public String getCmd() {
|
||||
return cmd;
|
||||
}
|
||||
|
||||
public void setCmd(String cmd) {
|
||||
this.cmd = cmd;
|
||||
}
|
||||
|
||||
public void setDeviceStatusId(Long deviceStatusId) {
|
||||
this.deviceStatusId = deviceStatusId;
|
||||
}
|
||||
|
||||
public Long getDeviceStatusId() {
|
||||
return deviceStatusId;
|
||||
}
|
||||
|
||||
public void setDeviceId(Long deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public Long getDeviceId() {
|
||||
return deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceNum(String deviceNum) {
|
||||
this.deviceNum = deviceNum;
|
||||
}
|
||||
|
||||
public String getDeviceNum() {
|
||||
return deviceNum;
|
||||
}
|
||||
|
||||
public void setRelayStatus(Integer relayStatus) {
|
||||
this.relayStatus = relayStatus;
|
||||
}
|
||||
|
||||
public Integer getRelayStatus() {
|
||||
return relayStatus;
|
||||
}
|
||||
|
||||
public void setLightStatus(Integer lightStatus) {
|
||||
this.lightStatus = lightStatus;
|
||||
}
|
||||
|
||||
public Integer getLightStatus() {
|
||||
return lightStatus;
|
||||
}
|
||||
|
||||
public void setIsOnline(Integer isOnline) {
|
||||
this.isOnline = isOnline;
|
||||
}
|
||||
|
||||
public Integer getIsOnline() {
|
||||
return isOnline;
|
||||
}
|
||||
|
||||
public void setDeviceTemperature(BigDecimal deviceTemperature) {
|
||||
this.deviceTemperature = deviceTemperature;
|
||||
}
|
||||
|
||||
public BigDecimal getDeviceTemperature() {
|
||||
return deviceTemperature;
|
||||
}
|
||||
|
||||
public void setRssi(Integer rssi) {
|
||||
this.rssi = rssi;
|
||||
}
|
||||
|
||||
public Integer getRssi() {
|
||||
return rssi;
|
||||
}
|
||||
|
||||
public void setAirTemperature(BigDecimal airTemperature) {
|
||||
this.airTemperature = airTemperature;
|
||||
}
|
||||
|
||||
public BigDecimal getAirTemperature() {
|
||||
return airTemperature;
|
||||
}
|
||||
|
||||
public void setAirHumidity(BigDecimal airHumidity) {
|
||||
this.airHumidity = airHumidity;
|
||||
}
|
||||
|
||||
public BigDecimal getAirHumidity() {
|
||||
return airHumidity;
|
||||
}
|
||||
|
||||
public void setTriggerSource(Integer triggerSource) {
|
||||
this.triggerSource = triggerSource;
|
||||
}
|
||||
|
||||
public Integer getTriggerSource() {
|
||||
return triggerSource;
|
||||
}
|
||||
|
||||
public void setBrightness(Integer brightness) {
|
||||
this.brightness = brightness;
|
||||
}
|
||||
|
||||
public Integer getBrightness() {
|
||||
return brightness;
|
||||
}
|
||||
|
||||
public void setLightInterval(Integer lightInterval) {
|
||||
this.lightInterval = lightInterval;
|
||||
}
|
||||
|
||||
public Integer getLightInterval() {
|
||||
return lightInterval;
|
||||
}
|
||||
|
||||
public void setLightMode(Integer lightMode) {
|
||||
this.lightMode = lightMode;
|
||||
}
|
||||
|
||||
public Integer getLightMode() {
|
||||
return lightMode;
|
||||
}
|
||||
|
||||
public void setRed(Long red) {
|
||||
this.red = red;
|
||||
}
|
||||
|
||||
public Long getRed() {
|
||||
return red;
|
||||
}
|
||||
|
||||
public void setGreen(Long green) {
|
||||
this.green = green;
|
||||
}
|
||||
|
||||
public Long getGreen() {
|
||||
return green;
|
||||
}
|
||||
|
||||
public void setBlue(Long blue) {
|
||||
this.blue = blue;
|
||||
}
|
||||
|
||||
public Long getBlue() {
|
||||
return blue;
|
||||
}
|
||||
|
||||
public void setDelFlag(String delFlag) {
|
||||
this.delFlag = delFlag;
|
||||
}
|
||||
|
||||
public void setFadeTime(Integer fadeTime) {
|
||||
this.fadeTime = fadeTime;
|
||||
}
|
||||
|
||||
public Integer getFadeTime() {
|
||||
return fadeTime;
|
||||
}
|
||||
|
||||
public String getDelFlag() {
|
||||
return delFlag;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("deviceStatusId", getDeviceStatusId())
|
||||
.append("deviceId", getDeviceId())
|
||||
.append("deviceNum", getDeviceNum())
|
||||
.append("relayStatus", getRelayStatus())
|
||||
.append("lightStatus", getLightStatus())
|
||||
.append("isOnline", getIsOnline())
|
||||
.append("deviceTemperature", getDeviceTemperature())
|
||||
.append("rssid", getRssi())
|
||||
.append("airTemperature", getAirTemperature())
|
||||
.append("airHumidity", getAirHumidity())
|
||||
.append("triggerSource", getTriggerSource())
|
||||
.append("brightness", getBrightness())
|
||||
.append("lightInterval", getLightInterval())
|
||||
.append("lightMode", getLightMode())
|
||||
.append("fadeTime", getFadeTime())
|
||||
.append("red", getRed())
|
||||
.append("green", getGreen())
|
||||
.append("blue", getBlue())
|
||||
.append("delFlag", getDelFlag())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user