agent2.0版本数据适配,开发脚本策略接口
This commit is contained in:
@@ -0,0 +1,147 @@
|
||||
package com.ruoyi.rocketmq.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.core.annotation.Excel;
|
||||
import com.ruoyi.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* MPU信息对象 initial_switch_mpu_info
|
||||
*
|
||||
* @author gyt
|
||||
* @date 2025-09-22
|
||||
*/
|
||||
public class InitialSwitchMpuInfo extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 主键ID */
|
||||
private Long id;
|
||||
|
||||
/** MPU索引 */
|
||||
@Excel(name = "MPU索引")
|
||||
private String mpuEntIndex;
|
||||
|
||||
/** MPU名称 */
|
||||
@Excel(name = "MPU名称")
|
||||
private String mpuName;
|
||||
|
||||
/** MPU的CPU使用率(%) */
|
||||
@Excel(name = "MPU的CPU使用率(%)")
|
||||
private BigDecimal mpuEntityCpuUsage;
|
||||
|
||||
/** MPU的内存使用率(%) */
|
||||
@Excel(name = "MPU的内存使用率(%)")
|
||||
private BigDecimal mpuEntityMemUsage;
|
||||
|
||||
/** MPU的操作系统 */
|
||||
@Excel(name = "MPU的操作系统")
|
||||
private String mpuPhysicalSoftwareRev;
|
||||
|
||||
/** MPU的温度(℃) */
|
||||
@Excel(name = "MPU的温度(℃)")
|
||||
private BigDecimal mpuEntityTemperature;
|
||||
|
||||
/** 客户端ID */
|
||||
@Excel(name = "客户端ID")
|
||||
private String clientId;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setMpuEntIndex(String mpuEntIndex)
|
||||
{
|
||||
this.mpuEntIndex = mpuEntIndex;
|
||||
}
|
||||
|
||||
public String getMpuEntIndex()
|
||||
{
|
||||
return mpuEntIndex;
|
||||
}
|
||||
|
||||
public void setMpuName(String mpuName)
|
||||
{
|
||||
this.mpuName = mpuName;
|
||||
}
|
||||
|
||||
public String getMpuName()
|
||||
{
|
||||
return mpuName;
|
||||
}
|
||||
|
||||
public void setMpuEntityCpuUsage(BigDecimal mpuEntityCpuUsage)
|
||||
{
|
||||
this.mpuEntityCpuUsage = mpuEntityCpuUsage;
|
||||
}
|
||||
|
||||
public BigDecimal getMpuEntityCpuUsage()
|
||||
{
|
||||
return mpuEntityCpuUsage;
|
||||
}
|
||||
|
||||
public void setMpuEntityMemUsage(BigDecimal mpuEntityMemUsage)
|
||||
{
|
||||
this.mpuEntityMemUsage = mpuEntityMemUsage;
|
||||
}
|
||||
|
||||
public BigDecimal getMpuEntityMemUsage()
|
||||
{
|
||||
return mpuEntityMemUsage;
|
||||
}
|
||||
|
||||
public void setMpuPhysicalSoftwareRev(String mpuPhysicalSoftwareRev)
|
||||
{
|
||||
this.mpuPhysicalSoftwareRev = mpuPhysicalSoftwareRev;
|
||||
}
|
||||
|
||||
public String getMpuPhysicalSoftwareRev()
|
||||
{
|
||||
return mpuPhysicalSoftwareRev;
|
||||
}
|
||||
|
||||
public void setMpuEntityTemperature(BigDecimal mpuEntityTemperature)
|
||||
{
|
||||
this.mpuEntityTemperature = mpuEntityTemperature;
|
||||
}
|
||||
|
||||
public BigDecimal getMpuEntityTemperature()
|
||||
{
|
||||
return mpuEntityTemperature;
|
||||
}
|
||||
|
||||
public void setClientId(String clientId)
|
||||
{
|
||||
this.clientId = clientId;
|
||||
}
|
||||
|
||||
public String getClientId()
|
||||
{
|
||||
return clientId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("mpuEntIndex", getMpuEntIndex())
|
||||
.append("mpuName", getMpuName())
|
||||
.append("mpuEntityCpuUsage", getMpuEntityCpuUsage())
|
||||
.append("mpuEntityMemUsage", getMpuEntityMemUsage())
|
||||
.append("mpuPhysicalSoftwareRev", getMpuPhysicalSoftwareRev())
|
||||
.append("mpuEntityTemperature", getMpuEntityTemperature())
|
||||
.append("clientId", getClientId())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user