diff --git a/java-web-sdk/pom.xml b/java-web-sdk/pom.xml
index 0f3a2cf..4e073b0 100644
--- a/java-web-sdk/pom.xml
+++ b/java-web-sdk/pom.xml
@@ -5,7 +5,7 @@
net.irext.webapi
irext-webapi
- 1.5.1
+ 1.5.2
jar
https://opensource.irext.net/irext/index-api
diff --git a/java-web-sdk/src/main/java/net/irext/webapi/WebAPIs.java b/java-web-sdk/src/main/java/net/irext/webapi/WebAPIs.java
index 8e55afe..068a853 100644
--- a/java-web-sdk/src/main/java/net/irext/webapi/WebAPIs.java
+++ b/java-web-sdk/src/main/java/net/irext/webapi/WebAPIs.java
@@ -441,6 +441,7 @@ public class WebAPIs {
Integer directDecode, Integer paraData) {
String decodeURL = URL_PREFIX + SERVICE_ONLINE_DECODE;
DecodeRequest decodeRequest = new DecodeRequest();
+ acStatus.setChangeWindDir(changeWindDir);
decodeRequest.setId(id);
decodeRequest.setToken(token);
decodeRequest.setIndexId(indexId);
diff --git a/java-web-sdk/src/main/java/net/irext/webapi/bean/ACStatus.java b/java-web-sdk/src/main/java/net/irext/webapi/bean/ACStatus.java
index a370020..bf0532a 100644
--- a/java-web-sdk/src/main/java/net/irext/webapi/bean/ACStatus.java
+++ b/java-web-sdk/src/main/java/net/irext/webapi/bean/ACStatus.java
@@ -22,6 +22,7 @@ public class ACStatus {
private int acDisplay;
private int acSleep;
private int acTimer;
+ private int changeWindDir;
/**
* Default constructor for ACStatus.
@@ -40,9 +41,10 @@ public class ACStatus {
* @param acDisplay the display setting
* @param acSleep the sleep mode setting
* @param acTimer the timer setting
+ * @param changeWindDir the command to change wind direction
*/
public ACStatus(int acPower, int acMode, int acTemp, int acWindSpeed, int acWindDir,
- int acDisplay, int acSleep, int acTimer) {
+ int acDisplay, int acSleep, int acTimer, int changeWindDir) {
this.acPower = acPower;
this.acTemp = acTemp;
this.acMode = acMode;
@@ -51,6 +53,7 @@ public class ACStatus {
this.acDisplay = acDisplay;
this.acSleep = acSleep;
this.acTimer = acTimer;
+ this.changeWindDir = changeWindDir;
}
/**
@@ -196,4 +199,22 @@ public class ACStatus {
public void setAcTimer(int acTimer) {
this.acTimer = acTimer;
}
+
+ /**
+ * Gets the change wind direction setting.
+ *
+ * @return the change wind direction setting
+ */
+ public int getChangeWindDir() {
+ return changeWindDir;
+ }
+
+ /**
+ * Sets change wind direction setting.
+ *
+ * @param changeWindDir the change wind direction setting
+ */
+ public void setChangeWindDir(int changeWindDir) {
+ this.changeWindDir = changeWindDir;
+ }
}
\ No newline at end of file