Browse Source

自动以飞行区功能适配EA220

v1.10.0
huidong.tan 11 months ago
parent
commit
1cdbf1b7b5
  1. 2
      cloud-sdk/src/main/java/com/dji/sdk/cloudapi/control/LensStorageSettingsEnum.java
  2. 2
      cloud-sdk/src/main/java/com/dji/sdk/cloudapi/flightarea/api/AbstractFlightAreaService.java
  3. 4
      cloud-sdk/src/main/java/com/dji/sdk/config/version/CloudSDKVersionEnum.java
  4. 2
      cloud-sdk/src/main/java/com/dji/sdk/config/version/Dock2ThingVersionEnum.java
  5. 2
      cloud-sdk/src/main/java/com/dji/sdk/config/version/DroneThingVersionEnum.java
  6. 4
      pom.xml

2
cloud-sdk/src/main/java/com/dji/sdk/cloudapi/control/LensStorageSettingsEnum.java

@ -19,6 +19,8 @@ public enum LensStorageSettingsEnum {
WIDE("wide"), WIDE("wide"),
VISION("vision"),
INFRARED("ir"); INFRARED("ir");
private final String lens; private final String lens;

2
cloud-sdk/src/main/java/com/dji/sdk/cloudapi/flightarea/api/AbstractFlightAreaService.java

@ -35,7 +35,7 @@ public abstract class AbstractFlightAreaService {
* @param gateway gateway device * @param gateway gateway device
* @return services_reply * @return services_reply
*/ */
@CloudSDKVersion(since = CloudSDKVersionEnum.V1_0_0, exclude = GatewayTypeEnum.RC, include = GatewayTypeEnum.DOCK) @CloudSDKVersion(since = CloudSDKVersionEnum.V1_0_0, exclude = GatewayTypeEnum.RC, include = {GatewayTypeEnum.DOCK, GatewayTypeEnum.DOCK2})
public TopicServicesResponse<ServicesReplyData> flightAreasUpdate(GatewayManager gateway) { public TopicServicesResponse<ServicesReplyData> flightAreasUpdate(GatewayManager gateway) {
return servicesPublish.publish( return servicesPublish.publish(
gateway.getGatewaySn(), gateway.getGatewaySn(),

4
cloud-sdk/src/main/java/com/dji/sdk/config/version/CloudSDKVersionEnum.java

@ -15,7 +15,9 @@ public enum CloudSDKVersionEnum {
V1_0_2("1.0.2"), V1_0_2("1.0.2"),
DEFAULT("1.0.2"), V1_0_3("1.0.3"),
DEFAULT("1.0.3"),
V99("99"); V99("99");

2
cloud-sdk/src/main/java/com/dji/sdk/config/version/Dock2ThingVersionEnum.java

@ -14,6 +14,8 @@ public enum Dock2ThingVersionEnum implements IThingVersion {
V1_1_2("1.1.2", CloudSDKVersionEnum.V1_0_1), V1_1_2("1.1.2", CloudSDKVersionEnum.V1_0_1),
V1_2_0("1.2.0", CloudSDKVersionEnum.V1_0_3),
; ;
private final String thingVersion; private final String thingVersion;

2
cloud-sdk/src/main/java/com/dji/sdk/config/version/DroneThingVersionEnum.java

@ -23,6 +23,8 @@ public enum DroneThingVersionEnum implements IThingVersion {
V1_1_3("1.1.3", CloudSDKVersionEnum.V1_0_2), V1_1_3("1.1.3", CloudSDKVersionEnum.V1_0_2),
V1_2_0("1.2.0", CloudSDKVersionEnum.V1_0_3),
; ;
private static final Logger log = LoggerFactory.getLogger(DroneThingVersionEnum.class); private static final Logger log = LoggerFactory.getLogger(DroneThingVersionEnum.class);

4
pom.xml

@ -14,8 +14,8 @@
<name>cloud-api-sample</name> <name>cloud-api-sample</name>
<properties> <properties>
<revision>1.9.0</revision> <revision>1.10.0</revision>
<cloud-sdk.revision>1.0.2</cloud-sdk.revision> <cloud-sdk.revision>1.0.3</cloud-sdk.revision>
<java.version>11</java.version> <java.version>11</java.version>
<maven.compiler.source>11</maven.compiler.source> <maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target> <maven.compiler.target>11</maven.compiler.target>

Loading…
Cancel
Save