wangmengmeng
2024-12-24 24432a361d5c6bd6f3d8c008693e9f1155d62517
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.dji.sdk.config.version;
 
import com.fasterxml.jackson.annotation.JsonValue;
 
/**
 * @author sean
 * @version 1.7
 * @date 2023/5/19
 */
public enum RcThingVersionEnum implements IThingVersion {
 
    V1_0_0("1.0.0", CloudSDKVersionEnum.V0_0_1);
 
    private final String thingVersion;
 
    private final CloudSDKVersionEnum cloudSDKVersion;
 
    RcThingVersionEnum(String thingVersion, CloudSDKVersionEnum cloudSDKVersion) {
        this.thingVersion = thingVersion;
        this.cloudSDKVersion = cloudSDKVersion;
    }
 
    @JsonValue
    public String getThingVersion() {
        return thingVersion;
    }
 
    public CloudSDKVersionEnum getCloudSDKVersion() {
        return cloudSDKVersion;
    }
 
    public static RcThingVersionEnum find(String thingVersion) {
        return V1_0_0;
    }
}