Initial commit: reorganized source tree

- backend/: 13 Maven modules (cw-elevator-application, cloudwalk-cloud, intelligent-cwoscomponent, ninca-crk, etc.)
- frontend/: 4 Vue projects (elevator-front, cwos-portal, alarm-front, front_acs) + decompiled + scripts
- scripts/: build, test-env, tools (Docker Compose, service templates, API parity)
- docs/: AGENTS.md, superpowers specs, architecture docs
- .gitignore: standard Java/Maven exclusions

Moved from legacy maven-*/ root layout to backend/ organized structure.
This commit is contained in:
hpd840321
2026-05-09 09:00:12 +08:00
commit 7b2bd307f1
7260 changed files with 612980 additions and 0 deletions
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>cn.cloudwalk.cloud</groupId>
<artifactId>cloudwalk-device-manager</artifactId>
<version>2.0.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>cloudwalk-device-manager-common</artifactId>
<packaging>jar</packaging>
<name>cloudwalk-device-manager-common</name>
<dependencies>
<dependency>
<groupId>cn.cloudwalk.cloud</groupId>
<artifactId>cloudwalk-common-result</artifactId>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
</dependency>
</dependencies>
</project>
@@ -0,0 +1,26 @@
package cn.cloudwalk.common.device.bean.device.dto;
import java.io.Serializable;
import java.util.List;
public class DeviceAttrDeltDTO implements Serializable {
private static final long serialVersionUID = 7532219742072618468L;
private String deviceId;
private List<String> ids;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
}
@@ -0,0 +1,70 @@
package cn.cloudwalk.common.device.bean.device.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceAttrEditDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -5488036695068583600L;
private String deviceTypeId;
private String deviceId;
private String commandCode;
private String attrCode;
private String attrDisplay;
private String attrValue;
private Integer orderBy;
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getCommandCode() {
return this.commandCode;
}
public void setCommandCode(String commandCode) {
this.commandCode = commandCode;
}
public String getAttrCode() {
return this.attrCode;
}
public void setAttrCode(String attrCode) {
this.attrCode = attrCode;
}
public String getAttrDisplay() {
return this.attrDisplay;
}
public void setAttrDisplay(String attrDisplay) {
this.attrDisplay = attrDisplay;
}
public String getAttrValue() {
return this.attrValue;
}
public void setAttrValue(String attrValue) {
this.attrValue = attrValue;
}
public Integer getOrderBy() {
return this.orderBy;
}
public void setOrderBy(Integer orderBy) {
this.orderBy = orderBy;
}
}
@@ -0,0 +1,17 @@
package cn.cloudwalk.common.device.bean.device.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
import java.util.List;
public class DeviceAttrGetsDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = 4291055216656240573L;
private List<String> deviceIds;
public List<String> getDeviceIds() {
return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
this.deviceIds = deviceIds;
}
}
@@ -0,0 +1,43 @@
package cn.cloudwalk.common.device.bean.device.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceAttrQueryDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = 4291055216656240573L;
private String deviceId;
private String commandCode;
private String attrCode;
private String deviceTypeId;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getCommandCode() {
return this.commandCode;
}
public void setCommandCode(String commandCode) {
this.commandCode = commandCode;
}
public String getAttrCode() {
return this.attrCode;
}
public void setAttrCode(String attrCode) {
this.attrCode = attrCode;
}
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
}
@@ -0,0 +1,70 @@
package cn.cloudwalk.common.device.bean.device.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceAttrResultDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = 8188846432568002619L;
private String attrCode;
private String commandCode;
private String attrDisplay;
private String attrValue;
private String deviceId;
private String deviceTypeId;
private Integer orderBy;
public String getAttrCode() {
return this.attrCode;
}
public void setAttrCode(String attrCode) {
this.attrCode = attrCode;
}
public String getCommandCode() {
return this.commandCode;
}
public void setCommandCode(String commandCode) {
this.commandCode = commandCode;
}
public String getAttrDisplay() {
return this.attrDisplay;
}
public void setAttrDisplay(String attrDisplay) {
this.attrDisplay = attrDisplay;
}
public String getAttrValue() {
return this.attrValue;
}
public void setAttrValue(String attrValue) {
this.attrValue = attrValue;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public Integer getOrderBy() {
return this.orderBy;
}
public void setOrderBy(Integer orderBy) {
this.orderBy = orderBy;
}
}
@@ -0,0 +1,17 @@
package cn.cloudwalk.common.device.bean.device.dto;
import java.io.Serializable;
import java.util.List;
public class DeviceDeleteDTO implements Serializable {
private static final long serialVersionUID = 4291055216656240573L;
private List<String> ids;
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
}
@@ -0,0 +1,169 @@
package cn.cloudwalk.common.device.bean.device.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceEditDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = 119541598673489550L;
private String applicationId;
private String serviceCode;
private String businessId;
private String crowServiceId;
private String custId;
private String deviceCode;
private String parentCode;
private String deviceModel;
private String deviceName;
private String deviceGroupId;
private String deviceTypeId;
private String latitude;
private String longitude;
private String altitude;
private Long lastPositionTime;
private Long lastHeartbeatTime;
private Short status;
private String remark;
public String getApplicationId() {
return this.applicationId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
public String getBusinessId() {
return this.businessId;
}
public void setBusinessId(String businessId) {
this.businessId = businessId;
}
public String getCrowServiceId() {
return this.crowServiceId;
}
public void setCrowServiceId(String crowServiceId) {
this.crowServiceId = crowServiceId;
}
public String getCustId() {
return this.custId;
}
public void setCustId(String custId) {
this.custId = custId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public String getDeviceModel() {
return this.deviceModel;
}
public void setDeviceModel(String deviceModel) {
this.deviceModel = deviceModel;
}
public String getDeviceName() {
return this.deviceName;
}
public void setDeviceName(String deviceName) {
this.deviceName = deviceName;
}
public String getDeviceGroupId() {
return this.deviceGroupId;
}
public void setDeviceGroupId(String deviceGroupId) {
this.deviceGroupId = deviceGroupId;
}
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public String getLatitude() {
return this.latitude;
}
public void setLatitude(String latitude) {
this.latitude = latitude;
}
public String getLongitude() {
return this.longitude;
}
public void setLongitude(String longitude) {
this.longitude = longitude;
}
public Long getLastPositionTime() {
return this.lastPositionTime;
}
public void setLastPositionTime(Long lastPositionTime) {
this.lastPositionTime = lastPositionTime;
}
public Long getLastHeartbeatTime() {
return this.lastHeartbeatTime;
}
public void setLastHeartbeatTime(Long lastHeartbeatTime) {
this.lastHeartbeatTime = lastHeartbeatTime;
}
public Short getStatus() {
return this.status;
}
public void setStatus(Short status) {
this.status = status;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public String getParentCode() {
return this.parentCode;
}
public void setParentCode(String parentCode) {
this.parentCode = parentCode;
}
public String getAltitude() {
return this.altitude;
}
public void setAltitude(String altitude) {
this.altitude = altitude;
}
}
@@ -0,0 +1,44 @@
package cn.cloudwalk.common.device.bean.device.dto;
import java.io.Serializable;
import java.util.List;
public class DeviceGetsDTO implements Serializable {
private static final long serialVersionUID = -2921717570593806012L;
private String applicationId;
private String serviceCode;
private String businessId;
private List<String> ids;
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
public String getApplicationId() {
return this.applicationId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public String getBusinessId() {
return this.businessId;
}
public void setBusinessId(String businessId) {
this.businessId = businessId;
}
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
}
@@ -0,0 +1,35 @@
package cn.cloudwalk.common.device.bean.device.dto;
import java.io.Serializable;
import java.util.List;
public class DeviceInGroupDTO implements Serializable {
private static final long serialVersionUID = -4459032093856725871L;
private String applicationId;
private String serviceCode;
private List<String> deviceGroupIds;
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
public String getApplicationId() {
return this.applicationId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public List<String> getDeviceGroupIds() {
return this.deviceGroupIds;
}
public void setDeviceGroupIds(List<String> deviceGroupIds) {
this.deviceGroupIds = deviceGroupIds;
}
}
@@ -0,0 +1,177 @@
package cn.cloudwalk.common.device.bean.device.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
import java.util.List;
public class DeviceQueryDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -8810015855541368017L;
private String deviceCode;
private String parentCode;
private List<String> deviceCodes;
private String deviceModel;
private String deviceName;
private String applicationId;
private String serviceCode;
private String businessId;
private String custId;
private List<String> custIds;
private String deviceGroupId;
private String deviceTypeId;
private Short status;
private List<String> deviceTypeIds;
private List<String> crowServiceIds;
private Long lastHeartTimeBeginTime;
private Long lastHeartTimeEndTime;
private List<String> deviceGroupIds;
public DeviceQueryDTO() {
}
public DeviceQueryDTO(List<String> deviceTypeIds) {
setDeviceTypeIds(deviceTypeIds);
}
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public String getDeviceModel() {
return this.deviceModel;
}
public void setDeviceModel(String deviceModel) {
this.deviceModel = deviceModel;
}
public String getDeviceName() {
return this.deviceName;
}
public void setDeviceName(String deviceName) {
this.deviceName = deviceName;
}
public String getApplicationId() {
return this.applicationId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public String getBusinessId() {
return this.businessId;
}
public void setBusinessId(String businessId) {
this.businessId = businessId;
}
public String getCustId() {
return this.custId;
}
public void setCustId(String custId) {
this.custId = custId;
}
public List<String> getCustIds() {
return this.custIds;
}
public void setCustIds(List<String> custIds) {
this.custIds = custIds;
}
public List<String> getCrowServiceIds() {
return this.crowServiceIds;
}
public void setCrowServiceIds(List<String> crowServiceIds) {
this.crowServiceIds = crowServiceIds;
}
public String getDeviceGroupId() {
return this.deviceGroupId;
}
public void setDeviceGroupId(String deviceGroupId) {
this.deviceGroupId = deviceGroupId;
}
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public List<String> getDeviceTypeIds() {
return this.deviceTypeIds;
}
public void setDeviceTypeIds(List<String> deviceTypeIds) {
this.deviceTypeIds = deviceTypeIds;
}
public Short getStatus() {
return this.status;
}
public void setStatus(Short status) {
this.status = status;
}
public Long getLastHeartTimeBeginTime() {
return this.lastHeartTimeBeginTime;
}
public void setLastHeartTimeBeginTime(Long lastHeartTimeBeginTime) {
this.lastHeartTimeBeginTime = lastHeartTimeBeginTime;
}
public Long getLastHeartTimeEndTime() {
return this.lastHeartTimeEndTime;
}
public void setLastHeartTimeEndTime(Long lastHeartTimeEndTime) {
this.lastHeartTimeEndTime = lastHeartTimeEndTime;
}
public List<String> getDeviceCodes() {
return this.deviceCodes;
}
public void setDeviceCodes(List<String> deviceCodes) {
this.deviceCodes = deviceCodes;
}
public List<String> getDeviceGroupIds() {
return this.deviceGroupIds;
}
public void setDeviceGroupIds(List<String> deviceGroupIds) {
this.deviceGroupIds = deviceGroupIds;
}
public String getParentCode() {
return this.parentCode;
}
public void setParentCode(String parentCode) {
this.parentCode = parentCode;
}
}
@@ -0,0 +1,169 @@
package cn.cloudwalk.common.device.bean.device.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceResultDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -2916997451783405867L;
private String deviceCode;
private String parentCode;
private String deviceModel;
private String deviceName;
private String applicationId;
private String serviceCode;
private String businessId;
private String deviceGroupId;
private String deviceTypeId;
private Integer status;
private String crowServiceId;
private String custId;
private String latitude;
private String longitude;
private String altitude;
private Long lastPositionTime;
private Long lastHeartbeatTime;
private String remark;
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
public String getDeviceCode() {
return this.deviceCode;
}
public String getDeviceModel() {
return this.deviceModel;
}
public String getDeviceName() {
return this.deviceName;
}
public String getApplicationId() {
return this.applicationId;
}
public String getBusinessId() {
return this.businessId;
}
public String getDeviceGroupId() {
return this.deviceGroupId;
}
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public Integer getStatus() {
return this.status;
}
public String getCrowServiceId() {
return this.crowServiceId;
}
public String getCustId() {
return this.custId;
}
public Long getLastHeartbeatTime() {
return this.lastHeartbeatTime;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public void setDeviceModel(String deviceModel) {
this.deviceModel = deviceModel;
}
public void setDeviceName(String deviceName) {
this.deviceName = deviceName;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public void setBusinessId(String businessId) {
this.businessId = businessId;
}
public void setDeviceGroupId(String deviceGroupId) {
this.deviceGroupId = deviceGroupId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public void setStatus(Integer status) {
this.status = status;
}
public void setCrowServiceId(String crowServiceId) {
this.crowServiceId = crowServiceId;
}
public void setCustId(String custId) {
this.custId = custId;
}
public void setLastHeartbeatTime(Long lastHeartbeatTime) {
this.lastHeartbeatTime = lastHeartbeatTime;
}
public String getLatitude() {
return this.latitude;
}
public void setLatitude(String latitude) {
this.latitude = latitude;
}
public String getLongitude() {
return this.longitude;
}
public void setLongitude(String longitude) {
this.longitude = longitude;
}
public Long getLastPositionTime() {
return this.lastPositionTime;
}
public void setLastPositionTime(Long lastPositionTime) {
this.lastPositionTime = lastPositionTime;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public String getParentCode() {
return this.parentCode;
}
public void setParentCode(String parentCode) {
this.parentCode = parentCode;
}
public String getAltitude() {
return this.altitude;
}
public void setAltitude(String altitude) {
this.altitude = altitude;
}
}
@@ -0,0 +1,53 @@
package cn.cloudwalk.common.device.bean.device.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
import java.util.List;
public class DeviceStatusDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -8554490421352274975L;
private String applicationId;
private String serviceCode;
private List<String> ids;
private String businessId;
private Short status;
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
public String getApplicationId() {
return this.applicationId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
public String getBusinessId() {
return this.businessId;
}
public void setBusinessId(String businessId) {
this.businessId = businessId;
}
public Short getStatus() {
return this.status;
}
public void setStatus(Short status) {
this.status = status;
}
}
@@ -0,0 +1,44 @@
package cn.cloudwalk.common.device.bean.group.dto;
import java.io.Serializable;
import java.util.List;
public class DeviceGroupDeltDTO implements Serializable {
private static final long serialVersionUID = 2242182134134213630L;
private String applicationId;
private String serviceCode;
private List<String> ids;
private String custId;
public String getApplicationId() {
return this.applicationId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
public String getCustId() {
return this.custId;
}
public void setCustId(String custId) {
this.custId = custId;
}
}
@@ -0,0 +1,70 @@
package cn.cloudwalk.common.device.bean.group.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceGroupEditDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -3080305257082849370L;
private String applicationId;
private String serviceCode;
private String custId;
private String groupCode;
private String groupName;
private String nodeId;
private String remark;
public String getApplicationId() {
return this.applicationId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
public String getCustId() {
return this.custId;
}
public void setCustId(String custId) {
this.custId = custId;
}
public String getGroupCode() {
return this.groupCode;
}
public void setGroupCode(String groupCode) {
this.groupCode = groupCode;
}
public String getGroupName() {
return this.groupName;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
}
public String getNodeId() {
return this.nodeId;
}
public void setNodeId(String nodeId) {
this.nodeId = nodeId;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
}
@@ -0,0 +1,44 @@
package cn.cloudwalk.common.device.bean.group.dto;
import java.io.Serializable;
import java.util.List;
public class DeviceGroupGetsDTO implements Serializable {
private static final long serialVersionUID = -4946078252471693189L;
private String applicationId;
private String serviceCode;
private List<String> ids;
private String custId;
public String getApplicationId() {
return this.applicationId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
public String getCustId() {
return this.custId;
}
public void setCustId(String custId) {
this.custId = custId;
}
}
@@ -0,0 +1,61 @@
package cn.cloudwalk.common.device.bean.group.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBasePeriod;
public class DeviceGroupQueryDTO extends CloudwalkBasePeriod {
private static final long serialVersionUID = -1353911852214721671L;
private String applicationId;
private String serviceCode;
private String groupCode;
private String groupName;
private String custId;
private String nodeId;
public String getApplicationId() {
return this.applicationId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
public String getGroupCode() {
return this.groupCode;
}
public void setGroupCode(String groupCode) {
this.groupCode = groupCode;
}
public String getGroupName() {
return this.groupName;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
}
public String getCustId() {
return this.custId;
}
public void setCustId(String custId) {
this.custId = custId;
}
public String getNodeId() {
return this.nodeId;
}
public void setNodeId(String nodeId) {
this.nodeId = nodeId;
}
}
@@ -0,0 +1,70 @@
package cn.cloudwalk.common.device.bean.group.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceGroupResultDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = 9222437812227606075L;
private String applicationId;
private String serviceCode;
private String groupCode;
private String groupName;
private String custId;
private String nodeId;
private String remark;
public String getApplicationId() {
return this.applicationId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
public String getGroupCode() {
return this.groupCode;
}
public void setGroupCode(String groupCode) {
this.groupCode = groupCode;
}
public String getGroupName() {
return this.groupName;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
}
public String getCustId() {
return this.custId;
}
public void setCustId(String custId) {
this.custId = custId;
}
public String getNodeId() {
return this.nodeId;
}
public void setNodeId(String nodeId) {
this.nodeId = nodeId;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
}
@@ -0,0 +1,44 @@
package cn.cloudwalk.common.device.bean.group.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
import java.util.List;
public class DevicesAndGroupDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = 1191366313600834800L;
private List<String> ids;
private String deviceGroupId;
private String serviceCode;
private String applicationId;
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
public String getDeviceGroupId() {
return this.deviceGroupId;
}
public void setDeviceGroupId(String deviceGroupId) {
this.deviceGroupId = deviceGroupId;
}
public String getApplicationId() {
return this.applicationId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
}
@@ -0,0 +1,38 @@
package cn.cloudwalk.common.device.bean.health.dto;
import java.io.Serializable;
public class DeviceBaseDeltDTO implements Serializable {
private static final long serialVersionUID = 1108100822726258384L;
private String deviceId;
private String deviceCode;
private Long reportTime;
public static long getSerialversionuid() {
return 1108100822726258384L;
}
public String getDeviceId() {
return this.deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public Long getReportTime() {
return this.reportTime;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public void setReportTime(Long reportTime) {
this.reportTime = reportTime;
}
}
@@ -0,0 +1,115 @@
package cn.cloudwalk.common.device.bean.health.dto;
import java.io.Serializable;
public class DeviceCpuDTO implements Serializable {
private static final long serialVersionUID = -6318524975099901695L;
private String id;
private String logId;
private String deviceId;
private String deviceCode;
private String cpuName;
private Integer numberOfProcessors;
private Integer processorArchitecture;
private Integer processorType;
private Integer cpuRatio;
private Long runTime;
private Long reportTime;
private Integer temperature;
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public String getCpuName() {
return this.cpuName;
}
public void setCpuName(String cpuName) {
this.cpuName = cpuName;
}
public Integer getNumberOfProcessors() {
return this.numberOfProcessors;
}
public void setNumberOfProcessors(Integer numberOfProcessors) {
this.numberOfProcessors = numberOfProcessors;
}
public Integer getProcessorArchitecture() {
return this.processorArchitecture;
}
public void setProcessorArchitecture(Integer processorArchitecture) {
this.processorArchitecture = processorArchitecture;
}
public Integer getProcessorType() {
return this.processorType;
}
public void setProcessorType(Integer processorType) {
this.processorType = processorType;
}
public Integer getCpuRatio() {
return this.cpuRatio;
}
public void setCpuRatio(Integer cpuRatio) {
this.cpuRatio = cpuRatio;
}
public Long getRunTime() {
return this.runTime;
}
public void setRunTime(Long runTime) {
this.runTime = runTime;
}
public Long getReportTime() {
return this.reportTime;
}
public void setReportTime(Long reportTime) {
this.reportTime = reportTime;
}
public Integer getTemperature() {
return this.temperature;
}
public void setTemperature(Integer temperature) {
this.temperature = temperature;
}
}
@@ -0,0 +1,97 @@
package cn.cloudwalk.common.device.bean.health.dto;
import java.io.Serializable;
public class DeviceCpuResultDTO implements Serializable {
private static final long serialVersionUID = -3397842969194037972L;
private String id;
private String deviceId;
private String deviceCode;
private String cpuName;
private Integer numberOfProcessors;
private Integer processorArchitecture;
private Integer processorType;
private Integer cpuRatio;
private Long runTime;
private Long reportTime;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public String getCpuName() {
return this.cpuName;
}
public void setCpuName(String cpuName) {
this.cpuName = cpuName;
}
public Integer getNumberOfProcessors() {
return this.numberOfProcessors;
}
public void setNumberOfProcessors(Integer numberOfProcessors) {
this.numberOfProcessors = numberOfProcessors;
}
public Integer getProcessorArchitecture() {
return this.processorArchitecture;
}
public void setProcessorArchitecture(Integer processorArchitecture) {
this.processorArchitecture = processorArchitecture;
}
public Integer getProcessorType() {
return this.processorType;
}
public void setProcessorType(Integer processorType) {
this.processorType = processorType;
}
public Integer getCpuRatio() {
return this.cpuRatio;
}
public void setCpuRatio(Integer cpuRatio) {
this.cpuRatio = cpuRatio;
}
public Long getRunTime() {
return this.runTime;
}
public void setRunTime(Long runTime) {
this.runTime = runTime;
}
public Long getReportTime() {
return this.reportTime;
}
public void setReportTime(Long reportTime) {
this.reportTime = reportTime;
}
}
@@ -0,0 +1,142 @@
package cn.cloudwalk.common.device.bean.health.dto;
import java.io.Serializable;
public class DeviceDiskDTO implements Serializable {
private static final long serialVersionUID = 5658143125988588067L;
private String id;
private String deviceId;
private String deviceCode;
private String rootPathName;
private Long totalNumberOfBytes;
private Long freeBytes;
private Integer isInstall;
private Long reportTime;
private Long inodeTotal;
private Long inodeUsed;
private Integer iops;
private Integer throughput;
private Long waitTime;
private Double electricVoltage;
private Double electricCurrent;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public String getRootPathName() {
return this.rootPathName;
}
public void setRootPathName(String rootPathName) {
this.rootPathName = rootPathName;
}
public Long getTotalNumberOfBytes() {
return this.totalNumberOfBytes;
}
public void setTotalNumberOfBytes(Long totalNumberOfBytes) {
this.totalNumberOfBytes = totalNumberOfBytes;
}
public Long getFreeBytes() {
return this.freeBytes;
}
public void setFreeBytes(Long freeBytes) {
this.freeBytes = freeBytes;
}
public Integer getIsInstall() {
return this.isInstall;
}
public void setIsInstall(Integer isInstall) {
this.isInstall = isInstall;
}
public Long getReportTime() {
return this.reportTime;
}
public void setReportTime(Long reportTime) {
this.reportTime = reportTime;
}
public Long getInodeTotal() {
return this.inodeTotal;
}
public void setInodeTotal(Long inodeTotal) {
this.inodeTotal = inodeTotal;
}
public Long getInodeUsed() {
return this.inodeUsed;
}
public void setInodeUsed(Long inodeUsed) {
this.inodeUsed = inodeUsed;
}
public Integer getIops() {
return this.iops;
}
public void setIops(Integer iops) {
this.iops = iops;
}
public Integer getThroughput() {
return this.throughput;
}
public void setThroughput(Integer throughput) {
this.throughput = throughput;
}
public Long getWaitTime() {
return this.waitTime;
}
public void setWaitTime(Long waitTime) {
this.waitTime = waitTime;
}
public Double getElectricVoltage() {
return this.electricVoltage;
}
public void setElectricVoltage(Double electricVoltage) {
this.electricVoltage = electricVoltage;
}
public Double getElectricCurrent() {
return this.electricCurrent;
}
public void setElectricCurrent(Double electricCurrent) {
this.electricCurrent = electricCurrent;
}
}
@@ -0,0 +1,79 @@
package cn.cloudwalk.common.device.bean.health.dto;
import java.io.Serializable;
public class DeviceDiskResultDTO implements Serializable {
private static final long serialVersionUID = -5539935836946079741L;
private String id;
private String deviceId;
private String deviceCode;
private String rootPathName;
private Long totalNumberOfBytes;
private Long freeBytes;
private Integer isInstall;
private Long reportTime;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public String getRootPathName() {
return this.rootPathName;
}
public void setRootPathName(String rootPathName) {
this.rootPathName = rootPathName;
}
public Long getTotalNumberOfBytes() {
return this.totalNumberOfBytes;
}
public void setTotalNumberOfBytes(Long totalNumberOfBytes) {
this.totalNumberOfBytes = totalNumberOfBytes;
}
public Long getFreeBytes() {
return this.freeBytes;
}
public void setFreeBytes(Long freeBytes) {
this.freeBytes = freeBytes;
}
public Integer getIsInstall() {
return this.isInstall;
}
public void setIsInstall(Integer isInstall) {
this.isInstall = isInstall;
}
public Long getReportTime() {
return this.reportTime;
}
public void setReportTime(Long reportTime) {
this.reportTime = reportTime;
}
}
@@ -0,0 +1,79 @@
package cn.cloudwalk.common.device.bean.health.dto;
import java.io.Serializable;
public class DeviceGpuDTO implements Serializable {
private static final long serialVersionUID = -6318524975099901695L;
private String id;
private String deviceId;
private String deviceCode;
private String gpuName;
private Integer gpuRatio;
private Integer videoMemory;
private Long reportTime;
private Long runTime;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public String getGpuName() {
return this.gpuName;
}
public void setGpuName(String gpuName) {
this.gpuName = gpuName;
}
public Integer getGpuRatio() {
return this.gpuRatio;
}
public void setGpuRatio(Integer gpuRatio) {
this.gpuRatio = gpuRatio;
}
public Integer getVideoMemory() {
return this.videoMemory;
}
public void setVideoMemory(Integer videoMemory) {
this.videoMemory = videoMemory;
}
public Long getReportTime() {
return this.reportTime;
}
public void setReportTime(Long reportTime) {
this.reportTime = reportTime;
}
public Long getRunTime() {
return this.runTime;
}
public void setRunTime(Long runTime) {
this.runTime = runTime;
}
}
@@ -0,0 +1,79 @@
package cn.cloudwalk.common.device.bean.health.dto;
import java.io.Serializable;
public class DeviceGpuResultDTO implements Serializable {
private static final long serialVersionUID = -6318524975099901695L;
private String id;
private String deviceId;
private String deviceCode;
private String gpuName;
private Integer gpuRatio;
private Integer videoMemory;
private Long reportTime;
private Long runTime;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public String getGpuName() {
return this.gpuName;
}
public void setGpuName(String gpuName) {
this.gpuName = gpuName;
}
public Integer getGpuRatio() {
return this.gpuRatio;
}
public void setGpuRatio(Integer gpuRatio) {
this.gpuRatio = gpuRatio;
}
public Integer getVideoMemory() {
return this.videoMemory;
}
public void setVideoMemory(Integer videoMemory) {
this.videoMemory = videoMemory;
}
public Long getReportTime() {
return this.reportTime;
}
public void setReportTime(Long reportTime) {
this.reportTime = reportTime;
}
public Long getRunTime() {
return this.runTime;
}
public void setRunTime(Long runTime) {
this.runTime = runTime;
}
}
@@ -0,0 +1,33 @@
package cn.cloudwalk.common.device.bean.health.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
import java.util.List;
public class DeviceHealthDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = 4433517125984061668L;
public List<String> deviceCodes;
private Long lastHeartbeatTime;
public DeviceHealthDTO() {
}
public DeviceHealthDTO(List<String> deviceCodes) {
setDeviceCodes(deviceCodes);
}
public List<String> getDeviceCodes() {
return this.deviceCodes;
}
public void setDeviceCodes(List<String> deviceCodes) {
this.deviceCodes = deviceCodes;
}
public Long getLastHeartbeatTime() {
return this.lastHeartbeatTime;
}
public void setLastHeartbeatTime(Long lastHeartbeatTime) {
this.lastHeartbeatTime = lastHeartbeatTime;
}
}
@@ -0,0 +1,70 @@
package cn.cloudwalk.common.device.bean.health.dto;
import java.io.Serializable;
public class DeviceMemoryDTO implements Serializable {
private static final long serialVersionUID = -1830579546560579033L;
private String id;
private String deviceId;
private String deviceCode;
private Integer memoryLoad;
private Long availPhys;
private Long totalPhys;
private Long reportTime;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public Integer getMemoryLoad() {
return this.memoryLoad;
}
public void setMemoryLoad(Integer memoryLoad) {
this.memoryLoad = memoryLoad;
}
public Long getAvailPhys() {
return this.availPhys;
}
public void setAvailPhys(Long availPhys) {
this.availPhys = availPhys;
}
public Long getTotalPhys() {
return this.totalPhys;
}
public void setTotalPhys(Long totalPhys) {
this.totalPhys = totalPhys;
}
public Long getReportTime() {
return this.reportTime;
}
public void setReportTime(Long reportTime) {
this.reportTime = reportTime;
}
}
@@ -0,0 +1,70 @@
package cn.cloudwalk.common.device.bean.health.dto;
import java.io.Serializable;
public class DeviceMemoryResultDTO implements Serializable {
private static final long serialVersionUID = -972964577831168328L;
private String id;
private String deviceId;
private String deviceCode;
private Integer memoryLoad;
private Long availPhys;
private Long totalPhys;
private Long reportTime;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public Integer getMemoryLoad() {
return this.memoryLoad;
}
public void setMemoryLoad(Integer memoryLoad) {
this.memoryLoad = memoryLoad;
}
public Long getAvailPhys() {
return this.availPhys;
}
public void setAvailPhys(Long availPhys) {
this.availPhys = availPhys;
}
public Long getTotalPhys() {
return this.totalPhys;
}
public void setTotalPhys(Long totalPhys) {
this.totalPhys = totalPhys;
}
public Long getReportTime() {
return this.reportTime;
}
public void setReportTime(Long reportTime) {
this.reportTime = reportTime;
}
}
@@ -0,0 +1,70 @@
package cn.cloudwalk.common.device.bean.health.dto;
import java.io.Serializable;
public class DeviceNetworkDTO implements Serializable {
private static final long serialVersionUID = -7378965470503823624L;
private String id;
private String deviceId;
private String deviceCode;
private Long runTime;
private Integer throughput;
private Integer bandWidth;
private Long waitTime;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public Long getRunTime() {
return this.runTime;
}
public void setRunTime(Long runTime) {
this.runTime = runTime;
}
public Integer getThroughput() {
return this.throughput;
}
public void setThroughput(Integer throughput) {
this.throughput = throughput;
}
public Integer getBandWidth() {
return this.bandWidth;
}
public void setBandWidth(Integer bandWidth) {
this.bandWidth = bandWidth;
}
public Long getWaitTime() {
return this.waitTime;
}
public void setWaitTime(Long waitTime) {
this.waitTime = waitTime;
}
}
@@ -0,0 +1,52 @@
package cn.cloudwalk.common.device.bean.ocean.dto;
import java.io.Serializable;
public class AdvertisementResultDTO implements Serializable {
private static final long serialVersionUID = -90797168574821354L;
private String deviceId;
private String deviceType;
private Integer shufflingInterval;
private String advertisementId;
private Integer showSwitch;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceType() {
return this.deviceType;
}
public void setDeviceType(String deviceType) {
this.deviceType = deviceType;
}
public Integer getShufflingInterval() {
return this.shufflingInterval;
}
public void setShufflingInterval(Integer shufflingInterval) {
this.shufflingInterval = shufflingInterval;
}
public String getAdvertisementId() {
return this.advertisementId;
}
public void setAdvertisementId(String advertisementId) {
this.advertisementId = advertisementId;
}
public Integer getShowSwitch() {
return this.showSwitch;
}
public void setShowSwitch(Integer showSwitch) {
this.showSwitch = showSwitch;
}
}
@@ -0,0 +1,34 @@
package cn.cloudwalk.common.device.bean.ocean.dto;
import java.io.Serializable;
public class CompareModelResultDTO implements Serializable {
private static final long serialVersionUID = -8486683753194585647L;
private String deviceId;
private String deviceType;
private Integer compareModel;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceType() {
return this.deviceType;
}
public void setDeviceType(String deviceType) {
this.deviceType = deviceType;
}
public void setCompareModel(Integer compareModel) {
this.compareModel = compareModel;
}
public Integer getCompareModel() {
return this.compareModel;
}
}
@@ -0,0 +1,36 @@
package cn.cloudwalk.common.device.bean.ocean.dto;
import java.io.Serializable;
import java.util.List;
import java.util.Set;
public class ControllerQueryDTO implements Serializable {
private static final long serialVersionUID = -8415873401130917094L;
private String deviceTypeId;
private List<String> deviceCodes;
private Set<String> deviceAttrCodes;
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public List<String> getDeviceCodes() {
return this.deviceCodes;
}
public void setDeviceCodes(List<String> deviceCodes) {
this.deviceCodes = deviceCodes;
}
public Set<String> getDeviceAttrCodes() {
return this.deviceAttrCodes;
}
public void setDeviceAttrCodes(Set<String> deviceAttrCodes) {
this.deviceAttrCodes = deviceAttrCodes;
}
}
@@ -0,0 +1,44 @@
package cn.cloudwalk.common.device.bean.ocean.dto;
import java.io.Serializable;
import java.util.Map;
public class DeviceAttrModifyDTO implements Serializable {
private static final long serialVersionUID = 9102395805528283894L;
private String deviceId;
private Map<String, String> attrs;
private Long time;
private String userId;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public Map<String, String> getAttrs() {
return this.attrs;
}
public void setAttrs(Map<String, String> attrs) {
this.attrs = attrs;
}
public Long getTime() {
return this.time;
}
public void setTime(Long time) {
this.time = time;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
}
@@ -0,0 +1,152 @@
package cn.cloudwalk.common.device.bean.ocean.dto;
import java.io.Serializable;
import java.util.Map;
public class DeviceBaseInfoResultDTO implements Serializable {
private static final long serialVersionUID = -8299801483967188097L;
private String deviceId;
private String deviceType;
private String softwareVersion;
private Integer networkType;
private String networkBlock;
private String algorithmVersion;
private String modelVersion;
private String firmwareVersion;
private String osVersion;
private String mac;
private String ip;
private String subnetMask;
private String dns;
private String gateway;
private String simBlock;
private Map<String, String> deviceAttrs;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceType() {
return this.deviceType;
}
public void setDeviceType(String deviceType) {
this.deviceType = deviceType;
}
public String getSoftwareVersion() {
return this.softwareVersion;
}
public void setSoftwareVersion(String softwareVersion) {
this.softwareVersion = softwareVersion;
}
public Integer getNetworkType() {
return this.networkType;
}
public void setNetworkType(Integer networkType) {
this.networkType = networkType;
}
public String getNetworkBlock() {
return this.networkBlock;
}
public void setNetworkBlock(String networkBlock) {
this.networkBlock = networkBlock;
}
public String getAlgorithmVersion() {
return this.algorithmVersion;
}
public void setAlgorithmVersion(String algorithmVersion) {
this.algorithmVersion = algorithmVersion;
}
public String getModelVersion() {
return this.modelVersion;
}
public void setModelVersion(String modelVersion) {
this.modelVersion = modelVersion;
}
public String getFirmwareVersion() {
return this.firmwareVersion;
}
public void setFirmwareVersion(String firmwareVersion) {
this.firmwareVersion = firmwareVersion;
}
public String getOsVersion() {
return this.osVersion;
}
public void setOsVersion(String osVersion) {
this.osVersion = osVersion;
}
public String getMac() {
return this.mac;
}
public void setMac(String mac) {
this.mac = mac;
}
public String getIp() {
return this.ip;
}
public void setIp(String ip) {
this.ip = ip;
}
public String getSubnetMask() {
return this.subnetMask;
}
public void setSubnetMask(String subnetMask) {
this.subnetMask = subnetMask;
}
public String getDns() {
return this.dns;
}
public void setDns(String dns) {
this.dns = dns;
}
public String getGateway() {
return this.gateway;
}
public void setGateway(String gateway) {
this.gateway = gateway;
}
public String getSimBlock() {
return this.simBlock;
}
public void setSimBlock(String simBlock) {
this.simBlock = simBlock;
}
public Map<String, String> getDeviceAttrs() {
return this.deviceAttrs;
}
public void setDeviceAttrs(Map<String, String> deviceAttrs) {
this.deviceAttrs = deviceAttrs;
}
}
@@ -0,0 +1,108 @@
package cn.cloudwalk.common.device.bean.ocean.dto;
import cn.cloudwalk.common.device.bean.device.dto.DeviceAttrEditDTO;
import java.io.Serializable;
import java.util.List;
public class DeviceInfoUploadDTO implements Serializable {
private static final long serialVersionUID = -1953910941391342686L;
private String deviceId;
private String deviceTypeId;
private String appVersion;
private String osVersion;
private String firmwareVersion;
private List<VersionDataDTO> versionData;
private List<NetworkDataDTO> networkData;
private String userId;
private Long currentTime;
private String deviceName;
private List<DeviceAttrEditDTO> deviceAttrEditDTOS;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public void setAppVersion(String appVersion) {
this.appVersion = appVersion;
}
public String getAppVersion() {
return this.appVersion;
}
public String getOsVersion() {
return this.osVersion;
}
public void setOsVersion(String osVersion) {
this.osVersion = osVersion;
}
public String getFirmwareVersion() {
return this.firmwareVersion;
}
public void setFirmwareVersion(String firmwareVersion) {
this.firmwareVersion = firmwareVersion;
}
public List<NetworkDataDTO> getNetworkData() {
return this.networkData;
}
public void setNetworkData(List<NetworkDataDTO> networkData) {
this.networkData = networkData;
}
public List<VersionDataDTO> getVersionData() {
return this.versionData;
}
public void setVersionData(List<VersionDataDTO> versionData) {
this.versionData = versionData;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public Long getCurrentTime() {
return this.currentTime;
}
public void setCurrentTime(Long currentTime) {
this.currentTime = currentTime;
}
public List<DeviceAttrEditDTO> getDeviceAttrEditDTOS() {
return this.deviceAttrEditDTOS;
}
public void setDeviceAttrEditDTOS(List<DeviceAttrEditDTO> deviceAttrEditDTOS) {
this.deviceAttrEditDTOS = deviceAttrEditDTOS;
}
public String getDeviceName() {
return this.deviceName;
}
public void setDeviceName(String deviceName) {
this.deviceName = deviceName;
}
}
@@ -0,0 +1,61 @@
package cn.cloudwalk.common.device.bean.ocean.dto;
import java.io.Serializable;
public class DeviceRecognitionResultDTO implements Serializable {
private static final long serialVersionUID = 7766779808608180116L;
private String deviceId;
private String deviceType;
private Float thresholdOf1vN;
private Float thresholdOf1v1;
private Integer minFaceSize;
private Float qualityScore;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceType() {
return this.deviceType;
}
public void setDeviceType(String deviceType) {
this.deviceType = deviceType;
}
public Float getThresholdOf1vN() {
return this.thresholdOf1vN;
}
public void setThresholdOf1vN(Float thresholdOf1vN) {
this.thresholdOf1vN = thresholdOf1vN;
}
public Float getThresholdOf1v1() {
return this.thresholdOf1v1;
}
public void setThresholdOf1v1(Float thresholdOf1v1) {
this.thresholdOf1v1 = thresholdOf1v1;
}
public Integer getMinFaceSize() {
return this.minFaceSize;
}
public void setMinFaceSize(Integer minFaceSize) {
this.minFaceSize = minFaceSize;
}
public Float getQualityScore() {
return this.qualityScore;
}
public void setQualityScore(Float qualityScore) {
this.qualityScore = qualityScore;
}
}
@@ -0,0 +1,43 @@
package cn.cloudwalk.common.device.bean.ocean.dto;
import java.io.Serializable;
public class DeviceRunningInfoResultDTO implements Serializable {
private static final long serialVersionUID = 8201741287337759412L;
private String deviceId;
private String deviceType;
private Float cpuUsage;
private Float memoryUsage;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceType() {
return this.deviceType;
}
public void setDeviceType(String deviceType) {
this.deviceType = deviceType;
}
public Float getCpuUsage() {
return this.cpuUsage;
}
public void setCpuUsage(Float cpuUsage) {
this.cpuUsage = cpuUsage;
}
public Float getMemoryUsage() {
return this.memoryUsage;
}
public void setMemoryUsage(Float memoryUsage) {
this.memoryUsage = memoryUsage;
}
}
@@ -0,0 +1,43 @@
package cn.cloudwalk.common.device.bean.ocean.dto;
import java.io.Serializable;
public class EntranceGuardResultDTO implements Serializable {
private static final long serialVersionUID = 1060407061132042647L;
private String deviceId;
private String deviceType;
private Integer openInterval;
private Integer switchModel;
public Integer getOpenInterval() {
return this.openInterval;
}
public void setOpenInterval(Integer openInterval) {
this.openInterval = openInterval;
}
public Integer getSwitchModel() {
return this.switchModel;
}
public void setSwitchModel(Integer switchModel) {
this.switchModel = switchModel;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceType() {
return this.deviceType;
}
public void setDeviceType(String deviceType) {
this.deviceType = deviceType;
}
}
@@ -0,0 +1,97 @@
package cn.cloudwalk.common.device.bean.ocean.dto;
import java.io.Serializable;
public class ExtendsResultDTO implements Serializable {
private static final long serialVersionUID = -5361189601157927490L;
private String deviceId;
private String deviceType;
private Integer panoramaSwitch;
private Integer linkageVideoSwitch;
private Integer linkageVideoAlarmInputSwitch;
private Integer linkageVideoBitRate;
private Integer preventAttacksSwitch;
private Integer openLightThreshold;
private Integer closeLightThreshold;
private Integer subCameraSwitch;
public String getDeviceType() {
return this.deviceType;
}
public void setDeviceType(String deviceType) {
this.deviceType = deviceType;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public Integer getPanoramaSwitch() {
return this.panoramaSwitch;
}
public void setPanoramaSwitch(Integer panoramaSwitch) {
this.panoramaSwitch = panoramaSwitch;
}
public Integer getLinkageVideoSwitch() {
return this.linkageVideoSwitch;
}
public void setLinkageVideoSwitch(Integer linkageVideoSwitch) {
this.linkageVideoSwitch = linkageVideoSwitch;
}
public Integer getLinkageVideoAlarmInputSwitch() {
return this.linkageVideoAlarmInputSwitch;
}
public void setLinkageVideoAlarmInputSwitch(Integer linkageVideoAlarmInputSwitch) {
this.linkageVideoAlarmInputSwitch = linkageVideoAlarmInputSwitch;
}
public Integer getLinkageVideoBitRate() {
return this.linkageVideoBitRate;
}
public void setLinkageVideoBitRate(Integer linkageVideoBitRate) {
this.linkageVideoBitRate = linkageVideoBitRate;
}
public Integer getPreventAttacksSwitch() {
return this.preventAttacksSwitch;
}
public void setPreventAttacksSwitch(Integer preventAttacksSwitch) {
this.preventAttacksSwitch = preventAttacksSwitch;
}
public Integer getOpenLightThreshold() {
return this.openLightThreshold;
}
public void setOpenLightThreshold(Integer openLightThreshold) {
this.openLightThreshold = openLightThreshold;
}
public Integer getCloseLightThreshold() {
return this.closeLightThreshold;
}
public void setCloseLightThreshold(Integer closeLightThreshold) {
this.closeLightThreshold = closeLightThreshold;
}
public Integer getSubCameraSwitch() {
return this.subCameraSwitch;
}
public void setSubCameraSwitch(Integer subCameraSwitch) {
this.subCameraSwitch = subCameraSwitch;
}
}
@@ -0,0 +1,79 @@
package cn.cloudwalk.common.device.bean.ocean.dto;
import java.io.Serializable;
public class NetworkDataDTO implements Serializable {
private static final long serialVersionUID = -4270873297380849893L;
private Integer networkType;
private String networkBlock;
private String mac;
private String ip;
private String subnetMask;
private String gateway;
private String dns;
private String simBlock;
public Integer getNetworkType() {
return this.networkType;
}
public void setNetworkType(Integer networkType) {
this.networkType = networkType;
}
public String getNetworkBlock() {
return this.networkBlock;
}
public void setNetworkBlock(String networkBlock) {
this.networkBlock = networkBlock;
}
public String getMac() {
return this.mac;
}
public void setMac(String mac) {
this.mac = mac;
}
public String getIp() {
return this.ip;
}
public void setIp(String ip) {
this.ip = ip;
}
public String getSubnetMask() {
return this.subnetMask;
}
public void setSubnetMask(String subnetMask) {
this.subnetMask = subnetMask;
}
public String getGateway() {
return this.gateway;
}
public void setGateway(String gateway) {
this.gateway = gateway;
}
public String getDns() {
return this.dns;
}
public void setDns(String dns) {
this.dns = dns;
}
public String getSimBlock() {
return this.simBlock;
}
public void setSimBlock(String simBlock) {
this.simBlock = simBlock;
}
}
@@ -0,0 +1,43 @@
package cn.cloudwalk.common.device.bean.ocean.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class OceanDeviceUpgradeConfigDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -6748187171256969226L;
private String deviceTypeId;
private String timeLimit;
private Integer netLimit;
private String remark;
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public String getTimeLimit() {
return this.timeLimit;
}
public void setTimeLimit(String timeLimit) {
this.timeLimit = timeLimit;
}
public Integer getNetLimit() {
return this.netLimit;
}
public void setNetLimit(Integer netLimit) {
this.netLimit = netLimit;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
}
@@ -0,0 +1,80 @@
package cn.cloudwalk.common.device.bean.ocean.dto;
import java.io.Serializable;
import java.util.List;
public class OceanDeviceUpgradeDTO implements Serializable {
private static final long serialVersionUID = -6936377827931036302L;
private List<String> deviceIds;
private String version;
private String downloadUrl;
private Integer updateType;
private Long packageSize;
private String userId;
private Long createTime;
private String remark;
public List<String> getDeviceIds() {
return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
this.deviceIds = deviceIds;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public Long getPackageSize() {
return this.packageSize;
}
public void setPackageSize(Long packageSize) {
this.packageSize = packageSize;
}
public String getVersion() {
return this.version;
}
public void setVersion(String version) {
this.version = version;
}
public Integer getUpdateType() {
return this.updateType;
}
public void setUpdateType(Integer updateType) {
this.updateType = updateType;
}
public String getDownloadUrl() {
return this.downloadUrl;
}
public void setDownloadUrl(String downloadUrl) {
this.downloadUrl = downloadUrl;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
}
@@ -0,0 +1,89 @@
package cn.cloudwalk.common.device.bean.ocean.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
import java.io.Serializable;
public class OceanDeviceUpgradeLogDTO extends CloudwalkBaseTimes implements Serializable {
private static final long serialVersionUID = 7512308779995784680L;
private String deviceId;
private String deviceTypeId;
private Long downloadBeginTime;
private Long upgradeFinishTime;
private Integer versionType;
private String version;
private Integer packageSize;
private String upgradeCode;
private String upgradeMessage;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public Integer getVersionType() {
return this.versionType;
}
public void setVersionType(Integer versionType) {
this.versionType = versionType;
}
public String getVersion() {
return this.version;
}
public void setVersion(String version) {
this.version = version;
}
public String getUpgradeCode() {
return this.upgradeCode;
}
public void setUpgradeCode(String upgradeCode) {
this.upgradeCode = upgradeCode;
}
public String getUpgradeMessage() {
return this.upgradeMessage;
}
public void setUpgradeMessage(String upgradeMessage) {
this.upgradeMessage = upgradeMessage;
}
public Long getDownloadBeginTime() {
return this.downloadBeginTime;
}
public void setDownloadBeginTime(Long downloadBeginTime) {
this.downloadBeginTime = downloadBeginTime;
}
public Long getUpgradeFinishTime() {
return this.upgradeFinishTime;
}
public void setUpgradeFinishTime(Long upgradeFinishTime) {
this.upgradeFinishTime = upgradeFinishTime;
}
public Integer getPackageSize() {
return this.packageSize;
}
public void setPackageSize(Integer packageSize) {
this.packageSize = packageSize;
}
}
@@ -0,0 +1,34 @@
package cn.cloudwalk.common.device.bean.ocean.dto;
import java.io.Serializable;
public class VersionDataDTO implements Serializable {
private static final long serialVersionUID = -3852513152113413905L;
private Integer modelType;
private Integer modelIndex;
private String modelVersion;
public Integer getModelType() {
return this.modelType;
}
public void setModelType(Integer modelType) {
this.modelType = modelType;
}
public Integer getModelIndex() {
return this.modelIndex;
}
public void setModelIndex(Integer modelIndex) {
this.modelIndex = modelIndex;
}
public String getModelVersion() {
return this.modelVersion;
}
public void setModelVersion(String modelVersion) {
this.modelVersion = modelVersion;
}
}
@@ -0,0 +1,52 @@
package cn.cloudwalk.common.device.bean.ocean.dto;
import java.io.Serializable;
public class VolumeResultDTO implements Serializable {
private static final long serialVersionUID = 158957093802465975L;
private String deviceId;
private String deviceType;
private Integer volume;
private Integer successSound;
private Integer failSound;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceType() {
return this.deviceType;
}
public void setDeviceType(String deviceType) {
this.deviceType = deviceType;
}
public Integer getVolume() {
return this.volume;
}
public void setVolume(Integer volume) {
this.volume = volume;
}
public Integer getSuccessSound() {
return this.successSound;
}
public void setSuccessSound(Integer successSound) {
this.successSound = successSound;
}
public Integer getFailSound() {
return this.failSound;
}
public void setFailSound(Integer failSound) {
this.failSound = failSound;
}
}
@@ -0,0 +1,26 @@
package cn.cloudwalk.common.device.bean.pkg.dto;
import java.io.Serializable;
import java.util.List;
public class DeviceUpgradeConfDeltDTO implements Serializable {
private static final long serialVersionUID = -4416544335014356686L;
private List<String> ids;
private String deviceTypeId;
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
}
@@ -0,0 +1,79 @@
package cn.cloudwalk.common.device.bean.pkg.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceUpgradeConfEditDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -7296766479957095662L;
private String deviceTypeId;
private String timeLimit;
private Integer netLimit;
private Integer status;
private String remark;
private String name;
private Long endTime;
private String upgradeId;
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public String getTimeLimit() {
return this.timeLimit;
}
public void setTimeLimit(String timeLimit) {
this.timeLimit = timeLimit;
}
public Integer getNetLimit() {
return this.netLimit;
}
public void setNetLimit(Integer netLimit) {
this.netLimit = netLimit;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
}
public String getUpgradeId() {
return this.upgradeId;
}
public void setUpgradeId(String upgradeId) {
this.upgradeId = upgradeId;
}
}
@@ -0,0 +1,42 @@
package cn.cloudwalk.common.device.bean.pkg.dto;
import java.io.Serializable;
import java.util.List;
public class DeviceUpgradeConfGetsDTO implements Serializable {
private static final long serialVersionUID = -3489874771160642749L;
private String deviceTypeId;
private String upgradeId;
private List<String> ids;
public DeviceUpgradeConfGetsDTO() {
}
public DeviceUpgradeConfGetsDTO(String deviceTypeId) {
setDeviceTypeId(deviceTypeId);
}
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
public String getUpgradeId() {
return this.upgradeId;
}
public void setUpgradeId(String upgradeId) {
this.upgradeId = upgradeId;
}
}
@@ -0,0 +1,61 @@
package cn.cloudwalk.common.device.bean.pkg.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBasePeriod;
public class DeviceUpgradeConfQueryDTO extends CloudwalkBasePeriod {
private static final long serialVersionUID = 267511602868594511L;
private Integer status;
private String deviceTypeId;
private String name;
private Long endTime;
private String upgradeId;
private String remark;
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
}
public String getUpgradeId() {
return this.upgradeId;
}
public void setUpgradeId(String upgradeId) {
this.upgradeId = upgradeId;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
}
@@ -0,0 +1,83 @@
package cn.cloudwalk.common.device.bean.pkg.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceUpgradeConfResultDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -5754263044764274801L;
private String deviceTypeId;
private String timeLimit;
private Integer netLimit;
private Integer status;
private String remark;
private String name;
private Long endTime;
private String upgradeId;
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public String getTimeLimit() {
return this.timeLimit;
}
public void setTimeLimit(String timeLimit) {
this.timeLimit = timeLimit;
}
public Integer getNetLimit() {
return this.netLimit;
}
public void setNetLimit(Integer netLimit) {
this.netLimit = netLimit;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public static long getSerialVersionUID() {
return -5754263044764274801L;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
}
public String getUpgradeId() {
return this.upgradeId;
}
public void setUpgradeId(String upgradeId) {
this.upgradeId = upgradeId;
}
}
@@ -0,0 +1,26 @@
package cn.cloudwalk.common.device.bean.pkg.dto;
import java.io.Serializable;
import java.util.List;
public class DeviceUpgradeDeltDTO implements Serializable {
private static final long serialVersionUID = 2398216105610822383L;
private List<String> ids;
private String currentVersion;
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
public String getCurrentVersion() {
return this.currentVersion;
}
public void setCurrentVersion(String currentVersion) {
this.currentVersion = currentVersion;
}
}
@@ -0,0 +1,151 @@
package cn.cloudwalk.common.device.bean.pkg.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceUpgradeEditDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -1177727479066760378L;
private String deviceTypeId;
private String previousVersion;
private String currentVersion;
private Integer versionType;
private Integer upgradeType;
private String fullPkgUrl;
private Integer fullPkgLength;
private String fullPkgMd5;
private String appendPkgUrl;
private Integer appendPkgLength;
private String appendPkgMd5;
private Integer status;
private String remark;
private String name;
private Integer packageType;
private String modelVersion;
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public String getPreviousVersion() {
return this.previousVersion;
}
public void setPreviousVersion(String previousVersion) {
this.previousVersion = previousVersion;
}
public String getCurrentVersion() {
return this.currentVersion;
}
public void setCurrentVersion(String currentVersion) {
this.currentVersion = currentVersion;
}
public Integer getVersionType() {
return this.versionType;
}
public void setVersionType(Integer versionType) {
this.versionType = versionType;
}
public Integer getUpgradeType() {
return this.upgradeType;
}
public void setUpgradeType(Integer upgradeType) {
this.upgradeType = upgradeType;
}
public String getFullPkgUrl() {
return this.fullPkgUrl;
}
public void setFullPkgUrl(String fullPkgUrl) {
this.fullPkgUrl = fullPkgUrl;
}
public Integer getFullPkgLength() {
return this.fullPkgLength;
}
public void setFullPkgLength(Integer fullPkgLength) {
this.fullPkgLength = fullPkgLength;
}
public String getFullPkgMd5() {
return this.fullPkgMd5;
}
public void setFullPkgMd5(String fullPkgMd5) {
this.fullPkgMd5 = fullPkgMd5;
}
public String getAppendPkgUrl() {
return this.appendPkgUrl;
}
public void setAppendPkgUrl(String appendPkgUrl) {
this.appendPkgUrl = appendPkgUrl;
}
public Integer getAppendPkgLength() {
return this.appendPkgLength;
}
public void setAppendPkgLength(Integer appendPkgLength) {
this.appendPkgLength = appendPkgLength;
}
public String getAppendPkgMd5() {
return this.appendPkgMd5;
}
public void setAppendPkgMd5(String appendPkgMd5) {
this.appendPkgMd5 = appendPkgMd5;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Integer getPackageType() {
return this.packageType;
}
public void setPackageType(Integer packageType) {
this.packageType = packageType;
}
public String getModelVersion() {
return this.modelVersion;
}
public void setModelVersion(String modelVersion) {
this.modelVersion = modelVersion;
}
}
@@ -0,0 +1,78 @@
package cn.cloudwalk.common.device.bean.pkg.dto;
import java.io.Serializable;
import java.util.List;
public class DeviceUpgradeGetsDTO implements Serializable {
private static final long serialVersionUID = -6995233328095151965L;
private List<String> ids;
private String deviceTypeId;
private String currentVersion;
private String previousVersion;
private String name;
private Integer packageType;
private String modelVersion;
public DeviceUpgradeGetsDTO() {
}
public DeviceUpgradeGetsDTO(String currentVersion) {
this.currentVersion = currentVersion;
}
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public String getCurrentVersion() {
return this.currentVersion;
}
public void setCurrentVersion(String currentVersion) {
this.currentVersion = currentVersion;
}
public String getPreviousVersion() {
return this.previousVersion;
}
public void setPreviousVersion(String previousVersion) {
this.previousVersion = previousVersion;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Integer getPackageType() {
return this.packageType;
}
public void setPackageType(Integer packageType) {
this.packageType = packageType;
}
public String getModelVersion() {
return this.modelVersion;
}
public void setModelVersion(String modelVersion) {
this.modelVersion = modelVersion;
}
}
@@ -0,0 +1,88 @@
package cn.cloudwalk.common.device.bean.pkg.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceUpgradeQueryDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = 2183893960573881657L;
private String deviceTypeId;
private String previousVersion;
private String currentVersion;
private Integer versionType;
private Integer upgradeType;
private Integer status;
private String name;
private Integer packageType;
private String modelVersion;
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public String getPreviousVersion() {
return this.previousVersion;
}
public void setPreviousVersion(String previousVersion) {
this.previousVersion = previousVersion;
}
public String getCurrentVersion() {
return this.currentVersion;
}
public void setCurrentVersion(String currentVersion) {
this.currentVersion = currentVersion;
}
public Integer getVersionType() {
return this.versionType;
}
public void setVersionType(Integer versionType) {
this.versionType = versionType;
}
public Integer getUpgradeType() {
return this.upgradeType;
}
public void setUpgradeType(Integer upgradeType) {
this.upgradeType = upgradeType;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Integer getPackageType() {
return this.packageType;
}
public void setPackageType(Integer packageType) {
this.packageType = packageType;
}
public String getModelVersion() {
return this.modelVersion;
}
public void setModelVersion(String modelVersion) {
this.modelVersion = modelVersion;
}
}
@@ -0,0 +1,151 @@
package cn.cloudwalk.common.device.bean.pkg.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceUpgradeResultDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -1145134295579715029L;
private String deviceTypeId;
private String previousVersion;
private String currentVersion;
private Integer versionType;
private Integer upgradeType;
private String fullPkgUrl;
private Integer fullPkgLength;
private String fullPkgMd5;
private String appendPkgUrl;
private Integer appendPkgLength;
private String appendPkgMd5;
private Integer status;
private String remark;
private String name;
private Integer packageType;
private String modelVersion;
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public String getPreviousVersion() {
return this.previousVersion;
}
public void setPreviousVersion(String previousVersion) {
this.previousVersion = previousVersion;
}
public String getCurrentVersion() {
return this.currentVersion;
}
public void setCurrentVersion(String currentVersion) {
this.currentVersion = currentVersion;
}
public Integer getVersionType() {
return this.versionType;
}
public void setVersionType(Integer versionType) {
this.versionType = versionType;
}
public Integer getUpgradeType() {
return this.upgradeType;
}
public void setUpgradeType(Integer upgradeType) {
this.upgradeType = upgradeType;
}
public String getFullPkgUrl() {
return this.fullPkgUrl;
}
public void setFullPkgUrl(String fullPkgUrl) {
this.fullPkgUrl = fullPkgUrl;
}
public Integer getFullPkgLength() {
return this.fullPkgLength;
}
public void setFullPkgLength(Integer fullPkgLength) {
this.fullPkgLength = fullPkgLength;
}
public String getFullPkgMd5() {
return this.fullPkgMd5;
}
public void setFullPkgMd5(String fullPkgMd5) {
this.fullPkgMd5 = fullPkgMd5;
}
public String getAppendPkgUrl() {
return this.appendPkgUrl;
}
public void setAppendPkgUrl(String appendPkgUrl) {
this.appendPkgUrl = appendPkgUrl;
}
public Integer getAppendPkgLength() {
return this.appendPkgLength;
}
public void setAppendPkgLength(Integer appendPkgLength) {
this.appendPkgLength = appendPkgLength;
}
public String getAppendPkgMd5() {
return this.appendPkgMd5;
}
public void setAppendPkgMd5(String appendPkgMd5) {
this.appendPkgMd5 = appendPkgMd5;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Integer getPackageType() {
return this.packageType;
}
public void setPackageType(Integer packageType) {
this.packageType = packageType;
}
public String getModelVersion() {
return this.modelVersion;
}
public void setModelVersion(String modelVersion) {
this.modelVersion = modelVersion;
}
}
@@ -0,0 +1,62 @@
package cn.cloudwalk.common.device.bean.pkg.dto;
import java.io.Serializable;
import java.util.List;
public class DeviceUpgradeRevertDeltDTO implements Serializable {
private static final long serialVersionUID = 4619505782651590689L;
private List<String> ids;
private String deviceTypeId;
private Integer packageType;
private String deviceId;
private String deviceCode;
private String upgradeConfId;
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public Integer getPackageType() {
return this.packageType;
}
public void setPackageType(Integer packageType) {
this.packageType = packageType;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public String getUpgradeConfId() {
return this.upgradeConfId;
}
public void setUpgradeConfId(String upgradeConfId) {
this.upgradeConfId = upgradeConfId;
}
}
@@ -0,0 +1,124 @@
package cn.cloudwalk.common.device.bean.pkg.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceUpgradeRevertEditDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -8346334547356331042L;
private String deviceId;
private String deviceTypeId;
private String deviceCode;
private Integer packageType;
private Long dowloadBeginTime;
private Long upgradeFinishTime;
private Integer versionType;
private String currVersion;
private String prevVersion;
private String upgradeCode;
private String upgradeMessage;
private String upgradeConfId;
private Integer status;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public Integer getPackageType() {
return this.packageType;
}
public void setPackageType(Integer packageType) {
this.packageType = packageType;
}
public Long getDowloadBeginTime() {
return this.dowloadBeginTime;
}
public void setDowloadBeginTime(Long dowloadBeginTime) {
this.dowloadBeginTime = dowloadBeginTime;
}
public Long getUpgradeFinishTime() {
return this.upgradeFinishTime;
}
public void setUpgradeFinishTime(Long upgradeFinishTime) {
this.upgradeFinishTime = upgradeFinishTime;
}
public Integer getVersionType() {
return this.versionType;
}
public void setVersionType(Integer versionType) {
this.versionType = versionType;
}
public String getCurrVersion() {
return this.currVersion;
}
public void setCurrVersion(String currVersion) {
this.currVersion = currVersion;
}
public String getPrevVersion() {
return this.prevVersion;
}
public void setPrevVersion(String prevVersion) {
this.prevVersion = prevVersion;
}
public String getUpgradeCode() {
return this.upgradeCode;
}
public void setUpgradeCode(String upgradeCode) {
this.upgradeCode = upgradeCode;
}
public String getUpgradeMessage() {
return this.upgradeMessage;
}
public void setUpgradeMessage(String upgradeMessage) {
this.upgradeMessage = upgradeMessage;
}
public String getUpgradeConfId() {
return this.upgradeConfId;
}
public void setUpgradeConfId(String upgradeConfId) {
this.upgradeConfId = upgradeConfId;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
}
@@ -0,0 +1,80 @@
package cn.cloudwalk.common.device.bean.pkg.dto;
import java.io.Serializable;
import java.util.List;
public class DeviceUpgradeRevertGetsDTO implements Serializable {
private static final long serialVersionUID = -7284894053289050460L;
private List<String> ids;
private String deviceId;
private String deviceCode;
private Integer packageType;
private String deviceTypeId;
private String upgradeConfId;
private Integer status;
private String prevVersion;
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public Integer getPackageType() {
return this.packageType;
}
public void setPackageType(Integer packageType) {
this.packageType = packageType;
}
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public String getUpgradeConfId() {
return this.upgradeConfId;
}
public void setUpgradeConfId(String upgradeConfId) {
this.upgradeConfId = upgradeConfId;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getPrevVersion() {
return this.prevVersion;
}
public void setPrevVersion(String prevVersion) {
this.prevVersion = prevVersion;
}
}
@@ -0,0 +1,106 @@
package cn.cloudwalk.common.device.bean.pkg.dto;
import java.io.Serializable;
public class DeviceUpgradeRevertQueryDTO implements Serializable {
private static final long serialVersionUID = -1608782363317388371L;
private String id;
private String deviceId;
private Integer packageType;
private String deviceTypeId;
private String deviceCode;
private String upgradeCode;
private Integer versionType;
private String currVersion;
private String upgradeConfId;
private Integer status;
private String prevVersion;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public Integer getPackageType() {
return this.packageType;
}
public void setPackageType(Integer packageType) {
this.packageType = packageType;
}
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public String getUpgradeCode() {
return this.upgradeCode;
}
public void setUpgradeCode(String upgradeCode) {
this.upgradeCode = upgradeCode;
}
public Integer getVersionType() {
return this.versionType;
}
public void setVersionType(Integer versionType) {
this.versionType = versionType;
}
public String getCurrVersion() {
return this.currVersion;
}
public void setCurrVersion(String currVersion) {
this.currVersion = currVersion;
}
public String getUpgradeConfId() {
return this.upgradeConfId;
}
public void setUpgradeConfId(String upgradeConfId) {
this.upgradeConfId = upgradeConfId;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getPrevVersion() {
return this.prevVersion;
}
public void setPrevVersion(String prevVersion) {
this.prevVersion = prevVersion;
}
}
@@ -0,0 +1,124 @@
package cn.cloudwalk.common.device.bean.pkg.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceUpgradeRevertResultDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -3189452525168693376L;
private String deviceId;
private String deviceTypeId;
private String deviceCode;
private Integer packageType;
private Long dowloadBeginTime;
private Long upgradeFinishTime;
private Integer versionType;
private String currVersion;
private String prevVersion;
private String upgradeCode;
private String upgradeMessage;
private String upgradeConfId;
private Integer status;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public Integer getPackageType() {
return this.packageType;
}
public void setPackageType(Integer packageType) {
this.packageType = packageType;
}
public Long getDowloadBeginTime() {
return this.dowloadBeginTime;
}
public void setDowloadBeginTime(Long dowloadBeginTime) {
this.dowloadBeginTime = dowloadBeginTime;
}
public Long getUpgradeFinishTime() {
return this.upgradeFinishTime;
}
public void setUpgradeFinishTime(Long upgradeFinishTime) {
this.upgradeFinishTime = upgradeFinishTime;
}
public Integer getVersionType() {
return this.versionType;
}
public void setVersionType(Integer versionType) {
this.versionType = versionType;
}
public String getCurrVersion() {
return this.currVersion;
}
public void setCurrVersion(String currVersion) {
this.currVersion = currVersion;
}
public String getPrevVersion() {
return this.prevVersion;
}
public void setPrevVersion(String prevVersion) {
this.prevVersion = prevVersion;
}
public String getUpgradeCode() {
return this.upgradeCode;
}
public void setUpgradeCode(String upgradeCode) {
this.upgradeCode = upgradeCode;
}
public String getUpgradeMessage() {
return this.upgradeMessage;
}
public void setUpgradeMessage(String upgradeMessage) {
this.upgradeMessage = upgradeMessage;
}
public String getUpgradeConfId() {
return this.upgradeConfId;
}
public void setUpgradeConfId(String upgradeConfId) {
this.upgradeConfId = upgradeConfId;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
}
@@ -0,0 +1,25 @@
package cn.cloudwalk.common.device.bean.pkg.dto;
import java.io.Serializable;
public class EdgeUpgradeQueryDTO implements Serializable {
private static final long serialVersionUID = -688166171103870549L;
private String deviceTypeId;
private String previousVersion;
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public String getPreviousVersion() {
return this.previousVersion;
}
public void setPreviousVersion(String previousVersion) {
this.previousVersion = previousVersion;
}
}
@@ -0,0 +1,61 @@
package cn.cloudwalk.common.device.bean.position.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DevicePositionDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -2693850275949011303L;
private String logId;
private String deviceCode;
private Long lastPositionTime;
private String latitude;
private String longitude;
private String altitude;
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public Long getLastPositionTime() {
return this.lastPositionTime;
}
public void setLastPositionTime(Long lastPositionTime) {
this.lastPositionTime = lastPositionTime;
}
public String getLatitude() {
return this.latitude;
}
public void setLatitude(String latitude) {
this.latitude = latitude;
}
public String getLongitude() {
return this.longitude;
}
public void setLongitude(String longitude) {
this.longitude = longitude;
}
public String getAltitude() {
return this.altitude;
}
public void setAltitude(String altitude) {
this.altitude = altitude;
}
}
@@ -0,0 +1,17 @@
package cn.cloudwalk.common.device.bean.power.dto;
import java.io.Serializable;
import java.util.List;
public class DevicePowerDeltDTO implements Serializable {
private static final long serialVersionUID = 8278056756315506629L;
private List<String> ids;
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
}
@@ -0,0 +1,52 @@
package cn.cloudwalk.common.device.bean.power.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DevicePowerEditDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -9161906023187076913L;
private String deviceId;
private String deviceCode;
private Integer restartFlag;
private Long restartTime;
private String reserveInfo;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public Integer getRestartFlag() {
return this.restartFlag;
}
public void setRestartFlag(Integer restartFlag) {
this.restartFlag = restartFlag;
}
public Long getRestartTime() {
return this.restartTime;
}
public void setRestartTime(Long restartTime) {
this.restartTime = restartTime;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
}
@@ -0,0 +1,17 @@
package cn.cloudwalk.common.device.bean.power.dto;
import java.io.Serializable;
import java.util.List;
public class DevicePowerGetsDTO implements Serializable {
private static final long serialVersionUID = 5242382030233665743L;
private List<String> ids;
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
}
@@ -0,0 +1,25 @@
package cn.cloudwalk.common.device.bean.power.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBasePeriod;
public class DevicePowerQueryDTO extends CloudwalkBasePeriod {
private static final long serialVersionUID = -8246826216959001790L;
private String deviceId;
private String deviceCode;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
}
@@ -0,0 +1,52 @@
package cn.cloudwalk.common.device.bean.power.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DevicePowerResultDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -4924946521614510024L;
private String deviceId;
private String deviceCode;
private Integer restartFlag;
private Long restartTime;
private String reserveInfo;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public Integer getRestartFlag() {
return this.restartFlag;
}
public void setRestartFlag(Integer restartFlag) {
this.restartFlag = restartFlag;
}
public Long getRestartTime() {
return this.restartTime;
}
public void setRestartTime(Long restartTime) {
this.restartTime = restartTime;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
}
@@ -0,0 +1,25 @@
package cn.cloudwalk.common.device.bean.power.dto;
import java.io.Serializable;
public class DeviceRestartQueryDTO implements Serializable {
private static final long serialVersionUID = 4984624529248357086L;
private String deviceCode;
private Long restartTime;
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public Long getRestartTime() {
return this.restartTime;
}
public void setRestartTime(Long restartTime) {
this.restartTime = restartTime;
}
}
@@ -0,0 +1,12 @@
package cn.cloudwalk.common.device.bean.sdk.dto;
public class DeviceNetworkDeltDTO extends DeviceSdkBasicDTO {
private static final long serialVersionUID = 5100353341284761963L;
public DeviceNetworkDeltDTO() {
}
public DeviceNetworkDeltDTO(String deviceCode) {
setDeviceCode(deviceCode);
}
}
@@ -0,0 +1,97 @@
package cn.cloudwalk.common.device.bean.sdk.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceNetworkEditDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = 2915158166073041367L;
private String deviceId;
private String deviceCode;
private Integer networkType;
private String networkBlock;
private String mac;
private String ip;
private String subnetMask;
private String gateWay;
private String dns;
private String simBlock;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public Integer getNetworkType() {
return this.networkType;
}
public void setNetworkType(Integer networkType) {
this.networkType = networkType;
}
public String getNetworkBlock() {
return this.networkBlock;
}
public void setNetworkBlock(String networkBlock) {
this.networkBlock = networkBlock;
}
public String getMac() {
return this.mac;
}
public void setMac(String mac) {
this.mac = mac;
}
public String getIp() {
return this.ip;
}
public void setIp(String ip) {
this.ip = ip;
}
public String getSubnetMask() {
return this.subnetMask;
}
public void setSubnetMask(String subnetMask) {
this.subnetMask = subnetMask;
}
public String getGateWay() {
return this.gateWay;
}
public void setGateWay(String gateWay) {
this.gateWay = gateWay;
}
public String getDns() {
return this.dns;
}
public void setDns(String dns) {
this.dns = dns;
}
public String getSimBlock() {
return this.simBlock;
}
public void setSimBlock(String simBlock) {
this.simBlock = simBlock;
}
}
@@ -0,0 +1,12 @@
package cn.cloudwalk.common.device.bean.sdk.dto;
public class DeviceNetworkGetsDTO extends DeviceSdkBasicDTO {
private static final long serialVersionUID = 1154890131874450944L;
public DeviceNetworkGetsDTO() {
}
public DeviceNetworkGetsDTO(String deviceCode) {
setDeviceCode(deviceCode);
}
}
@@ -0,0 +1,97 @@
package cn.cloudwalk.common.device.bean.sdk.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceNetworkQueryDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = 3144419680596929711L;
private String deviceId;
private String deviceCode;
private Integer networkType;
private String networkBlock;
private String mac;
private String ip;
private String subnetMask;
private String gateWay;
private String dns;
private String simBlock;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public Integer getNetworkType() {
return this.networkType;
}
public void setNetworkType(Integer networkType) {
this.networkType = networkType;
}
public String getNetworkBlock() {
return this.networkBlock;
}
public void setNetworkBlock(String networkBlock) {
this.networkBlock = networkBlock;
}
public String getMac() {
return this.mac;
}
public void setMac(String mac) {
this.mac = mac;
}
public String getIp() {
return this.ip;
}
public void setIp(String ip) {
this.ip = ip;
}
public String getSubnetMask() {
return this.subnetMask;
}
public void setSubnetMask(String subnetMask) {
this.subnetMask = subnetMask;
}
public String getGateWay() {
return this.gateWay;
}
public void setGateWay(String gateWay) {
this.gateWay = gateWay;
}
public String getDns() {
return this.dns;
}
public void setDns(String dns) {
this.dns = dns;
}
public String getSimBlock() {
return this.simBlock;
}
public void setSimBlock(String simBlock) {
this.simBlock = simBlock;
}
}
@@ -0,0 +1,97 @@
package cn.cloudwalk.common.device.bean.sdk.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceNetworkResultDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = 7604034853824926511L;
private String deviceId;
private String deviceCode;
private Integer networkType;
private String networkBlock;
private String mac;
private String ip;
private String subnetMask;
private String gateWay;
private String dns;
private String simBlock;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public Integer getNetworkType() {
return this.networkType;
}
public void setNetworkType(Integer networkType) {
this.networkType = networkType;
}
public String getNetworkBlock() {
return this.networkBlock;
}
public void setNetworkBlock(String networkBlock) {
this.networkBlock = networkBlock;
}
public String getMac() {
return this.mac;
}
public void setMac(String mac) {
this.mac = mac;
}
public String getIp() {
return this.ip;
}
public void setIp(String ip) {
this.ip = ip;
}
public String getSubnetMask() {
return this.subnetMask;
}
public void setSubnetMask(String subnetMask) {
this.subnetMask = subnetMask;
}
public String getGateWay() {
return this.gateWay;
}
public void setGateWay(String gateWay) {
this.gateWay = gateWay;
}
public String getDns() {
return this.dns;
}
public void setDns(String dns) {
this.dns = dns;
}
public String getSimBlock() {
return this.simBlock;
}
public void setSimBlock(String simBlock) {
this.simBlock = simBlock;
}
}
@@ -0,0 +1,23 @@
package cn.cloudwalk.common.device.bean.sdk.dto;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class DeviceSdkBasicDTO implements Serializable {
private static final long serialVersionUID = -6120952553681368638L;
private List<String> deviceCodes;
public List<String> getDeviceCodes() {
return this.deviceCodes;
}
public void setDeviceCodes(List<String> deviceCodes) {
this.deviceCodes = deviceCodes;
}
public void setDeviceCode(String deviceCode) {
this.deviceCodes = new ArrayList<>();
this.deviceCodes.add(deviceCode);
}
}
@@ -0,0 +1,30 @@
package cn.cloudwalk.common.device.bean.sdk.dto;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class DeviceSdkmodeDeltDTO implements Serializable {
private static final long serialVersionUID = -7019010548837351367L;
private List<String> deviceCodes;
public DeviceSdkmodeDeltDTO() {
}
public DeviceSdkmodeDeltDTO(String deviceCode) {
setDeviceCode(deviceCode);
}
public void setDeviceCode(String deviceCode) {
this.deviceCodes = new ArrayList<>();
this.deviceCodes.add(deviceCode);
}
public List<String> getDeviceCodes() {
return this.deviceCodes;
}
public void setDeviceCodes(List<String> deviceCodes) {
this.deviceCodes = deviceCodes;
}
}
@@ -0,0 +1,52 @@
package cn.cloudwalk.common.device.bean.sdk.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceSdkmodeEditDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -7019010548837351367L;
private String deviceId;
private String deviceCode;
private Integer modelType;
private Integer modelIndex;
private String modelVersion;
public String getDeviceCode() {
return this.deviceCode;
}
public String getDeviceId() {
return this.deviceId;
}
public Integer getModelType() {
return this.modelType;
}
public Integer getModelIndex() {
return this.modelIndex;
}
public String getModelVersion() {
return this.modelVersion;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public void setModelType(Integer modelType) {
this.modelType = modelType;
}
public void setModelIndex(Integer modelIndex) {
this.modelIndex = modelIndex;
}
public void setModelVersion(String modelVersion) {
this.modelVersion = modelVersion;
}
}
@@ -0,0 +1,30 @@
package cn.cloudwalk.common.device.bean.sdk.dto;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class DeviceSdkmodeGetsDTO implements Serializable {
private static final long serialVersionUID = -7019010548837351367L;
private List<String> deviceCodes;
public DeviceSdkmodeGetsDTO() {
}
public DeviceSdkmodeGetsDTO(String deviceCode) {
setDeviceCode(deviceCode);
}
public void setDeviceCode(String deviceCode) {
this.deviceCodes = new ArrayList<>();
this.deviceCodes.add(deviceCode);
}
public List<String> getDeviceCodes() {
return this.deviceCodes;
}
public void setDeviceCodes(List<String> deviceCodes) {
this.deviceCodes = deviceCodes;
}
}
@@ -0,0 +1,12 @@
package cn.cloudwalk.common.device.bean.sdk.dto;
public class DeviceSdkmodeQueryDTO extends DeviceSdkBasicDTO {
private static final long serialVersionUID = -7019010548837351367L;
public DeviceSdkmodeQueryDTO() {
}
public DeviceSdkmodeQueryDTO(String deviceCode) {
setDeviceCode(deviceCode);
}
}
@@ -0,0 +1,56 @@
package cn.cloudwalk.common.device.bean.sdk.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceSdkmodeResultDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = 1260260795268677264L;
private String deviceId;
private String deviceCode;
private Integer modelType;
private Integer modelIndex;
private String modelVersion;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public Integer getModelType() {
return this.modelType;
}
public void setModelType(Integer modelType) {
this.modelType = modelType;
}
public Integer getModelIndex() {
return this.modelIndex;
}
public void setModelIndex(Integer modelIndex) {
this.modelIndex = modelIndex;
}
public String getModelVersion() {
return this.modelVersion;
}
public void setModelVersion(String modelVersion) {
this.modelVersion = modelVersion;
}
public static long getSerialversionuid() {
return 1260260795268677264L;
}
}
@@ -0,0 +1,12 @@
package cn.cloudwalk.common.device.bean.sdk.dto;
public class DeviceVersionDeltDTO extends DeviceSdkBasicDTO {
private static final long serialVersionUID = -7193603966528150116L;
public DeviceVersionDeltDTO() {
}
public DeviceVersionDeltDTO(String deviceCode) {
setDeviceCode(deviceCode);
}
}
@@ -0,0 +1,88 @@
package cn.cloudwalk.common.device.bean.sdk.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceVersionEditDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = 7572942862367475098L;
private String deviceId;
private String deviceCode;
private String deviceType;
private String appVersion;
private String osVersion;
private String firmwareVersion;
private String supportAbility;
private Long licenseExpires;
private String reserveInfo;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public String getDeviceType() {
return this.deviceType;
}
public void setDeviceType(String deviceType) {
this.deviceType = deviceType;
}
public String getAppVersion() {
return this.appVersion;
}
public void setAppVersion(String appVersion) {
this.appVersion = appVersion;
}
public String getOsVersion() {
return this.osVersion;
}
public void setOsVersion(String osVersion) {
this.osVersion = osVersion;
}
public String getFirmwareVersion() {
return this.firmwareVersion;
}
public void setFirmwareVersion(String firmwareVersion) {
this.firmwareVersion = firmwareVersion;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getSupportAbility() {
return this.supportAbility;
}
public void setSupportAbility(String supportAbility) {
this.supportAbility = supportAbility;
}
public Long getLicenseExpires() {
return this.licenseExpires;
}
public void setLicenseExpires(Long licenseExpires) {
this.licenseExpires = licenseExpires;
}
}
@@ -0,0 +1,12 @@
package cn.cloudwalk.common.device.bean.sdk.dto;
public class DeviceVersionGetsDTO extends DeviceSdkBasicDTO {
private static final long serialVersionUID = -7193603966528150116L;
public DeviceVersionGetsDTO() {
}
public DeviceVersionGetsDTO(String deviceCode) {
setDeviceCode(deviceCode);
}
}
@@ -0,0 +1,61 @@
package cn.cloudwalk.common.device.bean.sdk.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceVersionQueryDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -7019010548837351367L;
private String deviceId;
private String deviceCode;
private String deviceType;
private String appVersion;
private String osVersion;
private String firmwareVersion;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public String getDeviceType() {
return this.deviceType;
}
public void setDeviceType(String deviceType) {
this.deviceType = deviceType;
}
public String getAppVersion() {
return this.appVersion;
}
public void setAppVersion(String appVersion) {
this.appVersion = appVersion;
}
public String getOsVersion() {
return this.osVersion;
}
public void setOsVersion(String osVersion) {
this.osVersion = osVersion;
}
public String getFirmwareVersion() {
return this.firmwareVersion;
}
public void setFirmwareVersion(String firmwareVersion) {
this.firmwareVersion = firmwareVersion;
}
}
@@ -0,0 +1,88 @@
package cn.cloudwalk.common.device.bean.sdk.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceVersionResultDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -7019010548837351367L;
private String deviceId;
private String deviceCode;
private String deviceType;
private String appVersion;
private String osVersion;
private String firmwareVersion;
private String reserveInfo;
private String supportAbility;
private Long licenseExpires;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public String getDeviceType() {
return this.deviceType;
}
public void setDeviceType(String deviceType) {
this.deviceType = deviceType;
}
public String getAppVersion() {
return this.appVersion;
}
public void setAppVersion(String appVersion) {
this.appVersion = appVersion;
}
public String getOsVersion() {
return this.osVersion;
}
public void setOsVersion(String osVersion) {
this.osVersion = osVersion;
}
public String getFirmwareVersion() {
return this.firmwareVersion;
}
public void setFirmwareVersion(String firmwareVersion) {
this.firmwareVersion = firmwareVersion;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getSupportAbility() {
return this.supportAbility;
}
public void setSupportAbility(String supportAbility) {
this.supportAbility = supportAbility;
}
public Long getLicenseExpires() {
return this.licenseExpires;
}
public void setLicenseExpires(Long licenseExpires) {
this.licenseExpires = licenseExpires;
}
}
@@ -0,0 +1,26 @@
package cn.cloudwalk.common.device.bean.type.dto;
import java.io.Serializable;
import java.util.List;
public class DeviceTypeAttrDeltDTO implements Serializable {
private static final long serialVersionUID = 7788767139828832320L;
private String deviceTypeId;
private List<String> ids;
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
}
@@ -0,0 +1,61 @@
package cn.cloudwalk.common.device.bean.type.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceTypeAttrEditDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -7858946327546965914L;
private String deviceTypeId;
private String commandCode;
private String attrCode;
private String attrDisplay;
private Integer orderBy;
private String remark;
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public String getCommandCode() {
return this.commandCode;
}
public void setCommandCode(String commandCode) {
this.commandCode = commandCode;
}
public String getAttrCode() {
return this.attrCode;
}
public void setAttrCode(String attrCode) {
this.attrCode = attrCode;
}
public String getAttrDisplay() {
return this.attrDisplay;
}
public void setAttrDisplay(String attrDisplay) {
this.attrDisplay = attrDisplay;
}
public Integer getOrderBy() {
return this.orderBy;
}
public void setOrderBy(Integer orderBy) {
this.orderBy = orderBy;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
}
@@ -0,0 +1,33 @@
package cn.cloudwalk.common.device.bean.type.dto;
import java.io.Serializable;
import java.util.List;
public class DeviceTypeAttrGetsDTO implements Serializable {
private static final long serialVersionUID = 8804790205938608542L;
private String deviceTypeId;
private List<String> ids;
public DeviceTypeAttrGetsDTO() {
}
public DeviceTypeAttrGetsDTO(String deviceTypeId) {
setDeviceTypeId(deviceTypeId);
}
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public List<String> getIds() {
return this.ids;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
}
@@ -0,0 +1,43 @@
package cn.cloudwalk.common.device.bean.type.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceTypeAttrQueryDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -7858946327546965914L;
private String deviceTypeId;
private String commandCode;
private String attrCode;
private String attrDisplay;
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public String getCommandCode() {
return this.commandCode;
}
public void setCommandCode(String commandCode) {
this.commandCode = commandCode;
}
public String getAttrCode() {
return this.attrCode;
}
public void setAttrCode(String attrCode) {
this.attrCode = attrCode;
}
public String getAttrDisplay() {
return this.attrDisplay;
}
public void setAttrDisplay(String attrDisplay) {
this.attrDisplay = attrDisplay;
}
}
@@ -0,0 +1,61 @@
package cn.cloudwalk.common.device.bean.type.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceTypeAttrResultDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = 3962823581500334200L;
private String deviceTypeId;
private String commandCode;
private String attrCode;
private String attrDisplay;
private Integer orderBy;
private String remark;
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public String getCommandCode() {
return this.commandCode;
}
public void setCommandCode(String commandCode) {
this.commandCode = commandCode;
}
public String getAttrCode() {
return this.attrCode;
}
public void setAttrCode(String attrCode) {
this.attrCode = attrCode;
}
public String getAttrDisplay() {
return this.attrDisplay;
}
public void setAttrDisplay(String attrDisplay) {
this.attrDisplay = attrDisplay;
}
public Integer getOrderBy() {
return this.orderBy;
}
public void setOrderBy(Integer orderBy) {
this.orderBy = orderBy;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
}
@@ -0,0 +1,17 @@
package cn.cloudwalk.common.device.bean.type.dto;
import java.io.Serializable;
import java.util.List;
public class DeviceTypeDeltDTO implements Serializable {
private static final long serialVersionUID = -7038883337821597825L;
private List<String> ids;
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
}
@@ -0,0 +1,61 @@
package cn.cloudwalk.common.device.bean.type.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceTypeEditDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = -1501907056188971024L;
private Integer category;
private String typeCode;
private String typeName;
private Short status;
private String remark;
private String icon;
public Integer getCategory() {
return this.category;
}
public void setCategory(Integer category) {
this.category = category;
}
public String getTypeCode() {
return this.typeCode;
}
public void setTypeCode(String typeCode) {
this.typeCode = typeCode;
}
public String getTypeName() {
return this.typeName;
}
public void setTypeName(String typeName) {
this.typeName = typeName;
}
public Short getStatus() {
return this.status;
}
public void setStatus(Short status) {
this.status = status;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public String getIcon() {
return this.icon;
}
public void setIcon(String icon) {
this.icon = icon;
}
}
@@ -0,0 +1,26 @@
package cn.cloudwalk.common.device.bean.type.dto;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class DeviceTypeGetsDTO implements Serializable {
private static final long serialVersionUID = -7038883337821597825L;
private List<String> ids;
public DeviceTypeGetsDTO() {
}
public DeviceTypeGetsDTO(String id) {
this.ids = new ArrayList<>();
this.ids.add(id);
}
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
}
@@ -0,0 +1,69 @@
package cn.cloudwalk.common.device.bean.type.dto;
import java.io.Serializable;
public class DeviceTypeQueryDTO implements Serializable {
private static final long serialVersionUID = 6509083780348441248L;
private String id;
private Integer category;
private String typeCode;
private String typeName;
private Short status;
private String icon;
public DeviceTypeQueryDTO() {
}
public DeviceTypeQueryDTO(String typeCode, String typeName) {
this.typeCode = typeCode;
this.typeName = typeName;
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public Integer getCategory() {
return this.category;
}
public void setCategory(Integer category) {
this.category = category;
}
public String getTypeCode() {
return this.typeCode;
}
public void setTypeCode(String typeCode) {
this.typeCode = typeCode;
}
public String getTypeName() {
return this.typeName;
}
public void setTypeName(String typeName) {
this.typeName = typeName;
}
public Short getStatus() {
return this.status;
}
public void setStatus(Short status) {
this.status = status;
}
public String getIcon() {
return this.icon;
}
public void setIcon(String icon) {
this.icon = icon;
}
}
@@ -0,0 +1,88 @@
package cn.cloudwalk.common.device.bean.type.dto;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceTypeResultDTO extends CloudwalkBaseTimes {
private static final long serialVersionUID = 27952222298226260L;
private Integer category;
private String typeCode;
private String typeName;
private Short status;
private String remark;
private String name;
private Long endTime;
private String upgradeId;
private String icon;
public Integer getCategory() {
return this.category;
}
public void setCategory(Integer category) {
this.category = category;
}
public String getTypeCode() {
return this.typeCode;
}
public void setTypeCode(String typeCode) {
this.typeCode = typeCode;
}
public String getTypeName() {
return this.typeName;
}
public void setTypeName(String typeName) {
this.typeName = typeName;
}
public Short getStatus() {
return this.status;
}
public void setStatus(Short status) {
this.status = status;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
}
public String getUpgradeId() {
return this.upgradeId;
}
public void setUpgradeId(String upgradeId) {
this.upgradeId = upgradeId;
}
public String getIcon() {
return this.icon;
}
public void setIcon(String icon) {
this.icon = icon;
}
}
@@ -0,0 +1,17 @@
package cn.cloudwalk.common.device.constant;
/**
* 设备域公共常量(工具类,禁止实例化)。
*/
public final class DeviceConstant {
private DeviceConstant() {
}
public static final String OCEAN_DEFAULT_APPLICATIONID = "10000000";
public static final String OCEAN_DEFAULT_BUSINESSID = "10000000";
public static final String OCEAN_DEFAULT_SERVICECODE = "10000000";
public static final String OCEAN_DEFAULT_CUST_ID = "10000000";
public static final String OCEAN_DEFAULT_CROWSERVICEID = "10000000";
public static final Long DEFAULT_DEVICE_HEART_TIME = Long.valueOf(1262275200000L);
}
@@ -0,0 +1,22 @@
package cn.cloudwalk.common.device.em;
public enum CloudwalkRespEnum {
SUCCESS("00000000", "success");
private String message;
private String code;
CloudwalkRespEnum(String code, String message) {
this.code = code;
this.message = message;
}
public String getCode() {
return this.code;
}
public String getMessage() {
return this.message;
}
}
@@ -0,0 +1,21 @@
package cn.cloudwalk.common.device.em;
public enum DeviceUpgradeConfStatusEnum {
FINISH(Integer.valueOf(1)),
UPGRADING(Integer.valueOf(2)),
STOP(Integer.valueOf(3)),
NON_EXECUTION(Integer.valueOf(4));
private Integer code;
DeviceUpgradeConfStatusEnum(Integer code) {
this.code = code;
}
public Integer getCode() {
return this.code;
}
}
@@ -0,0 +1,21 @@
package cn.cloudwalk.common.device.em;
public enum DeviceUpgradeRevertStatusEnum {
FINISH(Integer.valueOf(1)),
EXECUTION(Integer.valueOf(2)),
QUEUE(Integer.valueOf(3)),
FAIL(Integer.valueOf(4));
private Integer code;
DeviceUpgradeRevertStatusEnum(Integer code) {
this.code = code;
}
public Integer getCode() {
return this.code;
}
}
@@ -0,0 +1,32 @@
package cn.cloudwalk.common.device.em;
public enum GeneratorStatusEnum {
ENABLE((short) 0, "启用"), DISABLE((short) 1, "禁用");
private String message;
private short code;
GeneratorStatusEnum(short code, String message) {
this.code = code;
this.message = message;
}
public static GeneratorStatusEnum getEnumByCode(short code) {
for (GeneratorStatusEnum item : values()) {
if (item.getCode() == code) {
return item;
}
}
return null;
}
public short getCode() {
return this.code;
}
public String getMessage() {
return this.message;
}
}

Some files were not shown because too many files have changed in this diff Show More