Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.dahuatech.icc.electricity.model.v202208.device.AirSwitchSetRequest Maven / Gradle / Ivy
package com.dahuatech.icc.electricity.model.v202208.device;
import com.dahuatech.hutool.http.Method;
import com.dahuatech.icc.common.ParamValidEnum;
import com.dahuatech.icc.electricity.constant.ElectricityConstant;
import com.dahuatech.icc.exception.ClientException;
import com.dahuatech.icc.oauth.exception.BusinessException;
import com.dahuatech.icc.oauth.http.AbstractIccRequest;
import com.dahuatech.icc.oauth.model.v202010.HttpConfigInfo;
import com.dahuatech.icc.util.StringUtils;
/**
* program:java-sdk
*
* @Author: 355079
* @Date:2022-08-22 11:01
* @Description:
*/
public class AirSwitchSetRequest extends AbstractIccRequest {
private String channelCode;
private Double temperatureWaringAx;
private Double temperatureWaringBx;
private Double temperatureWaringCx;
private Double temperatureWaringLx;
private Double temperatureAlarmAx;
private Double temperatureAlarmBx;
private Double temperatureAlarmCx;
private Double temperatureAlarmLx;
private Integer temperatureUpTimeWaringAx;
private Integer temperatureUpTimeWaringBx;
private Integer temperatureUpTimeWaringCx;
private Integer temperatureUpTimeWaringLx;
private Double temperatureUpTemperatureWaringAx;
private Double temperatureUpTemperatureWaringBx ;
private Double temperatureUpTemperatureWaringCx ;
private Double temperatureUpTemperatureWaringLx;
private Double leakageWaring;
private Double leakageAlarm;
private Double overCurrentWaringAx;
private Double overCurrentWaringBx;
private Double overCurrentWaringCx;
private Double overCurrentAlarmAx;
private Double overCurrentAlarmBx;
private Double overCurrentAlarmCx;
private Integer overVoltageWaringAx;
private Integer overVoltageWaringBx;
private Integer overVoltageWaringCx;
private Integer overVoltageAlarmAx;
private Integer overVoltageAlarmBx;
private Integer overVoltageAlarmCx;
private Integer underVoltageWaringAx;
private Integer underVoltageWaringBx;
private Integer underVoltageWaringCx;
private Integer underVoltageAlarmAx;
private Integer underVoltageAlarmBx;
private Integer underVoltageAlarmCx;
private Integer overloadAlarmAx;
private Integer overloadAlarmBx;
private Integer overloadAlarmCx;
private Integer overloadWaringAx;
private Integer overloadWaringBx;
private Integer overloadWaringCx;
private Integer lackPhaseAlarmAbility;
private Integer lackPhaseAlarmLinkageModel;
private Integer underVoltageAlarmAbility;
private Integer underVoltageAlarmLinkageModel;
private Integer unbalancedPhaseAlarmAbility;
private Integer unbalancedPhaseAlarmLinkageModel;
private Integer leakageAlarmAbility;
private Integer leakageAlarmLinkageModel;
private Integer overVoltageAlarmAbility;
private Integer overVoltageAlarmLinkageModel;
private Integer overloadAlarmAbility;
private Integer overloadAlarmLinkageModel;
private Integer igniteAlarmAbility;
private Integer igniteAlarmLinkageModel;
private Integer underVoltageWaringAbility;
private Integer leakageWaringAbility;
private Integer overVoltageWaringAbility;
private Integer overloadWaringAbility;
private Boolean getFromSOsoSuccess;
public String getChannelCode() {
return channelCode;
}
public void setChannelCode(String channelCode) {
putBodyParameter("channelCode",channelCode);
this.channelCode = channelCode;
}
public Double getTemperatureWaringAx() {
return temperatureWaringAx;
}
public void setTemperatureWaringAx(Double temperatureWaringAx) {
putBodyParameter("temperatureWaringAx",temperatureWaringAx);
this.temperatureWaringAx = temperatureWaringAx;
}
public Double getTemperatureWaringBx() {
return temperatureWaringBx;
}
public void setTemperatureWaringBx(Double temperatureWaringBx) {
putBodyParameter("temperatureWaringBx",temperatureWaringBx);
this.temperatureWaringBx = temperatureWaringBx;
}
public Double getTemperatureWaringCx() {
return temperatureWaringCx;
}
public void setTemperatureWaringCx(Double temperatureWaringCx) {
putBodyParameter("temperatureWaringCx",temperatureWaringCx);
this.temperatureWaringCx = temperatureWaringCx;
}
public Double getTemperatureWaringLx() {
return temperatureWaringLx;
}
public void setTemperatureWaringLx(Double temperatureWaringLx) {
putBodyParameter("temperatureWaringLx",temperatureWaringLx);
this.temperatureWaringLx = temperatureWaringLx;
}
public Double getTemperatureAlarmAx() {
return temperatureAlarmAx;
}
public void setTemperatureAlarmAx(Double temperatureAlarmAx) {
putBodyParameter("temperatureAlarmAx",temperatureAlarmAx);
this.temperatureAlarmAx = temperatureAlarmAx;
}
public Double getTemperatureAlarmBx() {
return temperatureAlarmBx;
}
public void setTemperatureAlarmBx(Double temperatureAlarmBx) {
putBodyParameter("temperatureAlarmBx",temperatureAlarmBx);
this.temperatureAlarmBx = temperatureAlarmBx;
}
public Double getTemperatureAlarmCx() {
return temperatureAlarmCx;
}
public void setTemperatureAlarmCx(Double temperatureAlarmCx) {
putBodyParameter("temperatureAlarmCx",temperatureAlarmCx);
this.temperatureAlarmCx = temperatureAlarmCx;
}
public Double getTemperatureAlarmLx() {
return temperatureAlarmLx;
}
public void setTemperatureAlarmLx(Double temperatureAlarmLx) {
putBodyParameter("temperatureAlarmLx",temperatureAlarmLx);
this.temperatureAlarmLx = temperatureAlarmLx;
}
public Integer getTemperatureUpTimeWaringAx() {
return temperatureUpTimeWaringAx;
}
public void setTemperatureUpTimeWaringAx(Integer temperatureUpTimeWaringAx) {
putBodyParameter("temperatureUpTimeWaringAx",temperatureUpTimeWaringAx);
this.temperatureUpTimeWaringAx = temperatureUpTimeWaringAx;
}
public Integer getTemperatureUpTimeWaringBx() {
return temperatureUpTimeWaringBx;
}
public void setTemperatureUpTimeWaringBx(Integer temperatureUpTimeWaringBx) {
putBodyParameter("temperatureUpTimeWaringBx",temperatureUpTimeWaringBx);
this.temperatureUpTimeWaringBx = temperatureUpTimeWaringBx;
}
public Integer getTemperatureUpTimeWaringCx() {
return temperatureUpTimeWaringCx;
}
public void setTemperatureUpTimeWaringCx(Integer temperatureUpTimeWaringCx) {
putBodyParameter("temperatureUpTimeWaringCx",temperatureUpTimeWaringCx);
this.temperatureUpTimeWaringCx = temperatureUpTimeWaringCx;
}
public Integer getTemperatureUpTimeWaringLx() {
return temperatureUpTimeWaringLx;
}
public void setTemperatureUpTimeWaringLx(Integer temperatureUpTimeWaringLx) {
putBodyParameter("temperatureUpTimeWaringLx",temperatureUpTimeWaringLx);
this.temperatureUpTimeWaringLx = temperatureUpTimeWaringLx;
}
public Double getTemperatureUpTemperatureWaringAx() {
return temperatureUpTemperatureWaringAx;
}
public void setTemperatureUpTemperatureWaringAx(Double temperatureUpTemperatureWaringAx) {
putBodyParameter("temperatureUpTemperatureWaringAx",temperatureUpTemperatureWaringAx);
this.temperatureUpTemperatureWaringAx = temperatureUpTemperatureWaringAx;
}
public Double getTemperatureUpTemperatureWaringBx() {
return temperatureUpTemperatureWaringBx;
}
public void setTemperatureUpTemperatureWaringBx(Double temperatureUpTemperatureWaringBx) {
putBodyParameter("temperatureUpTemperatureWaringBx",temperatureUpTemperatureWaringBx);
this.temperatureUpTemperatureWaringBx = temperatureUpTemperatureWaringBx;
}
public Double getTemperatureUpTemperatureWaringCx() {
return temperatureUpTemperatureWaringCx;
}
public void setTemperatureUpTemperatureWaringCx(Double temperatureUpTemperatureWaringCx) {
putBodyParameter("temperatureUpTemperatureWaringCx",temperatureUpTemperatureWaringCx);
this.temperatureUpTemperatureWaringCx = temperatureUpTemperatureWaringCx;
}
public Double getTemperatureUpTemperatureWaringLx() {
return temperatureUpTemperatureWaringLx;
}
public void setTemperatureUpTemperatureWaringLx(Double temperatureUpTemperatureWaringLx) {
putBodyParameter("temperatureUpTemperatureWaringLx",temperatureUpTemperatureWaringLx);
this.temperatureUpTemperatureWaringLx = temperatureUpTemperatureWaringLx;
}
public Double getLeakageWaring() {
return leakageWaring;
}
public void setLeakageWaring(Double leakageWaring) {
putBodyParameter("leakageWaring",leakageWaring);
this.leakageWaring = leakageWaring;
}
public Double getLeakageAlarm() {
return leakageAlarm;
}
public void setLeakageAlarm(Double leakageAlarm) {
putBodyParameter("leakageAlarm",leakageAlarm);
this.leakageAlarm = leakageAlarm;
}
public Double getOverCurrentWaringAx() {
return overCurrentWaringAx;
}
public void setOverCurrentWaringAx(Double overCurrentWaringAx) {
putBodyParameter("overCurrentWaringAx",overCurrentWaringAx);
this.overCurrentWaringAx = overCurrentWaringAx;
}
public Double getOverCurrentWaringBx() {
return overCurrentWaringBx;
}
public void setOverCurrentWaringBx(Double overCurrentWaringBx) {
putBodyParameter("overCurrentWaringBx",overCurrentWaringBx);
this.overCurrentWaringBx = overCurrentWaringBx;
}
public Double getOverCurrentWaringCx() {
return overCurrentWaringCx;
}
public void setOverCurrentWaringCx(Double overCurrentWaringCx) {
putBodyParameter("overCurrentWaringCx",overCurrentWaringCx);
this.overCurrentWaringCx = overCurrentWaringCx;
}
public Double getOverCurrentAlarmAx() {
return overCurrentAlarmAx;
}
public void setOverCurrentAlarmAx(Double overCurrentAlarmAx) {
putBodyParameter("overCurrentAlarmAx",overCurrentAlarmAx);
this.overCurrentAlarmAx = overCurrentAlarmAx;
}
public Double getOverCurrentAlarmBx() {
return overCurrentAlarmBx;
}
public void setOverCurrentAlarmBx(Double overCurrentAlarmBx) {
putBodyParameter("overCurrentAlarmBx",overCurrentAlarmBx);
this.overCurrentAlarmBx = overCurrentAlarmBx;
}
public Double getOverCurrentAlarmCx() {
return overCurrentAlarmCx;
}
public void setOverCurrentAlarmCx(Double overCurrentAlarmCx) {
putBodyParameter("overCurrentAlarmCx",overCurrentAlarmCx);
this.overCurrentAlarmCx = overCurrentAlarmCx;
}
public Integer getOverVoltageWaringAx() {
return overVoltageWaringAx;
}
public void setOverVoltageWaringAx(Integer overVoltageWaringAx) {
putBodyParameter("overVoltageWaringAx",overVoltageWaringAx);
this.overVoltageWaringAx = overVoltageWaringAx;
}
public Integer getOverVoltageWaringBx() {
return overVoltageWaringBx;
}
public void setOverVoltageWaringBx(Integer overVoltageWaringBx) {
putBodyParameter("overVoltageWaringBx",overVoltageWaringBx);
this.overVoltageWaringBx = overVoltageWaringBx;
}
public Integer getOverVoltageWaringCx() {
return overVoltageWaringCx;
}
public void setOverVoltageWaringCx(Integer overVoltageWaringCx) {
putBodyParameter("overVoltageWaringCx",overVoltageWaringCx);
this.overVoltageWaringCx = overVoltageWaringCx;
}
public Integer getOverVoltageAlarmAx() {
return overVoltageAlarmAx;
}
public void setOverVoltageAlarmAx(Integer overVoltageAlarmAx) {
putBodyParameter("overVoltageAlarmAx",overVoltageAlarmAx);
this.overVoltageAlarmAx = overVoltageAlarmAx;
}
public Integer getOverVoltageAlarmBx() {
return overVoltageAlarmBx;
}
public void setOverVoltageAlarmBx(Integer overVoltageAlarmBx) {
putBodyParameter("overVoltageAlarmBx",overVoltageAlarmBx);
this.overVoltageAlarmBx = overVoltageAlarmBx;
}
public Integer getOverVoltageAlarmCx() {
return overVoltageAlarmCx;
}
public void setOverVoltageAlarmCx(Integer overVoltageAlarmCx) {
putBodyParameter("overVoltageAlarmCx",overVoltageAlarmCx);
this.overVoltageAlarmCx = overVoltageAlarmCx;
}
public Integer getUnderVoltageWaringAx() {
return underVoltageWaringAx;
}
public void setUnderVoltageWaringAx(Integer underVoltageWaringAx) {
putBodyParameter("underVoltageWaringAx", underVoltageWaringAx);
this.underVoltageWaringAx = underVoltageWaringAx;
}
public Integer getUnderVoltageWaringBx() {
return underVoltageWaringBx;
}
public void setUnderVoltageWaringBx(Integer underVoltageWaringBx) {
putBodyParameter("underVoltageWaringBx",underVoltageWaringBx);
this.underVoltageWaringBx = underVoltageWaringBx;
}
public Integer getUnderVoltageWaringCx() {
return underVoltageWaringCx;
}
public void setUnderVoltageWaringCx(Integer underVoltageWaringCx) {
putBodyParameter("underVoltageWaringCx",underVoltageWaringCx);
this.underVoltageWaringCx = underVoltageWaringCx;
}
public Integer getUnderVoltageAlarmAx() {
return underVoltageAlarmAx;
}
public void setUnderVoltageAlarmAx(Integer underVoltageAlarmAx) {
putBodyParameter("underVoltageAlarmAx",underVoltageAlarmAx);
this.underVoltageAlarmAx = underVoltageAlarmAx;
}
public Integer getUnderVoltageAlarmBx() {
return underVoltageAlarmBx;
}
public void setUnderVoltageAlarmBx(Integer underVoltageAlarmBx) {
putBodyParameter("underVoltageAlarmBx",underVoltageAlarmBx);
this.underVoltageAlarmBx = underVoltageAlarmBx;
}
public Integer getUnderVoltageAlarmCx() {
return underVoltageAlarmCx;
}
public void setUnderVoltageAlarmCx(Integer underVoltageAlarmCx) {
putBodyParameter("underVoltageAlarmCx",underVoltageAlarmCx);
this.underVoltageAlarmCx = underVoltageAlarmCx;
}
public Integer getOverloadAlarmAx() {
return overloadAlarmAx;
}
public void setOverloadAlarmAx(Integer overloadAlarmAx) {
putBodyParameter("overloadAlarmAx",overloadAlarmAx);
this.overloadAlarmAx = overloadAlarmAx;
}
public Integer getOverloadAlarmBx() {
return overloadAlarmBx;
}
public void setOverloadAlarmBx(Integer overloadAlarmBx) {
putBodyParameter("overloadAlarmBx",overloadAlarmBx);
this.overloadAlarmBx = overloadAlarmBx;
}
public Integer getOverloadAlarmCx() {
return overloadAlarmCx;
}
public void setOverloadAlarmCx(Integer overloadAlarmCx) {
putBodyParameter("overloadAlarmCx",overloadAlarmCx);
this.overloadAlarmCx = overloadAlarmCx;
}
public Integer getOverloadWaringAx() {
return overloadWaringAx;
}
public void setOverloadWaringAx(Integer overloadWaringAx) {
putBodyParameter("overloadWaringAx",overloadWaringAx);
this.overloadWaringAx = overloadWaringAx;
}
public Integer getOverloadWaringBx() {
return overloadWaringBx;
}
public void setOverloadWaringBx(Integer overloadWaringBx) {
putBodyParameter("overloadWaringBx",overloadWaringBx);
this.overloadWaringBx = overloadWaringBx;
}
public Integer getOverloadWaringCx() {
return overloadWaringCx;
}
public void setOverloadWaringCx(Integer overloadWaringCx) {
putBodyParameter("overloadWaringCx",overloadWaringCx);
this.overloadWaringCx = overloadWaringCx;
}
public Integer getLackPhaseAlarmAbility() {
return lackPhaseAlarmAbility;
}
public void setLackPhaseAlarmAbility(Integer lackPhaseAlarmAbility) {
putBodyParameter("lackPhaseAlarmAbility",lackPhaseAlarmAbility);
this.lackPhaseAlarmAbility = lackPhaseAlarmAbility;
}
public Integer getLackPhaseAlarmLinkageModel() {
return lackPhaseAlarmLinkageModel;
}
public void setLackPhaseAlarmLinkageModel(Integer lackPhaseAlarmLinkageModel) {
putBodyParameter("lackPhaseAlarmLinkageModel",lackPhaseAlarmLinkageModel);
this.lackPhaseAlarmLinkageModel = lackPhaseAlarmLinkageModel;
}
public Integer getUnderVoltageAlarmAbility() {
return underVoltageAlarmAbility;
}
public void setUnderVoltageAlarmAbility(Integer underVoltageAlarmAbility) {
putBodyParameter("underVoltageAlarmAbility",underVoltageAlarmAbility);
this.underVoltageAlarmAbility = underVoltageAlarmAbility;
}
public Integer getUnderVoltageAlarmLinkageModel() {
return underVoltageAlarmLinkageModel;
}
public void setUnderVoltageAlarmLinkageModel(Integer underVoltageAlarmLinkageModel) {
putBodyParameter("underVoltageAlarmLinkageModel",underVoltageAlarmLinkageModel);
this.underVoltageAlarmLinkageModel = underVoltageAlarmLinkageModel;
}
public Integer getUnbalancedPhaseAlarmAbility() {
return unbalancedPhaseAlarmAbility;
}
public void setUnbalancedPhaseAlarmAbility(Integer unbalancedPhaseAlarmAbility) {
putBodyParameter("unbalancedPhaseAlarmAbility",unbalancedPhaseAlarmAbility);
this.unbalancedPhaseAlarmAbility = unbalancedPhaseAlarmAbility;
}
public Integer getUnbalancedPhaseAlarmLinkageModel() {
return unbalancedPhaseAlarmLinkageModel;
}
public void setUnbalancedPhaseAlarmLinkageModel(Integer unbalancedPhaseAlarmLinkageModel) {
putBodyParameter("unbalancedPhaseAlarmLinkageModel",unbalancedPhaseAlarmLinkageModel);
this.unbalancedPhaseAlarmLinkageModel = unbalancedPhaseAlarmLinkageModel;
}
public Integer getLeakageAlarmAbility() {
return leakageAlarmAbility;
}
public void setLeakageAlarmAbility(Integer leakageAlarmAbility) {
putBodyParameter("leakageAlarmAbility",leakageAlarmAbility);
this.leakageAlarmAbility = leakageAlarmAbility;
}
public Integer getLeakageAlarmLinkageModel() {
return leakageAlarmLinkageModel;
}
public void setLeakageAlarmLinkageModel(Integer leakageAlarmLinkageModel) {
putBodyParameter("leakageAlarmLinkageModel",leakageAlarmLinkageModel);
this.leakageAlarmLinkageModel = leakageAlarmLinkageModel;
}
public Integer getOverVoltageAlarmAbility() {
return overVoltageAlarmAbility;
}
public void setOverVoltageAlarmAbility(Integer overVoltageAlarmAbility) {
putBodyParameter("overVoltageAlarmAbility",overVoltageAlarmAbility);
this.overVoltageAlarmAbility = overVoltageAlarmAbility;
}
public Integer getOverVoltageAlarmLinkageModel() {
return overVoltageAlarmLinkageModel;
}
public void setOverVoltageAlarmLinkageModel(Integer overVoltageAlarmLinkageModel) {
putBodyParameter("overVoltageAlarmLinkageModel",overVoltageAlarmLinkageModel);
this.overVoltageAlarmLinkageModel = overVoltageAlarmLinkageModel;
}
public Integer getOverloadAlarmAbility() {
return overloadAlarmAbility;
}
public void setOverloadAlarmAbility(Integer overloadAlarmAbility) {
putBodyParameter("overloadAlarmAbility",overloadAlarmAbility);
this.overloadAlarmAbility = overloadAlarmAbility;
}
public Integer getOverloadAlarmLinkageModel() {
return overloadAlarmLinkageModel;
}
public void setOverloadAlarmLinkageModel(Integer overloadAlarmLinkageModel) {
putBodyParameter("overloadAlarmLinkageModel",overloadAlarmLinkageModel);
this.overloadAlarmLinkageModel = overloadAlarmLinkageModel;
}
public Integer getIgniteAlarmAbility() {
return igniteAlarmAbility;
}
public void setIgniteAlarmAbility(Integer igniteAlarmAbility) {
putBodyParameter("igniteAlarmAbility",igniteAlarmAbility);
this.igniteAlarmAbility = igniteAlarmAbility;
}
public Integer getIgniteAlarmLinkageModel() {
return igniteAlarmLinkageModel;
}
public void setIgniteAlarmLinkageModel(Integer igniteAlarmLinkageModel) {
putBodyParameter("igniteAlarmLinkageModel", igniteAlarmLinkageModel);
this.igniteAlarmLinkageModel = igniteAlarmLinkageModel;
}
public Integer getUnderVoltageWaringAbility() {
return underVoltageWaringAbility;
}
public void setUnderVoltageWaringAbility(Integer underVoltageWaringAbility) {
putBodyParameter("underVoltageWaringAbility",underVoltageWaringAbility);
this.underVoltageWaringAbility = underVoltageWaringAbility;
}
public Integer getLeakageWaringAbility() {
return leakageWaringAbility;
}
public void setLeakageWaringAbility(Integer leakageWaringAbility) {
putBodyParameter("leakageWaringAbility",leakageWaringAbility);
this.leakageWaringAbility = leakageWaringAbility;
}
public Integer getOverVoltageWaringAbility() {
return overVoltageWaringAbility;
}
public void setOverVoltageWaringAbility(Integer overVoltageWaringAbility) {
putBodyParameter("overVoltageWaringAbility",overVoltageWaringAbility);
this.overVoltageWaringAbility = overVoltageWaringAbility;
}
public Integer getOverloadWaringAbility() {
return overloadWaringAbility;
}
public void setOverloadWaringAbility(Integer overloadWaringAbility) {
putBodyParameter("overloadWaringAbility",overloadWaringAbility);
this.overloadWaringAbility = overloadWaringAbility;
}
public Boolean getGetFromSOsoSuccess() {
return getFromSOsoSuccess;
}
public void setGetFromSOsoSuccess(Boolean getFromSOsoSuccess) {
putBodyParameter("getFromSOsoSuccess",getFromSOsoSuccess);
this.getFromSOsoSuccess = getFromSOsoSuccess;
}
public AirSwitchSetRequest() throws ClientException {
super(ElectricityConstant.url(ElectricityConstant.AIR_SWITCH_SET), Method.POST);
}
public AirSwitchSetRequest(HttpConfigInfo httpConfigInfo, String url, Method method) throws ClientException {
super(httpConfigInfo.getPrefixUrl() + url, method, Boolean.TRUE);
}
@Override
public Class getResponseClass() {
return AirSwitchSetResponse.class;
}
public void businessValid() {
if (StringUtils.isEmpty(channelCode)) {
throw new BusinessException(ParamValidEnum.PARAM_NOT_EMPTY_ERROR.getCode(), ParamValidEnum.PARAM_NOT_EMPTY_ERROR.getErrMsg(), "channelCode");
}
}
}