chore(v0.11): 全路径纳入版本库与走查整改

- .gitignore:显式放行全部 maven-*、scripts、dev-support、frontend、反1、artifacts、历史导出目录
- 新增跟踪:device-manager/device-sdk/legacy-public、davinci-manager、cwos-*、cwos-resource 等源码与附属资源
- davinci FileStorageManagerImpl:Feign Response 关闭、绝对 URL 拉流 SSRF 校验(协议/主机/解析地址)
- davinci OuterCallFeignClient:补充契约说明
- cwos-common-aks AksConstant:final 类 + 私有构造防误实例化
- device-manager DeviceConstant:沿用 DEFAULT_APPLICATIONID 拼写修正

Made-with: Cursor
This commit is contained in:
反编译工作区
2026-04-24 23:54:05 +08:00
parent de6245a492
commit 0a34c76a82
3193 changed files with 227337 additions and 1 deletions
@@ -0,0 +1,53 @@
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,123 @@
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() {
/* 67 */ return this.id;
}
public void setId(String id) {
/* 71 */ this.id = id;
}
public String getDeviceTypeId() {
/* 75 */ return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
/* 79 */ this.deviceTypeId = deviceTypeId;
}
public String getDeviceId() {
/* 83 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 87 */ this.deviceId = deviceId;
}
public String getAttrCode() {
/* 91 */ return this.attrCode;
}
public void setAttrCode(String attrCode) {
/* 95 */ this.attrCode = attrCode;
}
public String getAttrValue() {
/* 99 */ 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,54 @@
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,38 @@
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,123 @@
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() {
/* 67 */ return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
/* 71 */ this.deviceTypeId = deviceTypeId;
}
public String getDeviceId() {
/* 75 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 79 */ this.deviceId = deviceId;
}
public String getCommandCode() {
/* 83 */ return this.commandCode;
}
public void setCommandCode(String commandCode) {
/* 87 */ this.commandCode = commandCode;
}
public String getAttrCode() {
/* 91 */ return this.attrCode;
}
public void setAttrCode(String attrCode) {
/* 95 */ this.attrCode = attrCode;
}
public String getAttrValue() {
/* 99 */ 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,54 @@
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,75 @@
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,39 @@
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,265 @@
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,67 @@
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,235 @@
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,261 @@
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,69 @@
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,197 @@
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,136 @@
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() {
/* 72 */ return this.networkType;
}
public void setNetworkType(Integer networkType) {
/* 76 */ this.networkType = networkType;
}
public String getNetworkBlock() {
/* 80 */ return this.networkBlock;
}
public void setNetworkBlock(String networkBlock) {
/* 84 */ this.networkBlock = networkBlock;
}
public String getMac() {
/* 88 */ return this.mac;
}
public void setMac(String mac) {
/* 92 */ this.mac = mac;
}
public String getIp() {
/* 96 */ 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,64 @@
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,154 @@
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) {
/* 46 */ this.deviceId = deviceId;
/* 47 */ this.deviceTypeId = deviceTypeId;
/* 48 */ this.attrs = attrs;
}
public String getDeviceId() {
/* 52 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 56 */ this.deviceId = deviceId;
}
public String getDeviceTypeId() {
/* 60 */ return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
/* 64 */ this.deviceTypeId = deviceTypeId;
}
public List<DeviceAttrItem> getAttrs() {
/* 68 */ return this.attrs;
}
public void setAttrs(List<DeviceAttrItem> attrs) {
/* 72 */ 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,156 @@
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() {
/* 53 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 62 */ this.deviceId = deviceId;
}
public String getDeviceTypeId() {
/* 71 */ return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
/* 80 */ this.deviceTypeId = deviceTypeId;
}
public String getAttrCode() {
/* 89 */ return this.attrCode;
}
public void setAttrCode(String attrCode) {
/* 98 */ 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,253 @@
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,61 @@
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,27 @@
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,35 @@
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,14 @@
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,82 @@
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,124 @@
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() {
/* 68 */ return this.id;
}
public String getGroupName() {
/* 72 */ return this.groupName;
}
public String getApplicationId() {
/* 76 */ return this.applicationId;
}
public String getServiceCode() {
/* 80 */ return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
/* 84 */ this.serviceCode = serviceCode;
}
public String getRemark() {
/* 88 */ return this.remark;
}
public String getCustId() {
/* 92 */ return this.custId;
}
public String getNodeId() {
/* 96 */ 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,82 @@
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,123 @@
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() {
/* 67 */ return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
/* 71 */ this.serviceCode = serviceCode;
}
public String getApplicationId() {
/* 75 */ return this.applicationId;
}
public String getGroupCode() {
/* 79 */ return this.groupCode;
}
public String getGroupName() {
/* 83 */ return this.groupName;
}
public String getRemark() {
/* 87 */ return this.remark;
}
public String getCustId() {
/* 91 */ return this.custId;
}
public String getNodeId() {
/* 95 */ return this.nodeId;
}
public void setApplicationId(String applicationId) {
/* 99 */ 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,105 @@
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() {
/* 57 */ return this.applicationId;
}
public String getGroupCode() {
/* 61 */ return this.groupCode;
}
public String getGroupName() {
/* 65 */ return this.groupName;
}
public String getCustId() {
/* 69 */ return this.custId;
}
public String getNodeId() {
/* 73 */ return this.nodeId;
}
public void setApplicationId(String applicationId) {
/* 77 */ this.applicationId = applicationId;
}
public void setGroupCode(String groupCode) {
/* 81 */ this.groupCode = groupCode;
}
public void setGroupName(String groupName) {
/* 85 */ this.groupName = groupName;
}
public void setCustId(String custId) {
/* 89 */ this.custId = custId;
}
public void setNodeId(String nodeId) {
/* 93 */ this.nodeId = nodeId;
}
public String getServiceCode() {
/* 97 */ return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
}
@@ -0,0 +1,84 @@
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,110 @@
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() {
/* 54 */ return this.applicationId;
}
public void setApplicationId(String applicationId) {
/* 58 */ this.applicationId = applicationId;
}
public String getServiceCode() {
/* 62 */ return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
/* 66 */ this.serviceCode = serviceCode;
}
public String getGroupName() {
/* 70 */ return this.groupName;
}
public void setGroupName(String groupName) {
/* 74 */ this.groupName = groupName;
}
public String getGroupCode() {
/* 78 */ return this.groupCode;
}
public void setGroupCode(String groupCode) {
/* 82 */ this.groupCode = groupCode;
}
public String getRemark() {
/* 86 */ return this.remark;
}
public void setRemark(String remark) {
/* 90 */ this.remark = remark;
}
public String getCustId() {
/* 94 */ return this.custId;
}
public void setCustId(String custId) {
/* 98 */ this.custId = custId;
}
public String getNodeId() {
return this.nodeId;
}
public void setNodeId(String nodeId) {
this.nodeId = nodeId;
}
}
@@ -0,0 +1,30 @@
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,175 @@
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() {
/* 87 */ return this.logId;
}
public void setLogId(String logId) {
/* 91 */ this.logId = logId;
}
public String getDeviceCode() {
/* 95 */ return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
/* 99 */ 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,170 @@
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() {
/* 82 */ return this.rootPathName;
}
public void setRootPathName(String rootPathName) {
/* 86 */ this.rootPathName = rootPathName;
}
public Long getTotalNumberOfBytes() {
/* 90 */ return this.totalNumberOfBytes;
}
public void setTotalNumberOfBytes(Long totalNumberOfBytes) {
/* 94 */ this.totalNumberOfBytes = totalNumberOfBytes;
}
public Long getFreeBytesAvailableToCaller() {
/* 98 */ 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,112 @@
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() {
/* 64 */ return this.logId;
}
public void setLogId(String logId) {
/* 68 */ this.logId = logId;
}
public String getDeviceCode() {
/* 72 */ return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
/* 76 */ this.deviceCode = deviceCode;
}
public Long getRunTime() {
/* 80 */ return this.runTime;
}
public void setRunTime(Long runTime) {
/* 84 */ this.runTime = runTime;
}
public List<DeviceDiskDataParam> getData() {
/* 88 */ return this.data;
}
public void setData(List<DeviceDiskDataParam> data) {
/* 92 */ this.data = data;
}
public String getSubDeviceCode() {
/* 96 */ 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,60 @@
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,112 @@
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() {
/* 64 */ return this.logId;
}
public void setLogId(String logId) {
/* 68 */ this.logId = logId;
}
public String getDeviceCode() {
/* 72 */ return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
/* 76 */ this.deviceCode = deviceCode;
}
public Long getRunTime() {
/* 80 */ return this.runTime;
}
public void setRunTime(Long runTime) {
/* 84 */ this.runTime = runTime;
}
public List<DeviceGpuDataParam> getData() {
/* 88 */ return this.data;
}
public void setData(List<DeviceGpuDataParam> data) {
/* 92 */ this.data = data;
}
public String getReserveInfo() {
/* 96 */ 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,79 @@
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,134 @@
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() {
/* 70 */ return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
/* 74 */ this.deviceCode = deviceCode;
}
public String getLogId() {
/* 78 */ return this.logId;
}
public void setLogId(String logId) {
/* 82 */ this.logId = logId;
}
public Integer getMemoryLoad() {
/* 86 */ return this.memoryLoad;
}
public void setMemoryLoad(Integer memoryLoad) {
/* 90 */ this.memoryLoad = memoryLoad;
}
public Long getTotalPhys() {
/* 94 */ return this.totalPhys;
}
public void setTotalPhys(Long totalPhys) {
/* 98 */ 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,55 @@
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,111 @@
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() {
/* 63 */ return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
/* 67 */ this.deviceCode = deviceCode;
}
public String getSubDeviceCode() {
/* 71 */ return this.subDeviceCode;
}
public void setSubDeviceCode(String subDeviceCode) {
/* 75 */ this.subDeviceCode = subDeviceCode;
}
public String getLogId() {
/* 79 */ return this.logId;
}
public void setLogId(String logId) {
/* 83 */ this.logId = logId;
}
public Long getRunTime() {
/* 87 */ return this.runTime;
}
public void setRunTime(Long runTime) {
/* 91 */ this.runTime = runTime;
}
public String getReserveInfo() {
/* 95 */ return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
/* 99 */ this.reserveInfo = reserveInfo;
}
public List<DeviceNetDataParam> getData() {
return this.data;
}
public void setData(List<DeviceNetDataParam> data) {
this.data = data;
}
}
@@ -0,0 +1,252 @@
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() {
/* 77 */ return this.id;
}
public String getDeviceId() {
/* 86 */ return this.deviceId;
}
public String getDeviceCode() {
/* 95 */ 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,117 @@
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() {
/* 50 */ return this.id;
}
public String getDeviceId() {
/* 59 */ return this.deviceId;
}
public String getDeviceCode() {
/* 68 */ return this.deviceCode;
}
public List<DeviceDiskDataParam> getHardDiskInfo() {
/* 77 */ return this.hardDiskInfo;
}
public void setId(String id) {
/* 86 */ this.id = id;
}
public void setDeviceId(String deviceId) {
/* 95 */ this.deviceId = deviceId;
}
public void setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
}
public void setHardDiskInfo(List<DeviceDiskDataParam> hardDiskInfo) {
this.hardDiskInfo = hardDiskInfo;
}
}
@@ -0,0 +1,27 @@
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,35 @@
package cn.cloudwalk.client.device.logs.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
public class DeviceLogsDeltParam
implements Serializable
{
private static final long serialVersionUID = 3480776153156787486L;
@NotNull(message = "52000085")
@Size(max = 99, message = "52000086")
private List<String> ids;
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
}
@@ -0,0 +1,135 @@
package cn.cloudwalk.client.device.logs.param;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
public class DeviceLogsEditParam
implements Serializable
{
private static final long serialVersionUID = -4487464792579939951L;
@NotBlank(message = "52000025")
@Size(max = 64, message = "52000026")
private String deviceCode;
@Size(max = 64, message = "51000032")
private String subDeviceCode;
@Size(max = 32, message = "52000087")
private String logId;
@NotBlank(message = "52000088")
@Size(max = 32, message = "52000089")
private String logType;
private Integer logCode;
@NotNull(message = "52000090")
private Long logTime;
@NotBlank(message = "52000091")
@Size(max = 1000, message = "52000092")
private String logDesc;
public String reserveInfo;
public String getDeviceCode() {
/* 71 */ return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
/* 75 */ this.deviceCode = deviceCode;
}
public String getLogId() {
/* 79 */ return this.logId;
}
public void setLogId(String logId) {
/* 83 */ this.logId = logId;
}
public String getLogType() {
/* 87 */ return this.logType;
}
public void setLogType(String logType) {
/* 91 */ this.logType = logType;
}
public Long getLogTime() {
/* 95 */ return this.logTime;
}
public void setLogTime(Long logTime) {
/* 99 */ this.logTime = logTime;
}
public String getLogDesc() {
return this.logDesc;
}
public void setLogDesc(String logDesc) {
this.logDesc = logDesc;
}
public String getSubDeviceCode() {
return this.subDeviceCode;
}
public void setSubDeviceCode(String subDeviceCode) {
this.subDeviceCode = subDeviceCode;
}
public Integer getLogCode() {
return this.logCode;
}
public void setLogCode(Integer logCode) {
this.logCode = logCode;
}
public String getReserveInfo() {
return this.reserveInfo;
}
public void setReserveInfo(String reserveInfo) {
this.reserveInfo = reserveInfo;
}
}
@@ -0,0 +1,36 @@
package cn.cloudwalk.client.device.logs.param;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
public class DeviceLogsGetsParam
implements Serializable
{
private static final long serialVersionUID = -5009401385527696885L;
@NotNull(message = "52000085")
@Size(max = 99, message = "52000086")
private List<String> ids;
public List<String> getIds() {
return this.ids;
}
public void setIds(List<String> ids) {
this.ids = ids;
}
}
@@ -0,0 +1,150 @@
package cn.cloudwalk.client.device.logs.param;
import cn.cloudwalk.cloud.page.CloudwalkBasePageForm;
import java.util.List;
public class DeviceLogsQueryParam
extends CloudwalkBasePageForm
{
private static final long serialVersionUID = -169619009833881762L;
private String deviceId;
private String deviceCode;
private List<String> deviceIds;
private String logId;
private Integer logCode;
private String logType;
private String deviceName;
private String applicationId;
private String serviceCode;
private String businessId;
public String getDeviceId() {
/* 70 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 74 */ this.deviceId = deviceId;
}
public Integer getLogCode() {
/* 78 */ return this.logCode;
}
public void setLogCode(Integer logCode) {
/* 82 */ this.logCode = logCode;
}
public String getDeviceCode() {
/* 86 */ return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
/* 90 */ this.deviceCode = deviceCode;
}
public String getLogId() {
/* 94 */ return this.logId;
}
public void setLogId(String logId) {
/* 98 */ this.logId = logId;
}
public String getLogType() {
return this.logType;
}
public void setLogType(String logType) {
this.logType = logType;
}
public String getDeviceName() {
return this.deviceName;
}
public void setDeviceName(String deviceName) {
this.deviceName = deviceName;
}
public String getApplicationId() {
return this.applicationId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
public String getBusinessId() {
return this.businessId;
}
public void setBusinessId(String businessId) {
this.businessId = businessId;
}
public List<String> getDeviceIds() {
return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
this.deviceIds = deviceIds;
}
}
@@ -0,0 +1,160 @@
package cn.cloudwalk.client.device.logs.result;
import cn.cloudwalk.cloud.entity.CloudwalkBaseTimes;
public class DeviceLogsResult
extends CloudwalkBaseTimes
{
private static final long serialVersionUID = 2056200958216522657L;
private String deviceId;
private String deviceCode;
private String logId;
private String logCode;
private String logType;
private Long logTime;
private String logDesc;
private String deviceName;
private String applicationId;
private String serviceCode;
private String businessId;
public String getDeviceId() {
/* 72 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 76 */ this.deviceId = deviceId;
}
public String getDeviceCode() {
/* 80 */ return this.deviceCode;
}
public void setDeviceCode(String deviceCode) {
/* 84 */ this.deviceCode = deviceCode;
}
public String getLogId() {
/* 88 */ return this.logId;
}
public void setLogId(String logId) {
/* 92 */ this.logId = logId;
}
public String getLogType() {
/* 96 */ 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;
}
public String getApplicationId() {
return this.applicationId;
}
public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
public String getBusinessId() {
return this.businessId;
}
public void setBusinessId(String businessId) {
this.businessId = businessId;
}
public String getLogCode() {
return this.logCode;
}
public void setLogCode(String logCode) {
this.logCode = logCode;
}
}
@@ -0,0 +1,25 @@
package cn.cloudwalk.client.device.logs.service;
import cn.cloudwalk.client.device.logs.param.DeviceLogsDeltParam;
import cn.cloudwalk.client.device.logs.param.DeviceLogsEditParam;
import cn.cloudwalk.client.device.logs.param.DeviceLogsGetsParam;
import cn.cloudwalk.client.device.logs.param.DeviceLogsQueryParam;
import cn.cloudwalk.client.device.logs.result.DeviceLogsResult;
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 DeviceLogsService {
CloudwalkResult<Integer> add(DeviceLogsEditParam paramDeviceLogsEditParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<Integer> delete(DeviceLogsDeltParam paramDeviceLogsDeltParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<List<DeviceLogsResult>> gets(DeviceLogsGetsParam paramDeviceLogsGetsParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
CloudwalkResult<CloudwalkPageAble<DeviceLogsResult>> page(DeviceLogsQueryParam paramDeviceLogsQueryParam, CloudwalkPageInfo paramCloudwalkPageInfo, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
}
@@ -0,0 +1,146 @@
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() {
/* 54 */ return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
/* 62 */ this.deviceIds = deviceIds;
}
public List<String> getImgUrls() {
/* 70 */ return this.imgUrls;
}
public void setImgUrls(List<String> imgUrls) {
/* 78 */ this.imgUrls = imgUrls;
}
public Integer getShufflingInterval() {
/* 86 */ return this.shufflingInterval;
}
public void setShufflingInterval(Integer shufflingInterval) {
/* 94 */ 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,68 @@
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,126 @@
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() {
/* 50 */ return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
/* 58 */ this.deviceIds = deviceIds;
}
public String getDeviceType() {
/* 66 */ return this.deviceType;
}
public void setDeviceType(String deviceType) {
/* 74 */ this.deviceType = deviceType;
}
public Integer getCurrentPage() {
/* 82 */ return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
/* 90 */ this.currentPage = currentPage;
}
public Integer getPageSize() {
/* 98 */ 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,519 @@
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() {
/* 67 */ return this.deviceAttrs;
}
public void setDeviceAttrs(List<DeviceAttr> deviceAttrs) {
/* 75 */ this.deviceAttrs = deviceAttrs;
}
public String getDeviceId() {
/* 83 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 91 */ this.deviceId = deviceId;
}
public String getDeviceName() {
/* 99 */ 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,42 @@
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,133 @@
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() {
/* 65 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 73 */ this.deviceId = deviceId;
}
public Long getDownloadBeginTime() {
/* 77 */ return this.downloadBeginTime;
}
public void setDownloadBeginTime(Long downloadBeginTime) {
/* 81 */ this.downloadBeginTime = downloadBeginTime;
}
public Long getUpgradeFinishTime() {
/* 85 */ return this.upgradeFinishTime;
}
public void setUpgradeFinishTime(Long upgradeFinishTime) {
/* 89 */ this.upgradeFinishTime = upgradeFinishTime;
}
public Integer getVersionType() {
/* 93 */ return this.versionType;
}
public void setVersionType(Integer versionType) {
/* 97 */ 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,73 @@
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,104 @@
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() {
/* 44 */ return this.deviceType;
}
public void setDeviceType(String deviceType) {
/* 52 */ this.deviceType = deviceType;
}
public List<String> getDeviceIds() {
/* 60 */ return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
/* 68 */ this.deviceIds = deviceIds;
}
public Integer getCurrentPage() {
/* 76 */ return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
/* 84 */ this.currentPage = currentPage;
}
public Integer getPageSize() {
/* 92 */ return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
}
@@ -0,0 +1,83 @@
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,209 @@
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() {
/* 69 */ return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
/* 77 */ this.deviceIds = deviceIds;
}
public Integer getPanoramaSwitch() {
/* 85 */ return this.panoramaSwitch;
}
public void setPanoramaSwitch(Integer panoramaSwitch) {
/* 93 */ 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,207 @@
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() {
/* 73 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 81 */ this.deviceId = deviceId;
}
public Long getRunTime() {
/* 89 */ return this.runTime;
}
public void setRunTime(Long runTime) {
/* 97 */ 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,171 @@
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() {
/* 41 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 49 */ this.deviceId = deviceId;
}
public Long getRunTime() {
/* 57 */ return this.runTime;
}
public void setRunTime(Long runTime) {
/* 65 */ this.runTime = runTime;
}
public List<DiskData> getDataList() {
/* 73 */ return this.dataList;
}
public void setDataList(List<DiskData> dataList) {
/* 81 */ 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,39 @@
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,154 @@
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() {
/* 41 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 49 */ this.deviceId = deviceId;
}
public Long getRunTime() {
/* 57 */ return this.runTime;
}
public void setRunTime(Long runTime) {
/* 65 */ this.runTime = runTime;
}
public List<GPUData> getDatas() {
/* 73 */ return this.datas;
}
public void setDatas(List<GPUData> datas) {
/* 81 */ 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,105 @@
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() {
/* 45 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 53 */ this.deviceId = deviceId;
}
public Long getTimestamp() {
/* 61 */ return this.timestamp;
}
public void setTimestamp(Long timestamp) {
/* 69 */ this.timestamp = timestamp;
}
public String getLongitude() {
/* 77 */ return this.longitude;
}
public void setLongitude(String longitude) {
/* 85 */ this.longitude = longitude;
}
public String getLatitude() {
/* 93 */ return this.latitude;
}
public void setLatitude(String latitude) {
this.latitude = latitude;
}
}
@@ -0,0 +1,126 @@
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() {
/* 50 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 58 */ this.deviceId = deviceId;
}
public Long getRunTime() {
/* 66 */ return this.runTime;
}
public void setRunTime(Long runTime) {
/* 74 */ this.runTime = runTime;
}
public Long getTotalPhysical() {
/* 82 */ return this.totalPhysical;
}
public void setTotalPhysical(Long totalPhysical) {
/* 90 */ this.totalPhysical = totalPhysical;
}
public Long getAvailPhysical() {
/* 98 */ 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,108 @@
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() {
/* 32 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 40 */ this.deviceId = deviceId;
}
public List<DeviceAttrItem> getDeviceAttrItems() {
/* 48 */ return this.deviceAttrItems;
}
public void setDeviceAttrItems(List<DeviceAttrItem> deviceAttrItems) {
/* 56 */ this.deviceAttrItems = deviceAttrItems;
}
public static class DeviceAttrItem
{
private String attrCode;
private String attrValue;
public String getAttrCode() {
/* 79 */ return this.attrCode;
}
public void setAttrCode(String attrCode) {
/* 87 */ this.attrCode = attrCode;
}
public String getAttrValue() {
/* 95 */ return this.attrValue;
}
public void setAttrValue(String attrValue) {
this.attrValue = attrValue;
}
}
}
@@ -0,0 +1,105 @@
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() {
/* 45 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 53 */ this.deviceId = deviceId;
}
public Long getLogTime() {
/* 61 */ return this.logTime;
}
public void setLogTime(Long logTime) {
/* 69 */ this.logTime = logTime;
}
public String getLogDesc() {
/* 77 */ return this.logDesc;
}
public void setLogDesc(String logDesc) {
/* 85 */ this.logDesc = logDesc;
}
public String getLogType() {
/* 93 */ return this.logType;
}
public void setLogType(String logType) {
this.logType = logType;
}
}
@@ -0,0 +1,62 @@
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,125 @@
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() {
/* 49 */ return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
/* 57 */ this.deviceIds = deviceIds;
}
public Float getThresholdOf1vN() {
/* 65 */ return this.thresholdOf1vN;
}
public void setThresholdOf1vN(Float thresholdOf1vN) {
/* 73 */ this.thresholdOf1vN = thresholdOf1vN;
}
public Float getThresholdOf1v1() {
/* 81 */ return this.thresholdOf1v1;
}
public void setThresholdOf1v1(Float thresholdOf1v1) {
/* 89 */ this.thresholdOf1v1 = thresholdOf1v1;
}
public Integer getMinFaceSize() {
/* 97 */ 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,58 @@
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,138 @@
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() {
/* 54 */ return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
/* 62 */ this.deviceIds = deviceIds;
}
public String getVersion() {
/* 70 */ return this.version;
}
public void setVersion(String version) {
/* 78 */ this.version = version;
}
public String getDownloadUrl() {
/* 86 */ return this.downloadUrl;
}
public void setDownloadUrl(String downloadUrl) {
/* 94 */ 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,128 @@
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() {
/* 52 */ return this.deviceIds;
}
public void setDeviceIds(List<String> deviceIds) {
/* 60 */ this.deviceIds = deviceIds;
}
public Integer getVolume() {
/* 68 */ return this.volume;
}
public void setVolume(Integer volume) {
/* 76 */ this.volume = volume;
}
public Integer getSuccessSound() {
/* 88 */ 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,124 @@
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() {
/* 48 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 56 */ this.deviceId = deviceId;
}
public String getDeviceType() {
/* 64 */ return this.deviceType;
}
public void setDeviceType(String deviceType) {
/* 72 */ this.deviceType = deviceType;
}
public Integer getShufflingInterval() {
/* 80 */ return this.shufflingInterval;
}
public void setShufflingInterval(Integer shufflingInterval) {
/* 88 */ this.shufflingInterval = shufflingInterval;
}
public String getAdvertisementId() {
/* 96 */ 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,88 @@
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,356 @@
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,103 @@
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,104 @@
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() {
/* 44 */ return this.deviceType;
}
public void setDeviceType(String deviceType) {
/* 52 */ this.deviceType = deviceType;
}
public String getDeviceId() {
/* 60 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 68 */ this.deviceId = deviceId;
}
public Integer getSwitchModel() {
/* 76 */ return this.switchModel;
}
public void setSwitchModel(Integer switchModel) {
/* 84 */ this.switchModel = switchModel;
}
public Float getOpenInterval() {
/* 92 */ return this.openInterval;
}
public void setOpenInterval(Float openInterval) {
this.openInterval = openInterval;
}
}
@@ -0,0 +1,229 @@
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() {
/* 73 */ return this.deviceType;
}
public void setDeviceType(String deviceType) {
/* 81 */ this.deviceType = deviceType;
}
public String getDeviceId() {
/* 89 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 97 */ 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,96 @@
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,145 @@
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() {
/* 53 */ return this.deviceType;
}
public void setDeviceType(String deviceType) {
/* 61 */ this.deviceType = deviceType;
}
public String getDeviceId() {
/* 69 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 77 */ this.deviceId = deviceId;
}
public Float getThresholdOf1vN() {
/* 85 */ return this.thresholdOf1vN;
}
public void setThresholdOf1vN(Float thresholdOf1vN) {
/* 93 */ 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,57 @@
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,202 @@
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() {
/* 50 */ return this.version;
}
public void setVersion(String version) {
/* 54 */ this.version = version;
}
public Integer getVersionType() {
/* 58 */ return this.versionType;
}
public void setVersionType(Integer versionType) {
/* 62 */ this.versionType = versionType;
}
public String getDeviceId() {
/* 66 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 70 */ this.deviceId = deviceId;
}
public Integer getUpgradeType() {
/* 74 */ return this.upgradeType;
}
public void setUpgradeType(Integer upgradeType) {
/* 78 */ this.upgradeType = upgradeType;
}
public FullPackageData getFullPackageData() {
/* 82 */ return this.fullPackageData;
}
public void setFullPackageData(FullPackageData fullPackageData) {
/* 86 */ this.fullPackageData = fullPackageData;
}
public PackageData getPackageData() {
/* 90 */ return this.packageData;
}
public void setPackageData(PackageData packageData) {
/* 94 */ 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,148 @@
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() {
/* 56 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 64 */ this.deviceId = deviceId;
}
public String getDeviceType() {
/* 72 */ return this.deviceType;
}
public void setDeviceType(String deviceType) {
/* 80 */ this.deviceType = deviceType;
}
public Integer getVolume() {
/* 88 */ return this.volume;
}
public void setVolume(Integer volume) {
/* 96 */ 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,62 @@
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,19 @@
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,27 @@
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,23 @@
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,17 @@
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,36 @@
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,123 @@
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() {
/* 67 */ return this.id;
}
public void setId(String id) {
/* 71 */ this.id = id;
}
public String getTimeLimit() {
/* 75 */ return this.timeLimit;
}
public void setTimeLimit(String timeLimit) {
/* 79 */ this.timeLimit = timeLimit;
}
public Integer getNetLimit() {
/* 83 */ return this.netLimit;
}
public void setNetLimit(Integer netLimit) {
/* 87 */ this.netLimit = netLimit;
}
public String getRemark() {
/* 91 */ return this.remark;
}
public void setRemark(String remark) {
/* 95 */ this.remark = remark;
}
public Integer getStatus() {
/* 99 */ 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,36 @@
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,125 @@
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() {
/* 65 */ return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
/* 69 */ this.deviceTypeId = deviceTypeId;
}
public String getTimeLimit() {
/* 73 */ return this.timeLimit;
}
public void setTimeLimit(String timeLimit) {
/* 77 */ this.timeLimit = timeLimit;
}
public Integer getNetLimit() {
/* 81 */ return this.netLimit;
}
public void setNetLimit(Integer netLimit) {
/* 85 */ this.netLimit = netLimit;
}
public String getRemark() {
/* 89 */ return this.remark;
}
public void setRemark(String remark) {
/* 93 */ this.remark = remark;
}
public static long getSerialVersionUID() {
/* 97 */ 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,84 @@
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,38 @@
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,236 @@
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,36 @@
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,135 @@
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() {
/* 63 */ return this.deviceTypeId;
}
public void setDeviceTypeId(String deviceTypeId) {
/* 67 */ this.deviceTypeId = deviceTypeId;
}
public String getPreviousVersion() {
/* 71 */ return this.previousVersion;
}
public void setPreviousVersion(String previousVersion) {
/* 75 */ this.previousVersion = previousVersion;
}
public String getCurrentVersion() {
/* 79 */ return this.currentVersion;
}
public void setCurrentVersion(String currentVersion) {
/* 83 */ this.currentVersion = currentVersion;
}
public Integer getStatus() {
/* 87 */ return this.status;
}
public void setStatus(Integer status) {
/* 91 */ this.status = status;
}
public Integer getVersionType() {
/* 95 */ return this.versionType;
}
public void setVersionType(Integer versionType) {
/* 99 */ 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,36 @@
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,177 @@
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() {
/* 89 */ return this.deviceId;
}
public void setDeviceId(String deviceId) {
/* 93 */ this.deviceId = deviceId;
}
public Long getDowloadBeginTime() {
/* 97 */ 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;
}
}

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