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,31 @@
<?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-interface</artifactId>
<packaging>jar</packaging>
<name>cloudwalk-device-manager-interface</name>
<dependencies>
<dependency>
<groupId>cn.cloudwalk.cloud</groupId>
<artifactId>cloudwalk-common-result</artifactId>
</dependency>
<dependency>
<groupId>cn.cloudwalk.cloud</groupId>
<artifactId>cloudwalk-device-manager-common</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
</dependency>
</dependencies>
</project>
@@ -0,0 +1,33 @@
package cn.cloudwalk.client.device.device.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;
public class DeviceAttrDeltParam implements Serializable {
private static final long serialVersionUID = -213301297561766126L;
@NotBlank(message = "51000007")
@Size(max = 32, message = "51000008")
private String deviceId;
@NotEmpty(message = "51000053")
@Size(max = 999, message = "51000054")
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,83 @@
package cn.cloudwalk.client.device.device.param;
import java.io.Serializable;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class DeviceAttrEditItemParam implements Serializable {
private static final long serialVersionUID = -2745817589684039571L;
@NotBlank(message = "51000051")
@Size(max = 32, message = "51000052")
private String id;
@NotBlank(message = "51000049")
@Size(max = 32, message = "51000050")
private String deviceTypeId;
@NotBlank(message = "51000007")
@Size(max = 32, message = "51000008")
private String deviceId;
@NotBlank(message = "51000013")
@Size(max = 32, message = "51000014")
private String attrCode;
@Size(max = 500, message = "")
private String attrValue;
@NotBlank(message = "51000015")
@Size(max = 120, message = "51000016")
private String attrDisplay;
private Integer orderBy;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
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 getAttrCode() {
return this.attrCode;
}
public void setAttrCode(String attrCode) {
this.attrCode = attrCode;
}
public String getAttrValue() {
return this.attrValue;
}
public void setAttrValue(String attrValue) {
this.attrValue = attrValue;
}
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;
}
}
@@ -0,0 +1,30 @@
package cn.cloudwalk.client.device.device.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.Valid;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotEmpty;
public class DeviceAttrEditListParam implements Serializable {
private static final long serialVersionUID = -2745817589684039571L;
@Valid
@NotEmpty(message = "51000055")
@Size(max = 999, message = "51000056")
private List<DeviceAttrEditItemParam> list;
public DeviceAttrEditListParam() {
}
public DeviceAttrEditListParam(List<DeviceAttrEditItemParam> list) {
setList(list);
}
public List<DeviceAttrEditItemParam> getList() {
return this.list;
}
public void setList(List<DeviceAttrEditItemParam> list) {
this.list = list;
}
}
@@ -0,0 +1,21 @@
package cn.cloudwalk.client.device.device.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
public class DeviceAttrGetsParam implements Serializable {
private static final long serialVersionUID = -4966014298381328021L;
@NotNull(message = "51000029")
@Size(max = 999, message = "51000030")
private List<String> deviceIds;
public List<String> getDeviceIds() {
return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
this.deviceIds = deviceIds;
}
}
@@ -0,0 +1,83 @@
package cn.cloudwalk.client.device.device.param;
import java.io.Serializable;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class DeviceAttrNewItemParam implements Serializable {
private static final long serialVersionUID = -2745817589684039571L;
@NotBlank(message = "51000049")
@Size(max = 32, message = "51000050")
private String deviceTypeId;
@NotBlank(message = "51000007")
@Size(max = 32, message = "51000008")
private String deviceId;
@NotBlank(message = "51000087")
@Size(max = 32, message = "51000086")
private String commandCode;
@NotBlank(message = "51000013")
@Size(max = 32, message = "51000014")
private String attrCode;
@Size(max = 500, message = "")
private String attrValue;
@NotBlank(message = "51000015")
@Size(max = 120, message = "51000016")
private String attrDisplay;
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 getAttrValue() {
return this.attrValue;
}
public void setAttrValue(String attrValue) {
this.attrValue = attrValue;
}
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;
}
}
@@ -0,0 +1,30 @@
package cn.cloudwalk.client.device.device.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.Valid;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotEmpty;
public class DeviceAttrNewListParam implements Serializable {
private static final long serialVersionUID = -2745817589684039571L;
@Valid
@NotEmpty(message = "51000055")
@Size(max = 999, message = "51000056")
private List<DeviceAttrNewItemParam> list;
public DeviceAttrNewListParam() {
}
public DeviceAttrNewListParam(List<DeviceAttrNewItemParam> list) {
setList(list);
}
public List<DeviceAttrNewItemParam> getList() {
return this.list;
}
public void setList(List<DeviceAttrNewItemParam> list) {
this.list = list;
}
}
@@ -0,0 +1,47 @@
package cn.cloudwalk.client.device.device.param;
import java.io.Serializable;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class DeviceAttrQueryParam implements Serializable {
private static final long serialVersionUID = -4966014298381328021L;
@NotBlank(message = "51000007")
@Size(max = 32, message = "51000008")
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,21 @@
package cn.cloudwalk.client.device.device.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotEmpty;
public class DeviceDeleteParam implements Serializable {
private static final long serialVersionUID = 4291055216656240573L;
@NotEmpty(message = "51000031")
@Size(max = 999, message = "51000032")
private List<String> ids;
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
}
@@ -0,0 +1,185 @@
package cn.cloudwalk.client.device.device.param;
import java.io.Serializable;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.Range;
public class DeviceEditParam implements Serializable {
private static final long serialVersionUID = -387966201210304319L;
@NotBlank(message = "51000007")
@Size(max = 32, message = "51000008")
private String id;
@NotBlank(message = "51000038")
@Size(max = 64, message = "51000039")
private String deviceCode;
@Size(max = 64, message = "52000198")
private String parentCode;
@NotBlank(message = "51000023")
@Size(max = 32, message = "51000024")
private String applicationId;
@NotBlank(message = "52000064")
@Size(max = 32, message = "52000063")
private String serviceCode;
@Size(max = 32, message = "51000035")
private String businessId;
@Size(max = 32, message = "51000037")
private String custId;
@Size(max = 32, message = "51000003")
private String deviceTypeId;
@Size(max = 32, message = "51000020")
private String deviceGroupId;
@Size(max = 120, message = "51000041")
private String deviceModel;
@NotBlank(message = "51000042")
@Size(max = 120, message = "51000043")
private String deviceName;
@Size(max = 64, message = "51000044")
private String crowServiceId;
@Range(min = 0L, max = 1L, message = "51000009")
private Short status;
@Size(max = 32, message = "52000103")
private String latitude;
@Size(max = 32, message = "52000104")
private String longitude;
@Size(max = 32, message = "52000200")
private String altitude;
@Size(max = 120, message = "52000193")
private String remark;
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
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 String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public String getDeviceGroupId() {
return this.deviceGroupId;
}
public void setDeviceGroupId(String deviceGroupId) {
this.deviceGroupId = deviceGroupId;
}
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 getCrowServiceId() {
return this.crowServiceId;
}
public void setCrowServiceId(String crowServiceId) {
this.crowServiceId = crowServiceId;
}
public Short getStatus() {
return this.status;
}
public void setStatus(Short status) {
this.status = status;
}
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 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,41 @@
package cn.cloudwalk.client.device.device.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotEmpty;
public class DeviceGetsParam implements Serializable {
private static final long serialVersionUID = -5546153067410825011L;
@Size(max = 32, message = "51000024")
private String applicationId;
@Size(max = 32, message = "52000063")
private String serviceCode;
@NotEmpty(message = "51000031")
@Size(max = 999, message = "51000032")
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 List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
}
@@ -0,0 +1,163 @@
package cn.cloudwalk.client.device.device.param;
import java.io.Serializable;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class DeviceNewParam implements Serializable {
private static final long serialVersionUID = -7509820279016117936L;
@NotBlank(message = "51000023")
@Size(max = 32, message = "51000024")
private String applicationId;
@NotBlank(message = "52000064")
@Size(max = 32, message = "52000063")
private String serviceCode;
@NotBlank(message = "51000038")
@Size(max = 64, message = "51000039")
private String deviceCode;
@Size(max = 64, message = "52000198")
private String parentCode;
@Size(max = 120, message = "51000041")
private String deviceModel;
@NotBlank(message = "51000042")
@Size(max = 120, message = "51000043")
private String deviceName;
@Size(max = 32, message = "51000003")
private String deviceTypeId;
@Size(max = 32, message = "51000020")
private String deviceGroupId;
@Size(max = 32, message = "51000035")
private String businessId;
@Size(max = 32, message = "51000037")
private String custId;
@Size(max = 64, message = "51000044")
private String crowServiceId;
@Size(max = 32, message = "52000103")
private String latitude;
@Size(max = 32, message = "52000104")
private String longitude;
@Size(max = 32, message = "52000200")
private String altitude;
@Size(max = 120, message = "52000193")
private String remark;
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
public String getApplicationId() {
return this.applicationId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public String getDeviceModel() {
return this.deviceModel;
}
public String getDeviceName() {
return this.deviceName;
}
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public String getDeviceGroupId() {
return this.deviceGroupId;
}
public String getBusinessId() {
return this.businessId;
}
public String getCustId() {
return this.custId;
}
public String getCrowServiceId() {
return this.crowServiceId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
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 setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public void setDeviceGroupId(String deviceGroupId) {
this.deviceGroupId = deviceGroupId;
}
public void setBusinessId(String businessId) {
this.businessId = businessId;
}
public void setCustId(String custId) {
this.custId = custId;
}
public void setCrowServiceId(String crowServiceId) {
this.crowServiceId = crowServiceId;
}
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 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,175 @@
package cn.cloudwalk.client.device.device.param;
import cn.cloudwalk.cloud.entity.CloudwalkBasePeriod;
import java.util.List;
import javax.validation.constraints.Size;
public class DeviceQueryParam extends CloudwalkBasePeriod {
private static final long serialVersionUID = -444618917504306271L;
@Size(max = 32, message = "51000024")
private String applicationId;
@Size(max = 32, message = "52000063")
private String serviceCode;
@Size(max = 999, message = "51000064")
private List<String> crowServiceIds;
private String deviceGroupId;
private String businessId;
private String custId;
@Size(max = 999, message = "51000090")
private List<String> custIds;
private String deviceCode;
private String parentCode;
private String deviceModel;
private String deviceName;
private String deviceTypeId;
private List<String> deviceTypeIds;
private Short status;
private Long lastHeartTimeBeginTime;
private Long lastHeartTimeEndTime;
private List<String> deviceCodes;
private List<String> deviceGroupIds;
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
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 List<String> getCrowServiceIds() {
return this.crowServiceIds;
}
public void setCrowServiceIds(List<String> crowServiceIds) {
this.crowServiceIds = crowServiceIds;
}
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 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 getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
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> getDeviceTypeIds() {
return this.deviceTypeIds;
}
public void setDeviceTypeIds(List<String> deviceTypeIds) {
this.deviceTypeIds = deviceTypeIds;
}
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,44 @@
package cn.cloudwalk.client.device.device.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;
public class DeviceStatusParam implements Serializable {
private static final long serialVersionUID = -7518568398915759812L;
@NotBlank(message = "51000023")
@Size(max = 32, message = "51000024")
private String applicationId;
@NotBlank(message = "52000064")
@Size(max = 32, message = "52000063")
private String serviceCode;
@NotEmpty(message = "51000031")
@Size(max = 999, message = "51000032")
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 List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
}
@@ -0,0 +1,131 @@
package cn.cloudwalk.client.device.device.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class DeviceWareEditParam implements Serializable {
private static final long serialVersionUID = 8055784786092054158L;
@NotBlank(message = "51000038")
@Size(max = 64, message = "51000039")
private String deviceCode;
@Size(max = 64, message = "52000199")
private String subDeviceCode;
@NotBlank(message = "51000079")
@Size(max = 32, message = "51000080")
private String deviceType;
private String logId;
@NotBlank(message = "51000081")
@Size(max = 200, message = "51000082")
private String appVersion;
@Size(max = 200, message = "51000083")
private String osVersion;
@Size(max = 200, message = "51000084")
private String firmwareVersion;
@Size(max = 500, message = "51000085")
private String reserveInfo;
@Size(max = 99, message = "51000076")
private List<DeviceWareSdkParam> versionData;
@Size(max = 99, message = "51000078")
private List<DeviceWareNetParam> networkData;
@Size(max = 200, message = "51000092")
private String supportAbility;
private Long licenseExpires;
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 List<DeviceWareSdkParam> getVersionData() {
return this.versionData;
}
public void setVersionData(List<DeviceWareSdkParam> versionData) {
this.versionData = versionData;
}
public List<DeviceWareNetParam> getNetworkData() {
return this.networkData;
}
public void setNetworkData(List<DeviceWareNetParam> networkData) {
this.networkData = networkData;
}
public String getSubDeviceCode() {
return this.subDeviceCode;
}
public void setSubDeviceCode(String subDeviceCode) {
this.subDeviceCode = subDeviceCode;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
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,93 @@
package cn.cloudwalk.client.device.device.param;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class DeviceWareNetParam implements Serializable {
private static final long serialVersionUID = 9132503916055286669L;
@NotNull(message = "51000063")
private Integer networkType;
@NotBlank(message = "51000064")
@Size(max = 200, message = "51000065")
private String networkBlock;
@NotBlank(message = "51000066")
@Size(max = 50, message = "51000067")
private String mac;
@NotBlank(message = "51000068")
@Size(max = 30, message = "51000069")
private String ip;
@Size(max = 30, message = "51000070")
private String subnetMask;
@Size(max = 30, message = "51000071")
private String gateWay;
@Size(max = 60, message = "51000072")
private String dns;
@Size(max = 200, message = "51000073")
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,41 @@
package cn.cloudwalk.client.device.device.param;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class DeviceWareSdkParam implements Serializable {
private static final long serialVersionUID = 4162547205671103468L;
@NotNull(message = "51000060")
private Integer modelType;
@NotNull(message = "51000061")
private Integer modelIndex;
@NotBlank(message = "51000062")
@Size(max = 500, message = "51000074")
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,99 @@
package cn.cloudwalk.client.device.device.result;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
import java.io.Serializable;
import java.util.List;
public class DeviceAttrGroupResult implements Serializable {
private static final long serialVersionUID = 7587744741348057220L;
private String deviceId;
private String deviceTypeId;
private List<DeviceAttrItem> attrs;
public DeviceAttrGroupResult() {
}
public DeviceAttrGroupResult(String deviceId, String deviceTypeId, List<DeviceAttrItem> attrs) {
this.deviceId = deviceId;
this.deviceTypeId = deviceTypeId;
this.attrs = attrs;
}
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 List<DeviceAttrItem> getAttrs() {
return this.attrs;
}
public void setAttrs(List<DeviceAttrItem> attrs) {
this.attrs = attrs;
}
public static class DeviceAttrItem extends CloudwalkBaseTimes {
private static final long serialVersionUID = 4510918333028757414L;
private String attrCode;
private String commandCode;
private String attrDisplay;
private String attrValue;
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 Integer getOrderBy() {
return this.orderBy;
}
public void setOrderBy(Integer orderBy) {
this.orderBy = orderBy;
}
}
}
@@ -0,0 +1,61 @@
package cn.cloudwalk.client.device.device.result;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceAttrResult extends CloudwalkBaseTimes {
private static final long serialVersionUID = 4115830851494051064L;
private String attrCode;
private String attrDisplay;
private String attrValue;
private String deviceId;
private String deviceTypeId;
private Integer orderBy;
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 getAttrCode() {
return this.attrCode;
}
public void setAttrCode(String attrCode) {
this.attrCode = attrCode;
}
public String getAttrValue() {
return this.attrValue;
}
public void setAttrValue(String attrValue) {
this.attrValue = attrValue;
}
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;
}
}
@@ -0,0 +1,169 @@
package cn.cloudwalk.client.device.device.result;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceResult extends CloudwalkBaseTimes {
private static final long serialVersionUID = -485820110201901812L;
private String deviceCode;
private String parentCode;
private String deviceName;
private String deviceModel;
private String deviceTypeId;
private String deviceGroupId;
private String applicationId;
private String serviceCode;
private String businessId;
private String crowServiceId;
private String custId;
private Integer status;
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 getDeviceName() {
return this.deviceName;
}
public String getDeviceModel() {
return this.deviceModel;
}
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public String getDeviceGroupId() {
return this.deviceGroupId;
}
public String getApplicationId() {
return this.applicationId;
}
public String getBusinessId() {
return this.businessId;
}
public String getCrowServiceId() {
return this.crowServiceId;
}
public String getCustId() {
return this.custId;
}
public Integer getStatus() {
return this.status;
}
public Long getLastHeartbeatTime() {
return this.lastHeartbeatTime;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public void setDeviceName(String deviceName) {
this.deviceName = deviceName;
}
public void setDeviceModel(String deviceModel) {
this.deviceModel = deviceModel;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
public void setDeviceGroupId(String deviceGroupId) {
this.deviceGroupId = deviceGroupId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public void setBusinessId(String businessId) {
this.businessId = businessId;
}
public void setCrowServiceId(String crowServiceId) {
this.crowServiceId = crowServiceId;
}
public void setCustId(String custId) {
this.custId = custId;
}
public void setStatus(Integer status) {
this.status = status;
}
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,38 @@
package cn.cloudwalk.client.device.device.result;
import cn.cloudwalk.client.device.sdk.result.DeviceNetworkResult;
import cn.cloudwalk.client.device.sdk.result.DeviceSdkmodeResult;
import cn.cloudwalk.client.device.sdk.result.DeviceVersionResult;
import java.io.Serializable;
import java.util.List;
public class DeviceWareResult implements Serializable {
private static final long serialVersionUID = 6342039925807630637L;
private DeviceVersionResult versionResult;
private List<DeviceSdkmodeResult> versionData;
private List<DeviceNetworkResult> networkData;
public DeviceVersionResult getVersionResult() {
return this.versionResult;
}
public void setVersionResult(DeviceVersionResult versionResult) {
this.versionResult = versionResult;
}
public List<DeviceSdkmodeResult> getVersionData() {
return this.versionData;
}
public void setVersionData(List<DeviceSdkmodeResult> versionData) {
this.versionData = versionData;
}
public List<DeviceNetworkResult> getNetworkData() {
return this.networkData;
}
public void setNetworkData(List<DeviceNetworkResult> networkData) {
this.networkData = networkData;
}
}
@@ -0,0 +1,30 @@
package cn.cloudwalk.client.device.device.service;
import cn.cloudwalk.client.device.device.param.DeviceAttrDeltParam;
import cn.cloudwalk.client.device.device.param.DeviceAttrEditListParam;
import cn.cloudwalk.client.device.device.param.DeviceAttrGetsParam;
import cn.cloudwalk.client.device.device.param.DeviceAttrNewListParam;
import cn.cloudwalk.client.device.device.param.DeviceAttrQueryParam;
import cn.cloudwalk.client.device.device.result.DeviceAttrGroupResult;
import cn.cloudwalk.client.device.device.result.DeviceAttrResult;
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
import cn.cloudwalk.cloud.exception.ServiceException;
import cn.cloudwalk.cloud.result.CloudwalkResult;
import java.util.List;
public interface DeviceAttrService {
CloudwalkResult<Integer> add(DeviceAttrNewListParam paramDeviceAttrNewListParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<Integer> edit(DeviceAttrEditListParam paramDeviceAttrEditListParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<Integer> delete(DeviceAttrDeltParam paramDeviceAttrDeltParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<List<DeviceAttrResult>> query(DeviceAttrQueryParam paramDeviceAttrQueryParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<List<DeviceAttrGroupResult>> gets(DeviceAttrGetsParam paramDeviceAttrGetsParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
}
@@ -0,0 +1,42 @@
package cn.cloudwalk.client.device.device.service;
import cn.cloudwalk.client.device.device.param.DeviceDeleteParam;
import cn.cloudwalk.client.device.device.param.DeviceEditParam;
import cn.cloudwalk.client.device.device.param.DeviceGetsParam;
import cn.cloudwalk.client.device.device.param.DeviceNewParam;
import cn.cloudwalk.client.device.device.param.DeviceQueryParam;
import cn.cloudwalk.client.device.device.param.DeviceStatusParam;
import cn.cloudwalk.client.device.device.result.DeviceResult;
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
import cn.cloudwalk.cloud.exception.ServiceException;
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
import cn.cloudwalk.cloud.result.CloudwalkResult;
import java.util.List;
public interface DeviceInfoService {
CloudwalkResult<DeviceResult> add(DeviceNewParam paramDeviceNewParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<Integer> edit(DeviceEditParam paramDeviceEditParam, CloudwalkCallContext paramCloudwalkCallContext)
throws ServiceException;
CloudwalkResult<Integer> disable(DeviceStatusParam paramDeviceStatusParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<Integer> enable(DeviceStatusParam paramDeviceStatusParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<List<DeviceResult>> gets(DeviceGetsParam paramDeviceGetsParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<List<DeviceResult>> query(DeviceQueryParam paramDeviceQueryParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<CloudwalkPageAble<DeviceResult>> page(DeviceQueryParam paramDeviceQueryParam,
CloudwalkPageInfo paramCloudwalkPageInfo, CloudwalkCallContext paramCloudwalkCallContext)
throws ServiceException;
CloudwalkResult<Integer> delete(DeviceDeleteParam paramDeviceDeleteParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
}
@@ -0,0 +1,13 @@
package cn.cloudwalk.client.device.device.service;
import cn.cloudwalk.client.device.device.param.DeviceWareEditParam;
import cn.cloudwalk.client.device.sdk.result.DeviceSdkmodeResult;
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
import cn.cloudwalk.cloud.exception.ServiceException;
import cn.cloudwalk.cloud.result.CloudwalkResult;
import java.util.List;
public interface DeviceWareService {
CloudwalkResult<List<DeviceSdkmodeResult>> add(DeviceWareEditParam paramDeviceWareEditParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
}
@@ -0,0 +1,53 @@
package cn.cloudwalk.client.device.group.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;
public class DeviceGroupDeltParam implements Serializable {
private static final long serialVersionUID = -4669165730166703946L;
@NotBlank(message = "51000023")
@Size(max = 32, message = "51000024")
private String applicationId;
@NotBlank(message = "52000064")
@Size(max = 32, message = "52000063")
private String serviceCode;
@NotEmpty(message = "51000047")
@Size(max = 999, message = "51000048")
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,83 @@
package cn.cloudwalk.client.device.group.param;
import java.io.Serializable;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class DeviceGroupEditParam implements Serializable {
private static final long serialVersionUID = 4633587253693667444L;
@NotBlank(message = "51000027")
@Size(max = 32, message = "51000028")
private String id;
@NotBlank(message = "51000021")
@Size(max = 120, message = "51000022")
private String groupName;
@NotBlank(message = "51000023")
@Size(max = 32, message = "51000024")
private String applicationId;
@NotBlank(message = "52000064")
@Size(max = 32, message = "52000063")
private String serviceCode;
@Size(max = 120, message = "51000025")
private String remark;
@Size(max = 32, message = "51000026")
private String custId;
@Size(max = 64, message = "51000058")
private String nodeId;
public String getId() {
return this.id;
}
public String getGroupName() {
return this.groupName;
}
public String getApplicationId() {
return this.applicationId;
}
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
public String getRemark() {
return this.remark;
}
public String getCustId() {
return this.custId;
}
public String getNodeId() {
return this.nodeId;
}
public void setId(String id) {
this.id = id;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public void setRemark(String remark) {
this.remark = remark;
}
public void setCustId(String custId) {
this.custId = custId;
}
public void setNodeId(String nodeId) {
this.nodeId = nodeId;
}
}
@@ -0,0 +1,53 @@
package cn.cloudwalk.client.device.group.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;
public class DeviceGroupGetsParam implements Serializable {
private static final long serialVersionUID = 7547496063901394928L;
@NotBlank(message = "51000023")
@Size(max = 32, message = "51000024")
private String applicationId;
@NotBlank(message = "52000064")
@Size(max = 32, message = "52000063")
private String serviceCode;
@NotEmpty(message = "51000047")
@Size(max = 999, message = "51000048")
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,83 @@
package cn.cloudwalk.client.device.group.param;
import java.io.Serializable;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class DeviceGroupNewParam implements Serializable {
private static final long serialVersionUID = 2696398821631939559L;
@NotBlank(message = "51000023")
@Size(max = 32, message = "51000024")
private String applicationId;
@NotBlank(message = "52000064")
@Size(max = 32, message = "52000063")
private String serviceCode;
@NotBlank(message = "51000019")
@Size(max = 32, message = "51000020")
private String groupCode;
@NotBlank(message = "51000021")
@Size(max = 120, message = "51000022")
private String groupName;
@Size(max = 120, message = "51000025")
private String remark;
@Size(max = 32, message = "51000026")
private String custId;
@Size(max = 64, message = "51000058")
private String nodeId;
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
public String getApplicationId() {
return this.applicationId;
}
public String getGroupCode() {
return this.groupCode;
}
public String getGroupName() {
return this.groupName;
}
public String getRemark() {
return this.remark;
}
public String getCustId() {
return this.custId;
}
public String getNodeId() {
return this.nodeId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public void setGroupCode(String groupCode) {
this.groupCode = groupCode;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
}
public void setRemark(String remark) {
this.remark = remark;
}
public void setCustId(String custId) {
this.custId = custId;
}
public void setNodeId(String nodeId) {
this.nodeId = nodeId;
}
}
@@ -0,0 +1,67 @@
package cn.cloudwalk.client.device.group.param;
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class DeviceGroupQueryParam extends CloudwalkBasePageForm {
private static final long serialVersionUID = 3159298332309863594L;
@NotBlank(message = "51000023")
@Size(max = 32, message = "51000024")
private String applicationId;
@NotBlank(message = "52000064")
@Size(max = 32, message = "52000063")
private String serviceCode;
private String groupCode;
private String groupName;
private String custId;
private String nodeId;
public String getApplicationId() {
return this.applicationId;
}
public String getGroupCode() {
return this.groupCode;
}
public String getGroupName() {
return this.groupName;
}
public String getCustId() {
return this.custId;
}
public String getNodeId() {
return this.nodeId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public void setGroupCode(String groupCode) {
this.groupCode = groupCode;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
}
public void setCustId(String custId) {
this.custId = custId;
}
public void setNodeId(String nodeId) {
this.nodeId = nodeId;
}
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
}
@@ -0,0 +1,55 @@
package cn.cloudwalk.client.device.group.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;
public class DevicesAndGroupParam implements Serializable {
private static final long serialVersionUID = -3633893727381294393L;
@NotBlank(message = "51000023")
@Size(max = 32, message = "51000024")
private String applicationId;
@NotBlank(message = "52000064")
@Size(max = 32, message = "52000063")
private String serviceCode;
@NotBlank(message = "51000027")
@Size(max = 32, message = "51000028")
private String deviceGroupId;
@NotEmpty(message = "51000031")
@Size(max = 32, message = "51000032")
private List<String> ids;
public String getApplicationId() {
return this.applicationId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public String getDeviceGroupId() {
return this.deviceGroupId;
}
public void setDeviceGroupId(String deviceGroupId) {
this.deviceGroupId = deviceGroupId;
}
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
}
@@ -0,0 +1,70 @@
package cn.cloudwalk.client.device.group.result;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceGroupResult extends CloudwalkBaseTimes {
private static final long serialVersionUID = 4659094574714684172L;
private String applicationId;
private String serviceCode;
private String groupName;
private String groupCode;
private String remark;
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 getGroupName() {
return this.groupName;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
}
public String getGroupCode() {
return this.groupCode;
}
public void setGroupCode(String groupCode) {
this.groupCode = groupCode;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
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,35 @@
package cn.cloudwalk.client.device.group.service;
import cn.cloudwalk.client.device.group.param.DeviceGroupDeltParam;
import cn.cloudwalk.client.device.group.param.DeviceGroupEditParam;
import cn.cloudwalk.client.device.group.param.DeviceGroupGetsParam;
import cn.cloudwalk.client.device.group.param.DeviceGroupNewParam;
import cn.cloudwalk.client.device.group.param.DeviceGroupQueryParam;
import cn.cloudwalk.client.device.group.result.DeviceGroupResult;
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
import cn.cloudwalk.cloud.exception.ServiceException;
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
import cn.cloudwalk.cloud.page.CloudwalkPageInfo;
import cn.cloudwalk.cloud.result.CloudwalkResult;
import java.util.List;
public interface DeviceGroupService {
CloudwalkResult<DeviceGroupResult> add(DeviceGroupNewParam paramDeviceGroupNewParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<Integer> edit(DeviceGroupEditParam paramDeviceGroupEditParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<Integer> delete(DeviceGroupDeltParam paramDeviceGroupDeltParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<List<DeviceGroupResult>> gets(DeviceGroupGetsParam paramDeviceGroupGetsParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<List<DeviceGroupResult>> query(DeviceGroupQueryParam paramDeviceGroupQueryParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<CloudwalkPageAble<DeviceGroupResult>> page(DeviceGroupQueryParam paramDeviceGroupQueryParam,
CloudwalkPageInfo paramCloudwalkPageInfo, CloudwalkCallContext paramCloudwalkCallContext)
throws ServiceException;
}
@@ -0,0 +1,14 @@
package cn.cloudwalk.client.device.group.service;
import cn.cloudwalk.client.device.group.param.DevicesAndGroupParam;
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
import cn.cloudwalk.cloud.exception.ServiceException;
import cn.cloudwalk.cloud.result.CloudwalkResult;
public interface DevicesAndGroupService {
CloudwalkResult<Integer> binding(DevicesAndGroupParam paramDevicesAndGroupParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<Integer> unbinding(DevicesAndGroupParam paramDevicesAndGroupParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
}
@@ -0,0 +1,119 @@
package cn.cloudwalk.client.device.health.param;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class DeviceCpuParam implements Serializable {
private static final long serialVersionUID = 4561652164689891624L;
@NotBlank(message = "52000025")
@Size(max = 64, message = "52000026")
private String deviceCode;
@NotBlank(message = "52000140")
@Size(max = 120, message = "52000145")
private String cpuName;
@NotNull(message = "52000141")
private Integer cpuRatio;
@NotNull(message = "52000142")
private Long runTime;
private Integer processorType;
private Integer temperature;
@NotNull(message = "52000143")
private Integer numberOfProcessors;
@NotNull(message = "52000144")
private Integer processorArchitecture;
@Size(max = 64, message = "52000026")
private String subDeviceCode;
@Size(max = 32, message = "52000098")
private String logId;
private String reserveInfo;
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 String getCpuName() {
return this.cpuName;
}
public void setCpuName(String cpuName) {
this.cpuName = cpuName;
}
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 Integer getProcessorType() {
return this.processorType;
}
public void setProcessorType(Integer processorType) {
this.processorType = processorType;
}
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 String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getSubDeviceCode() {
return this.subDeviceCode;
}
public void setSubDeviceCode(String subDeviceCode) {
this.subDeviceCode = subDeviceCode;
}
public Integer getTemperature() {
return this.temperature;
}
public void setTemperature(Integer temperature) {
this.temperature = temperature;
}
}
@@ -0,0 +1,114 @@
package cn.cloudwalk.client.device.health.param;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class DeviceDiskDataParam implements Serializable {
private static final long serialVersionUID = 1394685564345605341L;
@NotBlank(message = "52000150")
@Size(max = 200, message = "52000151")
private String rootPathName;
@NotNull(message = "52000152")
private Long totalNumberOfBytes;
@NotNull(message = "52000153")
private Long freeBytesAvailableToCaller;
@NotNull(message = "52000154")
private Integer isInstall;
private Long inodeTotal;
private Long inodeUsed;
private Integer iops;
private Integer throughput;
private Long waitTime;
private Double electricVoltage;
private Double electricCurrent;
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 getFreeBytesAvailableToCaller() {
return this.freeBytesAvailableToCaller;
}
public void setFreeBytesAvailableToCaller(Long freeBytesAvailableToCaller) {
this.freeBytesAvailableToCaller = freeBytesAvailableToCaller;
}
public Integer getIsInstall() {
return this.isInstall;
}
public void setIsInstall(Integer isInstall) {
this.isInstall = isInstall;
}
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,75 @@
package cn.cloudwalk.client.device.health.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;
public class DeviceDiskListParam implements Serializable {
private static final long serialVersionUID = 5257555569228801864L;
@Size(max = 32, message = "52000098")
private String logId;
@NotBlank(message = "52000025")
@Size(max = 64, message = "52000026")
private String deviceCode;
@NotNull(message = "52000041")
private Long runTime;
@Size(max = 64, message = "52000026")
private String subDeviceCode;
private String reserveInfo;
@Valid
@NotEmpty(message = "51000034")
@Size(max = 999, message = "51000034")
private List<DeviceDiskDataParam> data;
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 getRunTime() {
return this.runTime;
}
public void setRunTime(Long runTime) {
this.runTime = runTime;
}
public List<DeviceDiskDataParam> getData() {
return this.data;
}
public void setData(List<DeviceDiskDataParam> data) {
this.data = data;
}
public String getSubDeviceCode() {
return this.subDeviceCode;
}
public void setSubDeviceCode(String subDeviceCode) {
this.subDeviceCode = subDeviceCode;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
}
@@ -0,0 +1,41 @@
package cn.cloudwalk.client.device.health.param;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class DeviceGpuDataParam implements Serializable {
private static final long serialVersionUID = -855980262891455521L;
@NotBlank(message = "52000146")
@Size(max = 120, message = "52000147")
private String gpuName;
@NotNull(message = "52000148")
private Integer gpuRatio;
@NotNull(message = "52000149")
private Integer videoMemory;
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;
}
}
@@ -0,0 +1,75 @@
package cn.cloudwalk.client.device.health.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;
public class DeviceGpuParam implements Serializable {
private static final long serialVersionUID = -5528131397692172794L;
@NotBlank(message = "52000025")
@Size(max = 64, message = "52000026")
private String deviceCode;
@Size(max = 64, message = "52000026")
private String subDeviceCode;
@NotNull(message = "52000041")
private Long runTime;
@Valid
@NotEmpty(message = "52000040")
@Size(max = 999, message = "52000040")
private List<DeviceGpuDataParam> data;
@Size(max = 32, message = "52000098")
private String logId;
private String reserveInfo;
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 getRunTime() {
return this.runTime;
}
public void setRunTime(Long runTime) {
this.runTime = runTime;
}
public List<DeviceGpuDataParam> getData() {
return this.data;
}
public void setData(List<DeviceGpuDataParam> data) {
this.data = data;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public String getSubDeviceCode() {
return this.subDeviceCode;
}
public void setSubDeviceCode(String subDeviceCode) {
this.subDeviceCode = subDeviceCode;
}
}
@@ -0,0 +1,50 @@
package cn.cloudwalk.client.device.health.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class DeviceHealthParam implements Serializable {
private static final long serialVersionUID = -3750007035262149295L;
@NotBlank(message = "52000025")
@Size(max = 64, message = "52000026")
public String deviceCode;
@Size(max = 999, message = "51000091")
private List<String> subDeviceCodes;
@Size(max = 32, message = "52000098")
private String logId;
public String reserveInfo;
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public List<String> getSubDeviceCodes() {
return this.subDeviceCodes;
}
public void setSubDeviceCodes(List<String> subDeviceCodes) {
this.subDeviceCodes = subDeviceCodes;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
}
@@ -0,0 +1,90 @@
package cn.cloudwalk.client.device.health.param;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class DeviceMemoryParam implements Serializable {
private static final long serialVersionUID = 1468646205509262250L;
@NotBlank(message = "52000025")
@Size(max = 64, message = "52000026")
private String deviceCode;
@Size(max = 64, message = "52000026")
private String subDeviceCode;
@NotNull(message = "52000136")
private Integer memoryLoad;
@NotNull(message = "52000137")
private Long totalPhys;
@NotNull(message = "52000138")
private Long availPhys;
@NotNull(message = "52000139")
private Long reportTime;
@Size(max = 32, message = "52000098")
private String logId;
public String reserveInfo;
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public Integer getMemoryLoad() {
return this.memoryLoad;
}
public void setMemoryLoad(Integer memoryLoad) {
this.memoryLoad = memoryLoad;
}
public Long getTotalPhys() {
return this.totalPhys;
}
public void setTotalPhys(Long totalPhys) {
this.totalPhys = totalPhys;
}
public Long getAvailPhys() {
return this.availPhys;
}
public void setAvailPhys(Long availPhys) {
this.availPhys = availPhys;
}
public Long getReportTime() {
return this.reportTime;
}
public void setReportTime(Long reportTime) {
this.reportTime = reportTime;
}
public String getSubDeviceCode() {
return this.subDeviceCode;
}
public void setSubDeviceCode(String subDeviceCode) {
this.subDeviceCode = subDeviceCode;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
}
@@ -0,0 +1,34 @@
package cn.cloudwalk.client.device.health.param;
import java.io.Serializable;
public class DeviceNetDataParam implements Serializable {
private static final long serialVersionUID = -7280495966945790266L;
private Integer throughput;
private Integer bandWidth;
private Long waitTime;
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,75 @@
package cn.cloudwalk.client.device.health.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;
public class DeviceNetListParam implements Serializable {
private static final long serialVersionUID = 4641381841925535541L;
@NotBlank(message = "52000025")
@Size(max = 64, message = "52000026")
private String deviceCode;
@Size(max = 64, message = "52000026")
private String subDeviceCode;
@NotNull(message = "52000139")
private Long runTime;
@Valid
@NotEmpty(message = "52000195")
@Size(max = 999, message = "52000196")
private List<DeviceNetDataParam> data;
@Size(max = 32, message = "52000098")
private String logId;
private String reserveInfo;
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public String getSubDeviceCode() {
return this.subDeviceCode;
}
public void setSubDeviceCode(String subDeviceCode) {
this.subDeviceCode = subDeviceCode;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public Long getRunTime() {
return this.runTime;
}
public void setRunTime(Long runTime) {
this.runTime = runTime;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
public List<DeviceNetDataParam> getData() {
return this.data;
}
public void setData(List<DeviceNetDataParam> data) {
this.data = data;
}
}
@@ -0,0 +1,97 @@
package cn.cloudwalk.client.device.health.result;
import java.io.Serializable;
public class DeviceCpuStatusQueryResult implements Serializable {
private static final long serialVersionUID = 2124182860890511619L;
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 String getDeviceId() {
return this.deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public String getCpuName() {
return this.cpuName;
}
public Integer getNumberOfProcessors() {
return this.numberOfProcessors;
}
public Integer getProcessorArchitecture() {
return this.processorArchitecture;
}
public Integer getProcessorType() {
return this.processorType;
}
public Integer getCpuRatio() {
return this.cpuRatio;
}
public Long getRunTime() {
return this.runTime;
}
public Long getReportTime() {
return this.reportTime;
}
public void setId(String id) {
this.id = id;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public void setCpuName(String cpuName) {
this.cpuName = cpuName;
}
public void setNumberOfProcessors(Integer numberOfProcessors) {
this.numberOfProcessors = numberOfProcessors;
}
public void setProcessorArchitecture(Integer processorArchitecture) {
this.processorArchitecture = processorArchitecture;
}
public void setProcessorType(Integer processorType) {
this.processorType = processorType;
}
public void setCpuRatio(Integer cpuRatio) {
this.cpuRatio = cpuRatio;
}
public void setRunTime(Long runTime) {
this.runTime = runTime;
}
public void setReportTime(Long reportTime) {
this.reportTime = reportTime;
}
}
@@ -0,0 +1,45 @@
package cn.cloudwalk.client.device.health.result;
import cn.cloudwalk.client.device.health.param.DeviceDiskDataParam;
import java.io.Serializable;
import java.util.List;
public class DeviceHardDiskStatusResult implements Serializable {
private static final long serialVersionUID = -3467486856231864114L;
private String id;
private String deviceId;
private String deviceCode;
private List<DeviceDiskDataParam> hardDiskInfo;
public String getId() {
return this.id;
}
public String getDeviceId() {
return this.deviceId;
}
public String getDeviceCode() {
return this.deviceCode;
}
public List<DeviceDiskDataParam> getHardDiskInfo() {
return this.hardDiskInfo;
}
public void setId(String id) {
this.id = id;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public void setHardDiskInfo(List<DeviceDiskDataParam> hardDiskInfo) {
this.hardDiskInfo = hardDiskInfo;
}
}
@@ -0,0 +1,31 @@
package cn.cloudwalk.client.device.health.service;
import cn.cloudwalk.client.device.health.param.DeviceCpuParam;
import cn.cloudwalk.client.device.health.param.DeviceDiskListParam;
import cn.cloudwalk.client.device.health.param.DeviceGpuParam;
import cn.cloudwalk.client.device.health.param.DeviceHealthParam;
import cn.cloudwalk.client.device.health.param.DeviceMemoryParam;
import cn.cloudwalk.client.device.health.param.DeviceNetListParam;
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
import cn.cloudwalk.cloud.exception.ServiceException;
import cn.cloudwalk.cloud.result.CloudwalkResult;
public interface DeviceHealthService {
CloudwalkResult<Boolean> health(DeviceHealthParam paramDeviceHealthParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<Boolean> cpu(DeviceCpuParam paramDeviceCpuParam, CloudwalkCallContext paramCloudwalkCallContext)
throws ServiceException;
CloudwalkResult<Boolean> disk(DeviceDiskListParam paramDeviceDiskListParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<Boolean> memory(DeviceMemoryParam paramDeviceMemoryParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<Boolean> gpu(DeviceGpuParam paramDeviceGpuParam, CloudwalkCallContext paramCloudwalkCallContext)
throws ServiceException;
CloudwalkResult<Boolean> network(DeviceNetListParam paramDeviceNetListParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
}
@@ -0,0 +1,62 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
import java.util.List;
public class AdvertisementSettingParam implements Serializable {
private static final long serialVersionUID = -2812043935065270360L;
private List<String> deviceIds;
private List<String> imgUrls;
private Integer shufflingInterval;
private Integer optType;
private String advertisementId;
private Integer showSwitch;
public List<String> getDeviceIds() {
return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
this.deviceIds = deviceIds;
}
public List<String> getImgUrls() {
return this.imgUrls;
}
public void setImgUrls(List<String> imgUrls) {
this.imgUrls = imgUrls;
}
public Integer getShufflingInterval() {
return this.shufflingInterval;
}
public void setShufflingInterval(Integer shufflingInterval) {
this.shufflingInterval = shufflingInterval;
}
public Integer getOptType() {
return this.optType;
}
public void setOptType(Integer optType) {
this.optType = optType;
}
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,26 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
import java.util.List;
public class CompareModelSettingParam implements Serializable {
private static final long serialVersionUID = 7578912945644612193L;
private List<String> deviceIds;
private Integer compareModel;
public List<String> getDeviceIds() {
return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
this.deviceIds = deviceIds;
}
public Integer getCompareModel() {
return this.compareModel;
}
public void setCompareModel(Integer compareModel) {
this.compareModel = compareModel;
}
}
@@ -0,0 +1,54 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
import java.util.List;
import java.util.Set;
public class DeviceControllerQueryParam implements Serializable {
private static final long serialVersionUID = 3492353642851750040L;
private List<String> deviceIds;
private Set<String> attrCodes;
private String deviceType;
private Integer currentPage;
private Integer pageSize;
public List<String> getDeviceIds() {
return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
this.deviceIds = deviceIds;
}
public String getDeviceType() {
return this.deviceType;
}
public void setDeviceType(String deviceType) {
this.deviceType = deviceType;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Set<String> getAttrCodes() {
return this.attrCodes;
}
public void setAttrCodes(Set<String> attrCodes) {
this.attrCodes = attrCodes;
}
}
@@ -0,0 +1,235 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
import java.util.List;
public class DeviceSdkInformationParam implements Serializable {
private static final long serialVersionUID = -905524714947557333L;
private String deviceId;
private String deviceTypeId;
private String deviceName;
private String appVersion;
private String osVersion;
private String firmwareVersion;
private List<VersionData> versionData;
private List<NetworkData> networkData;
private List<DeviceAttr> deviceAttrs;
public List<DeviceAttr> getDeviceAttrs() {
return this.deviceAttrs;
}
public void setDeviceAttrs(List<DeviceAttr> deviceAttrs) {
this.deviceAttrs = deviceAttrs;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getDeviceName() {
return this.deviceName;
}
public void setDeviceName(String deviceName) {
this.deviceName = deviceName;
}
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
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 List<VersionData> getVersionData() {
return this.versionData;
}
public void setVersionData(List<VersionData> versionData) {
this.versionData = versionData;
}
public List<NetworkData> getNetworkData() {
return this.networkData;
}
public void setNetworkData(List<NetworkData> networkData) {
this.networkData = networkData;
}
public static class VersionData {
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;
}
}
public static class NetworkData {
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;
}
}
public static class DeviceAttr {
private String attrCode;
private String attrValue;
private String attrDisplayName;
public String getAttrCode() {
return this.attrCode;
}
public void setAttrCode(String attrCode) {
this.attrCode = attrCode;
}
public String getAttrValue() {
return this.attrValue;
}
public void setAttrValue(String attrValue) {
this.attrValue = attrValue;
}
public String getAttrDisplayName() {
return this.attrDisplayName;
}
public void setAttrDisplayName(String attrDisplayName) {
this.attrDisplayName = attrDisplayName;
}
}
}
@@ -0,0 +1,16 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
public class DeviceUpgradeGetConfigParam implements Serializable {
private static final long serialVersionUID = 5724135132638157209L;
private String deviceId;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
}
@@ -0,0 +1,79 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
public class DeviceUpgradeResultParam implements Serializable {
private static final long serialVersionUID = 5744369479607926806L;
private String deviceId;
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 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 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 Integer getPackageSize() {
return this.packageSize;
}
public void setPackageSize(Integer packageSize) {
this.packageSize = packageSize;
}
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;
}
}
@@ -0,0 +1,43 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
public class DeviceUpgradeSetConfigParam implements Serializable {
private static final long serialVersionUID = -2184278651957207292L;
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,44 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
import java.util.List;
public class EntranceGuardQueryParam implements Serializable {
private static final long serialVersionUID = 593765098619820508L;
private List<String> deviceIds;
private String deviceType;
private Integer currentPage;
private Integer pageSize;
public String getDeviceType() {
return this.deviceType;
}
public void setDeviceType(String deviceType) {
this.deviceType = deviceType;
}
public List<String> getDeviceIds() {
return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
this.deviceIds = deviceIds;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
}
@@ -0,0 +1,35 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
import java.util.List;
public class EntranceGuardSettingParam implements Serializable {
private static final long serialVersionUID = -3023020917928492166L;
private List<String> deviceIds;
private Integer switchModel;
private Integer openInterval;
public List<String> getDeviceIds() {
return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
this.deviceIds = deviceIds;
}
public Integer getSwitchModel() {
return this.switchModel;
}
public void setSwitchModel(Integer switchModel) {
this.switchModel = switchModel;
}
public Integer getOpenInterval() {
return this.openInterval;
}
public void setOpenInterval(Integer openInterval) {
this.openInterval = openInterval;
}
}
@@ -0,0 +1,89 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
import java.util.List;
public class ExtendSettingParam implements Serializable {
private static final long serialVersionUID = -8274787500681864022L;
private List<String> deviceIds;
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 List<String> getDeviceIds() {
return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
this.deviceIds = deviceIds;
}
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,70 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
public class OceanCPUParam implements Serializable {
private static final long serialVersionUID = 2582347363946840439L;
private String deviceId;
private Long runTime;
private String cpuName;
private Integer processorsNumber;
private Integer processorArchitecture;
private Integer processorType;
private Integer cpuRatio;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public Long getRunTime() {
return this.runTime;
}
public void setRunTime(Long runTime) {
this.runTime = runTime;
}
public Integer getProcessorsNumber() {
return this.processorsNumber;
}
public void setProcessorsNumber(Integer processorsNumber) {
this.processorsNumber = processorsNumber;
}
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 String getCpuName() {
return this.cpuName;
}
public void setCpuName(String cpuName) {
this.cpuName = cpuName;
}
}
@@ -0,0 +1,77 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
import java.util.List;
public class OceanDISKParam implements Serializable {
private static final long serialVersionUID = -7033312691554377999L;
private String deviceId;
private Long runTime;
private List<DiskData> dataList;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public Long getRunTime() {
return this.runTime;
}
public void setRunTime(Long runTime) {
this.runTime = runTime;
}
public List<DiskData> getDataList() {
return this.dataList;
}
public void setDataList(List<DiskData> dataList) {
this.dataList = dataList;
}
public static class DiskData {
private String rootPathName;
private Long talNumber;
private Long freeAvailableCaller;
private Boolean isInstall;
public String getRootPathName() {
return this.rootPathName;
}
public void setRootPathName(String rootPathName) {
this.rootPathName = rootPathName;
}
public Long getTalNumber() {
return this.talNumber;
}
public void setTalNumber(Long talNumber) {
this.talNumber = talNumber;
}
public Boolean getInstall() {
return this.isInstall;
}
public void setInstall(Boolean install) {
this.isInstall = install;
}
public Long getFreeAvailableCaller() {
return this.freeAvailableCaller;
}
public void setFreeAvailableCaller(Long freeAvailableCaller) {
this.freeAvailableCaller = freeAvailableCaller;
}
}
}
@@ -0,0 +1,17 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
import java.util.List;
public class OceanDeviceDeleteParam implements Serializable {
private static final long serialVersionUID = 3445516335772208482L;
private List<String> deviceIds;
public List<String> getDeviceIds() {
return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
this.deviceIds = deviceIds;
}
}
@@ -0,0 +1,67 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
import java.util.List;
public class OceanGPUParam implements Serializable {
private static final long serialVersionUID = -3507474382961112033L;
private String deviceId;
private Long runTime;
private List<GPUData> datas;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public Long getRunTime() {
return this.runTime;
}
public void setRunTime(Long runTime) {
this.runTime = runTime;
}
public List<GPUData> getDatas() {
return this.datas;
}
public void setDatas(List<GPUData> datas) {
this.datas = datas;
}
public static class GPUData {
private String gpuName;
private Integer videoMemory;
private Integer gpuRatio;
public String getGpuName() {
return this.gpuName;
}
public void setGpuRatio(Integer gpuRatio) {
this.gpuRatio = gpuRatio;
}
public Integer getGpuRatio() {
return this.gpuRatio;
}
public void setVideoMemory(Integer videoMemory) {
this.videoMemory = videoMemory;
}
public void setGpuName(String gpuName) {
this.gpuName = gpuName;
}
public Integer getVideoMemory() {
return this.videoMemory;
}
}
}
@@ -0,0 +1,43 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
public class OceanLocationParam implements Serializable {
private static final long serialVersionUID = 2035425577442222116L;
private String deviceId;
private Long timestamp;
private String longitude;
private String latitude;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public Long getTimestamp() {
return this.timestamp;
}
public void setTimestamp(Long timestamp) {
this.timestamp = timestamp;
}
public String getLongitude() {
return this.longitude;
}
public void setLongitude(String longitude) {
this.longitude = longitude;
}
public String getLatitude() {
return this.latitude;
}
public void setLatitude(String latitude) {
this.latitude = latitude;
}
}
@@ -0,0 +1,52 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
public class OceanMemoryParam implements Serializable {
private static final long serialVersionUID = -2826794825907507393L;
private String deviceId;
private Long runTime;
private Integer memoryLoad;
private Long totalPhysical;
private Long availPhysical;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public Long getRunTime() {
return this.runTime;
}
public void setRunTime(Long runTime) {
this.runTime = runTime;
}
public Long getTotalPhysical() {
return this.totalPhysical;
}
public void setTotalPhysical(Long totalPhysical) {
this.totalPhysical = totalPhysical;
}
public Long getAvailPhysical() {
return this.availPhysical;
}
public void setAvailPhysical(Long availPhysical) {
this.availPhysical = availPhysical;
}
public Integer getMemoryLoad() {
return this.memoryLoad;
}
public void setMemoryLoad(Integer memoryLoad) {
this.memoryLoad = memoryLoad;
}
}
@@ -0,0 +1,48 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
import java.util.List;
public class OceanModifyDeviceAttrsParam implements Serializable {
private static final long serialVersionUID = -5980670624947517009L;
private String deviceId;
private List<DeviceAttrItem> deviceAttrItems;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public List<DeviceAttrItem> getDeviceAttrItems() {
return this.deviceAttrItems;
}
public void setDeviceAttrItems(List<DeviceAttrItem> deviceAttrItems) {
this.deviceAttrItems = deviceAttrItems;
}
public static class DeviceAttrItem {
private String attrCode;
private String attrValue;
public String getAttrCode() {
return this.attrCode;
}
public void setAttrCode(String attrCode) {
this.attrCode = attrCode;
}
public String getAttrValue() {
return this.attrValue;
}
public void setAttrValue(String attrValue) {
this.attrValue = attrValue;
}
}
}
@@ -0,0 +1,43 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
public class OceanReportLogParam implements Serializable {
private static final long serialVersionUID = -5210246765994204974L;
private String deviceId;
private String logType;
private Long logTime;
private String logDesc;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public Long getLogTime() {
return this.logTime;
}
public void setLogTime(Long logTime) {
this.logTime = logTime;
}
public String getLogDesc() {
return this.logDesc;
}
public void setLogDesc(String logDesc) {
this.logDesc = logDesc;
}
public String getLogType() {
return this.logType;
}
public void setLogType(String logType) {
this.logType = logType;
}
}
@@ -0,0 +1,26 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
import java.util.List;
public class OpenCloseDoorParam implements Serializable {
private static final long serialVersionUID = 4096152083478782490L;
private List<String> deviceIds;
private Integer optType;
public List<String> getDeviceIds() {
return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
this.deviceIds = deviceIds;
}
public Integer getOptType() {
return this.optType;
}
public void setOptType(Integer optType) {
this.optType = optType;
}
}
@@ -0,0 +1,53 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
import java.util.List;
public class RecognitionSettingParam implements Serializable {
private static final long serialVersionUID = 9204901258194923903L;
private List<String> deviceIds;
private Float thresholdOf1vN;
private Float thresholdOf1v1;
private Integer minFaceSize;
private Float qualityScore;
public List<String> getDeviceIds() {
return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
this.deviceIds = deviceIds;
}
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,34 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
public class UpgradeQueryParam implements Serializable {
private static final long serialVersionUID = 8077612465500143299L;
private String deviceId;
private Integer versionType;
private String version;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
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;
}
}
@@ -0,0 +1,62 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
import java.util.List;
public class UpgradeSettingParam implements Serializable {
private static final long serialVersionUID = -7646141158128532031L;
private List<String> deviceIds;
private String version;
private String downloadUrl;
private Integer updateType;
private Long packageSize;
private String remark;
public List<String> getDeviceIds() {
return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
this.deviceIds = deviceIds;
}
public String getVersion() {
return this.version;
}
public void setVersion(String version) {
this.version = version;
}
public String getDownloadUrl() {
return this.downloadUrl;
}
public void setDownloadUrl(String downloadUrl) {
this.downloadUrl = downloadUrl;
}
public Integer getUpdateType() {
return this.updateType;
}
public void setUpdateType(Integer updateType) {
this.updateType = updateType;
}
public Long getPackageSize() {
return this.packageSize;
}
public void setPackageSize(Long packageSize) {
this.packageSize = packageSize;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
}
@@ -0,0 +1,44 @@
package cn.cloudwalk.client.device.ocean.param;
import java.io.Serializable;
import java.util.List;
public class VolumeSettingParam implements Serializable {
private static final long serialVersionUID = -7986839011712121480L;
private List<String> deviceIds;
private Integer volume;
private Integer successSound;
private Integer failSound;
public List<String> getDeviceIds() {
return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
this.deviceIds = deviceIds;
}
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,52 @@
package cn.cloudwalk.client.device.ocean.result;
import java.io.Serializable;
public class AdvertisementQueryResult implements Serializable {
private static final long serialVersionUID = -1193039151506886230L;
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.client.device.ocean.result;
import java.io.Serializable;
public class CompareModelQueryResult implements Serializable {
private static final long serialVersionUID = -1193039151506886230L;
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,152 @@
package cn.cloudwalk.client.device.ocean.result;
import java.io.Serializable;
import java.util.Map;
public class DeviceBaseInfoResult implements Serializable {
private static final long serialVersionUID = 4218544264264973799L;
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,43 @@
package cn.cloudwalk.client.device.ocean.result;
import java.io.Serializable;
public class DeviceRunningInfoResult implements Serializable {
private static final long serialVersionUID = 4931932219527470137L;
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.client.device.ocean.result;
import java.io.Serializable;
public class EntranceGuardQueryResult implements Serializable {
private static final long serialVersionUID = -6644489271592896527L;
private String deviceId;
private String deviceType;
private Integer switchModel;
private Float openInterval;
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 getSwitchModel() {
return this.switchModel;
}
public void setSwitchModel(Integer switchModel) {
this.switchModel = switchModel;
}
public Float getOpenInterval() {
return this.openInterval;
}
public void setOpenInterval(Float openInterval) {
this.openInterval = openInterval;
}
}
@@ -0,0 +1,97 @@
package cn.cloudwalk.client.device.ocean.result;
import java.io.Serializable;
public class ExtendQueryResult implements Serializable {
private static final long serialVersionUID = 8076744825780513587L;
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,61 @@
package cn.cloudwalk.client.device.ocean.result;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class OceanDeviceLogsResult extends CloudwalkBaseTimes {
private static final long serialVersionUID = 7844012300661106445L;
private String deviceId;
private String logId;
private String logType;
private Long logTime;
private String logDesc;
private String deviceName;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getLogId() {
return this.logId;
}
public void setLogId(String logId) {
this.logId = logId;
}
public String getLogType() {
return this.logType;
}
public void setLogType(String logType) {
this.logType = logType;
}
public Long getLogTime() {
return this.logTime;
}
public void setLogTime(Long logTime) {
this.logTime = logTime;
}
public String getLogDesc() {
return this.logDesc;
}
public void setLogDesc(String logDesc) {
this.logDesc = logDesc;
}
public String getDeviceName() {
return this.deviceName;
}
public void setDeviceName(String deviceName) {
this.deviceName = deviceName;
}
}
@@ -0,0 +1,61 @@
package cn.cloudwalk.client.device.ocean.result;
import java.io.Serializable;
public class RecognitionQueryResult implements Serializable {
private static final long serialVersionUID = -7931252297145209165L;
private String deviceId;
private String deviceType;
private Float thresholdOf1vN;
private Float thresholdOf1v1;
private Integer minFaceSize;
private Float qualityScore;
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 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,34 @@
package cn.cloudwalk.client.device.ocean.result;
import java.io.Serializable;
public class UpgradeConfigQueryResult implements Serializable {
private static final long serialVersionUID = -6226320746337399291L;
private String deviceId;
private String timelimit;
private Integer netlimit;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
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;
}
}
@@ -0,0 +1,162 @@
package cn.cloudwalk.client.device.ocean.result;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
import java.io.Serializable;
public class UpgradeQueryResult extends CloudwalkBaseTimes implements Serializable {
private static final long serialVersionUID = 8134876771256557767L;
private String deviceId;
private Integer versionType;
private String version;
private Integer upgradeType;
private FullPackageData fullPackageData;
private PackageData packageData;
public String getVersion() {
return this.version;
}
public void setVersion(String version) {
this.version = version;
}
public Integer getVersionType() {
return this.versionType;
}
public void setVersionType(Integer versionType) {
this.versionType = versionType;
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public Integer getUpgradeType() {
return this.upgradeType;
}
public void setUpgradeType(Integer upgradeType) {
this.upgradeType = upgradeType;
}
public FullPackageData getFullPackageData() {
return this.fullPackageData;
}
public void setFullPackageData(FullPackageData fullPackageData) {
this.fullPackageData = fullPackageData;
}
public PackageData getPackageData() {
return this.packageData;
}
public void setPackageData(PackageData packageData) {
this.packageData = packageData;
}
public static class FullPackageData {
private String packageUrl;
private Integer packageLength;
private String packageMd5;
private String remark;
public String getPackageUrl() {
return this.packageUrl;
}
public void setPackageUrl(String packageUrl) {
this.packageUrl = packageUrl;
}
public Integer getPackageLength() {
return this.packageLength;
}
public void setPackageLength(Integer packageLength) {
this.packageLength = packageLength;
}
public String getPackageMd5() {
return this.packageMd5;
}
public void setPackageMd5(String packageMd5) {
this.packageMd5 = packageMd5;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
}
public static class PackageData {
private String previousVersion;
private String currentVersion;
private String packageUrl;
private String packageMd5;
private Integer packageLength;
private String remark;
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 String getPackageMd5() {
return this.packageMd5;
}
public void setPackageMd5(String packageMd5) {
this.packageMd5 = packageMd5;
}
public String getPackageUrl() {
return this.packageUrl;
}
public void setPackageUrl(String packageUrl) {
this.packageUrl = packageUrl;
}
public Integer getPackageLength() {
return this.packageLength;
}
public void setPackageLength(Integer packageLength) {
this.packageLength = packageLength;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
}
}
@@ -0,0 +1,52 @@
package cn.cloudwalk.client.device.ocean.result;
import java.io.Serializable;
public class VolumeQueryResult implements Serializable {
private static final long serialVersionUID = -3979544124542760502L;
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,83 @@
package cn.cloudwalk.client.device.ocean.service;
import cn.cloudwalk.client.device.ocean.param.AdvertisementSettingParam;
import cn.cloudwalk.client.device.ocean.param.CompareModelSettingParam;
import cn.cloudwalk.client.device.ocean.param.DeviceControllerQueryParam;
import cn.cloudwalk.client.device.ocean.param.EntranceGuardSettingParam;
import cn.cloudwalk.client.device.ocean.param.ExtendSettingParam;
import cn.cloudwalk.client.device.ocean.param.OpenCloseDoorParam;
import cn.cloudwalk.client.device.ocean.param.RecognitionSettingParam;
import cn.cloudwalk.client.device.ocean.param.UpgradeQueryParam;
import cn.cloudwalk.client.device.ocean.param.UpgradeSettingParam;
import cn.cloudwalk.client.device.ocean.param.VolumeSettingParam;
import cn.cloudwalk.client.device.ocean.result.AdvertisementQueryResult;
import cn.cloudwalk.client.device.ocean.result.CompareModelQueryResult;
import cn.cloudwalk.client.device.ocean.result.EntranceGuardQueryResult;
import cn.cloudwalk.client.device.ocean.result.ExtendQueryResult;
import cn.cloudwalk.client.device.ocean.result.RecognitionQueryResult;
import cn.cloudwalk.client.device.ocean.result.UpgradeQueryResult;
import cn.cloudwalk.client.device.ocean.result.VolumeQueryResult;
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
import cn.cloudwalk.cloud.exception.ServiceException;
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
import cn.cloudwalk.cloud.result.CloudwalkResult;
import java.util.List;
public interface DeviceControllerService {
CloudwalkResult<String> recognitionSetting(RecognitionSettingParam paramRecognitionSettingParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<CloudwalkPageAble<RecognitionQueryResult>> queryRecognition(
DeviceControllerQueryParam paramDeviceControllerQueryParam, CloudwalkCallContext paramCloudwalkCallContext)
throws ServiceException;
CloudwalkResult<String> entranceGuardSetting(EntranceGuardSettingParam paramEntranceGuardSettingParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<CloudwalkPageAble<EntranceGuardQueryResult>> queryEntranceGuard(
DeviceControllerQueryParam paramDeviceControllerQueryParam, CloudwalkCallContext paramCloudwalkCallContext)
throws ServiceException;
CloudwalkResult<String> extendSetting(ExtendSettingParam paramExtendSettingParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<CloudwalkPageAble<ExtendQueryResult>> queryExtend(
DeviceControllerQueryParam paramDeviceControllerQueryParam, CloudwalkCallContext paramCloudwalkCallContext)
throws ServiceException;
CloudwalkResult<String> restartSetting(List<String> paramList, CloudwalkCallContext paramCloudwalkCallContext)
throws ServiceException;
CloudwalkResult<String> advertisementSetting(AdvertisementSettingParam paramAdvertisementSettingParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<CloudwalkPageAble<AdvertisementQueryResult>> queryAdvertisement(
DeviceControllerQueryParam paramDeviceControllerQueryParam, CloudwalkCallContext paramCloudwalkCallContext)
throws ServiceException;
CloudwalkResult<String> upgradeSetting(UpgradeSettingParam paramUpgradeSettingParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<UpgradeQueryResult> queryUpgrade(UpgradeQueryParam paramUpgradeQueryParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<UpgradeQueryResult> queryUpgradeByVersion(UpgradeQueryParam paramUpgradeQueryParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<String> compareModelSetting(CompareModelSettingParam paramCompareModelSettingParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<CloudwalkPageAble<CompareModelQueryResult>> queryCompareModel(
DeviceControllerQueryParam paramDeviceControllerQueryParam, CloudwalkCallContext paramCloudwalkCallContext)
throws ServiceException;
CloudwalkResult<String> volumeSetting(VolumeSettingParam paramVolumeSettingParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<CloudwalkPageAble<VolumeQueryResult>> queryVolume(
DeviceControllerQueryParam paramDeviceControllerQueryParam, CloudwalkCallContext paramCloudwalkCallContext)
throws ServiceException;
CloudwalkResult<String> openCloseDoor(OpenCloseDoorParam paramOpenCloseDoorParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
}
@@ -0,0 +1,21 @@
package cn.cloudwalk.client.device.ocean.service;
import cn.cloudwalk.client.device.ocean.param.DeviceSdkInformationParam;
import cn.cloudwalk.client.device.ocean.param.OceanDeviceDeleteParam;
import cn.cloudwalk.client.device.ocean.param.OceanModifyDeviceAttrsParam;
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
import cn.cloudwalk.cloud.exception.ServiceException;
import cn.cloudwalk.cloud.result.CloudwalkResult;
import java.util.List;
public interface DeviceInfoUploadService {
CloudwalkResult<List<DeviceSdkInformationParam.VersionData>> sdkInformation(
DeviceSdkInformationParam paramDeviceSdkInformationParam, CloudwalkCallContext paramCloudwalkCallContext)
throws ServiceException;
CloudwalkResult<Boolean> disableDevice(OceanDeviceDeleteParam paramOceanDeviceDeleteParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<Boolean> modifyDeviceAttrs(OceanModifyDeviceAttrsParam paramOceanModifyDeviceAttrsParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
}
@@ -0,0 +1,31 @@
package cn.cloudwalk.client.device.ocean.service;
import cn.cloudwalk.client.device.ocean.param.OceanCPUParam;
import cn.cloudwalk.client.device.ocean.param.OceanDISKParam;
import cn.cloudwalk.client.device.ocean.param.OceanGPUParam;
import cn.cloudwalk.client.device.ocean.param.OceanLocationParam;
import cn.cloudwalk.client.device.ocean.param.OceanMemoryParam;
import cn.cloudwalk.client.device.ocean.param.OceanReportLogParam;
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
import cn.cloudwalk.cloud.exception.ServiceException;
import cn.cloudwalk.cloud.result.CloudwalkResult;
public interface DeviceStatusService {
CloudwalkResult<Boolean> reportLog(OceanReportLogParam paramOceanReportLogParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<Boolean> reportMemory(OceanMemoryParam paramOceanMemoryParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<Boolean> reportGPU(OceanGPUParam paramOceanGPUParam, CloudwalkCallContext paramCloudwalkCallContext)
throws ServiceException;
CloudwalkResult<Boolean> reportCPU(OceanCPUParam paramOceanCPUParam, CloudwalkCallContext paramCloudwalkCallContext)
throws ServiceException;
CloudwalkResult<Boolean> reportDisk(OceanDISKParam paramOceanDISKParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<Boolean> reportLocation(OceanLocationParam paramOceanLocationParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
}
@@ -0,0 +1,26 @@
package cn.cloudwalk.client.device.ocean.service;
import cn.cloudwalk.client.device.ocean.param.DeviceUpgradeGetConfigParam;
import cn.cloudwalk.client.device.ocean.param.DeviceUpgradeResultParam;
import cn.cloudwalk.client.device.ocean.param.DeviceUpgradeSetConfigParam;
import cn.cloudwalk.client.device.ocean.result.UpgradeConfigQueryResult;
import cn.cloudwalk.client.device.pkg.result.DeviceUpgradeRevertResult;
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
import cn.cloudwalk.cloud.exception.ServiceException;
import cn.cloudwalk.cloud.result.CloudwalkResult;
import java.util.List;
public interface OceanDeviceUpgradeService {
CloudwalkResult<UpgradeConfigQueryResult> getUpgradeConfig(
DeviceUpgradeGetConfigParam paramDeviceUpgradeGetConfigParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<Boolean> setUpgradeConfig(DeviceUpgradeSetConfigParam paramDeviceUpgradeSetConfigParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<Boolean> uploadUpgradeLog(DeviceUpgradeResultParam paramDeviceUpgradeResultParam,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<List<DeviceUpgradeRevertResult>> queryUpgradeLogByDeviceCode(String paramString,
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
}
@@ -0,0 +1,19 @@
package cn.cloudwalk.client.device.ocean.service;
import cn.cloudwalk.client.device.ocean.param.DeviceControllerQueryParam;
import cn.cloudwalk.client.device.ocean.result.DeviceBaseInfoResult;
import cn.cloudwalk.client.device.ocean.result.DeviceRunningInfoResult;
import cn.cloudwalk.cloud.context.CloudwalkCallContext;
import cn.cloudwalk.cloud.exception.ServiceException;
import cn.cloudwalk.cloud.page.CloudwalkPageAble;
import cn.cloudwalk.cloud.result.CloudwalkResult;
public interface UploadDataQueryService {
CloudwalkResult<CloudwalkPageAble<DeviceBaseInfoResult>> queryDeviceBaseInfo(
DeviceControllerQueryParam paramDeviceControllerQueryParam, CloudwalkCallContext paramCloudwalkCallContext)
throws ServiceException;
CloudwalkResult<CloudwalkPageAble<DeviceRunningInfoResult>> queryDeviceRunningInfo(
DeviceControllerQueryParam paramDeviceControllerQueryParam, CloudwalkCallContext paramCloudwalkCallContext)
throws ServiceException;
}
@@ -0,0 +1,21 @@
package cn.cloudwalk.client.device.pkg.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
public class DeviceUpgradeConfDeltParam implements Serializable {
private static final long serialVersionUID = 3386378275146425573L;
@NotNull(message = "52000165")
@Size(max = 999, message = "52000166")
private List<String> ids;
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
}
@@ -0,0 +1,81 @@
package cn.cloudwalk.client.device.pkg.param;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.Range;
public class DeviceUpgradeConfEditParam implements Serializable {
private static final long serialVersionUID = -724335078534339346L;
@NotBlank(message = "52000163")
@Size(max = 32, message = "52000164")
private String id;
@Size(max = 16, message = "52000161")
private String timeLimit;
private Integer netLimit;
@NotNull(message = "52000172")
@Range(min = 1L, max = 4L, message = "52000172")
private Integer status;
@Size(max = 200, message = "52000162")
private String remark;
@Size(max = 64, message = "52000244")
private String name;
private Long endTime;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
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;
}
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 Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
}
}
@@ -0,0 +1,21 @@
package cn.cloudwalk.client.device.pkg.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
public class DeviceUpgradeConfGetsParam implements Serializable {
private static final long serialVersionUID = 8356907237369027404L;
@NotNull(message = "52000165")
@Size(max = 999, message = "52000166")
private List<String> ids;
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
}
@@ -0,0 +1,85 @@
package cn.cloudwalk.client.device.pkg.param;
import java.io.Serializable;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class DeviceUpgradeConfNewParam implements Serializable {
private static final long serialVersionUID = -7112200286703329855L;
@NotBlank(message = "52000111")
@Size(max = 32, message = "51000008")
private String deviceTypeId;
@NotBlank(message = "52000160")
@Size(max = 16, message = "52000161")
private String timeLimit;
private Integer netLimit;
@Size(max = 200, message = "52000162")
private String remark;
@NotBlank(message = "52000251")
@Size(max = 64, message = "52000244")
private String name;
private Long endTime;
@NotBlank(message = "52000245")
@Size(min = 32, max = 32, message = "52000246")
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 String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public static long getSerialVersionUID() {
return -7112200286703329855L;
}
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,52 @@
package cn.cloudwalk.client.device.pkg.param;
import cn.cloudwalk.cloud.entity.CloudwalkBasePeriod;
public class DeviceUpgradeConfQueryParam extends CloudwalkBasePeriod {
private static final long serialVersionUID = -4548860584011459581L;
private String deviceTypeId;
private Integer status;
private String name;
private Long endTime;
private String upgradeId;
public String getDeviceTypeId() {
return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
this.deviceTypeId = deviceTypeId;
}
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 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,21 @@
package cn.cloudwalk.client.device.pkg.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
public class DeviceUpgradeDeltParam implements Serializable {
private static final long serialVersionUID = 1244018623508527710L;
@NotNull(message = "52000118")
@Size(max = 999, message = "52000119")
private List<String> ids;
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
}
@@ -0,0 +1,164 @@
package cn.cloudwalk.client.device.pkg.param;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.Range;
public class DeviceUpgradeEditParam implements Serializable {
private static final long serialVersionUID = 2262878041075118819L;
@NotBlank(message = "52000240")
@Size(max = 32, message = "51000008")
private String deviceTypeId;
@Size(max = 32, message = "52000122")
private String previousVersion;
@NotBlank(message = "52000123")
@Size(max = 32, message = "52000124")
private String currentVersion;
@NotNull(message = "52000125")
private Integer versionType;
@NotNull(message = "52000126")
private Integer upgradeType;
@Size(max = 500, message = "52000128")
private String fullPkgUrl;
@NotNull(message = "52000129")
private Integer fullPkgLength;
@Size(max = 64, message = "52000130")
private String fullPkgMd5;
@Size(max = 500, message = "52000132")
private String appendPkgUrl;
@NotNull(message = "52000133")
private Integer appendPkgLength;
@Size(max = 64, message = "52000134")
private String appendPkgMd5;
@Size(max = 500, message = "52000131")
private String remark;
@NotBlank(message = "52000252")
@Size(max = 64, message = "52000247")
private String name;
@Range(min = 1L, max = 2L, message = "52000248")
private Integer packageType;
@Size(max = 64, message = "52000249")
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 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,21 @@
package cn.cloudwalk.client.device.pkg.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
public class DeviceUpgradeGetsParam implements Serializable {
private static final long serialVersionUID = 8919316254596896906L;
@NotNull(message = "52000118")
@Size(max = 999, message = "52000119")
private List<String> ids;
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
}
@@ -0,0 +1,88 @@
package cn.cloudwalk.client.device.pkg.param;
import cn.cloudwalk.cloud.entity.CloudwalkBasePeriod;
public class DeviceUpgradeQueryParam extends CloudwalkBasePeriod {
private static final long serialVersionUID = -6682277990155017576L;
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 getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
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 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,21 @@
package cn.cloudwalk.client.device.pkg.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
public class DeviceUpgradeRevertDeltParam implements Serializable {
private static final long serialVersionUID = -5105444185658013635L;
@NotNull(message = "52000180")
@Size(max = 999, message = "52000181")
private List<String> ids;
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
}
@@ -0,0 +1,120 @@
package cn.cloudwalk.client.device.pkg.param;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.Range;
public class DeviceUpgradeRevertEditParam implements Serializable {
private static final long serialVersionUID = -2362729776614006703L;
@NotBlank(message = "51000007")
@Size(max = 32, message = "51000008")
private String deviceId;
private Long dowloadBeginTime;
private Long upgradeFinishTime;
private Integer versionType;
@NotNull(message = "52000185")
private Integer packageType;
@Size(max = 64, message = "52000187")
private String currVersion;
@Size(max = 64, message = "52000188")
private String prevVersion;
@Size(max = 64, message = "52000190")
private String upgradeCode;
@Size(max = 255, message = "52000192")
private String upgradeMessage;
@NotBlank(message = "52000254")
@Size(min = 32, max = 32, message = "52000255")
private String upgradeConfId;
@Range(min = 1L, max = 4L, message = "52000257")
private Integer status;
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
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 Integer getPackageType() {
return this.packageType;
}
public void setPackageType(Integer packageType) {
this.packageType = packageType;
}
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,21 @@
package cn.cloudwalk.client.device.pkg.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
public class DeviceUpgradeRevertGetsParam implements Serializable {
private static final long serialVersionUID = -2683042607450049929L;
@NotNull(message = "52000180")
@Size(max = 999, message = "52000181")
private List<String> ids;
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
}
@@ -0,0 +1,88 @@
package cn.cloudwalk.client.device.pkg.param;
import cn.cloudwalk.cloud.entity.CloudwalkBasePeriod;
public class DeviceUpgradeRevertQueryParam extends CloudwalkBasePeriod {
private static final long serialVersionUID = -6771152722272226960L;
private String deviceId;
private String deviceTypeId;
private String deviceCode;
private Integer versionType;
private Integer packageType;
private String currVersion;
private String upgradeCode;
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 getVersionType() {
return this.versionType;
}
public void setVersionType(Integer versionType) {
this.versionType = versionType;
}
public Integer getPackageType() {
return this.packageType;
}
public void setPackageType(Integer packageType) {
this.packageType = packageType;
}
public String getCurrVersion() {
return this.currVersion;
}
public void setCurrVersion(String currVersion) {
this.currVersion = currVersion;
}
public String getUpgradeCode() {
return this.upgradeCode;
}
public void setUpgradeCode(String upgradeCode) {
this.upgradeCode = upgradeCode;
}
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,27 @@
package cn.cloudwalk.client.device.pkg.param;
import java.io.Serializable;
import org.hibernate.validator.constraints.Range;
public class DeviceUpgradeRevertStatusParam implements Serializable {
private static final long serialVersionUID = -2362729776614006703L;
private String id;
@Range(min = 1L, max = 4L, message = "52000257")
private Integer status;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
}
@@ -0,0 +1,167 @@
package cn.cloudwalk.client.device.pkg.param;
import java.io.Serializable;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.Range;
public class DeviceUpgradeUpdateParam implements Serializable {
private static final long serialVersionUID = 2262878041075118819L;
@NotBlank(message = "52000241")
@Size(min = 32, max = 32, message = "52000242")
private String id;
@Size(min = 32, max = 32, message = "51000008")
private String deviceTypeId;
@Size(max = 64, message = "52000122")
private String previousVersion;
@Size(max = 64, message = "52000124")
private String currentVersion;
private Integer versionType;
private Integer upgradeType;
@Size(max = 500, message = "52000128")
private String fullPkgUrl;
private Integer fullPkgLength;
@Size(max = 32, message = "52000130")
private String fullPkgMd5;
@Size(max = 500, message = "52000132")
private String appendPkgUrl;
private Integer appendPkgLength;
@Size(max = 64, message = "52000134")
private String appendPkgMd5;
@Size(max = 500, message = "52000131")
private String remark;
@Size(max = 64, message = "52000237")
private String name;
@Range(min = 1L, max = 2L, message = "52000238")
private Integer packageType;
@Size(max = 64, message = "52000239")
private String modelVersion;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
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 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,20 @@
package cn.cloudwalk.client.device.pkg.param;
import java.io.Serializable;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class EdgeUpgradeConfGetsParam implements Serializable {
private static final long serialVersionUID = 5370769846595963661L;
@NotBlank(message = "51000038")
@Size(max = 64, message = "51000039")
private String deviceCode;
public String getDeviceCode() {
return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
}

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