资源相关
This commit is contained in:
92
src/main/java/com/yj/earth/params/AttackArrow.java
Normal file
92
src/main/java/com/yj/earth/params/AttackArrow.java
Normal file
@ -0,0 +1,92 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@SourceType("attackArrow")
|
||||
public class AttackArrow {
|
||||
private String id;
|
||||
private boolean show;
|
||||
private String name;
|
||||
private String color;
|
||||
private double height;
|
||||
private int heightMode;
|
||||
private String areaUnit;
|
||||
private Line line;
|
||||
private List<Position> positions;
|
||||
private boolean spreadState;
|
||||
private boolean loop;
|
||||
private int spreadTime;
|
||||
private Label label;
|
||||
private Attribute attribute;
|
||||
private String richTextContent;
|
||||
private CustomView customView;
|
||||
|
||||
@Data
|
||||
public static class Line {
|
||||
private double width;
|
||||
private String color;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Label {
|
||||
private String text;
|
||||
private Boolean show;
|
||||
private Position position;
|
||||
private int fontSize;
|
||||
private int fontFamily;
|
||||
private String color;
|
||||
private double lineWidth;
|
||||
private String lineColor;
|
||||
private double pixelOffset;
|
||||
private String[] backgroundColor;
|
||||
private boolean scaleByDistance;
|
||||
private int near;
|
||||
private int far;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Attribute {
|
||||
private Link link;
|
||||
|
||||
@Data
|
||||
public static class Link {
|
||||
private List<LinkContent> content;
|
||||
|
||||
@Data
|
||||
public static class LinkContent {
|
||||
private String name;
|
||||
private String url;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class CustomView {
|
||||
private Orientation orientation;
|
||||
private RelativePosition relativePosition;
|
||||
|
||||
@Data
|
||||
public static class Orientation {
|
||||
private double heading;
|
||||
private double pitch;
|
||||
private double roll;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class RelativePosition {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
}
|
||||
}
|
||||
91
src/main/java/com/yj/earth/params/Curve.java
Normal file
91
src/main/java/com/yj/earth/params/Curve.java
Normal file
@ -0,0 +1,91 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@SourceType("curve")
|
||||
public class Curve {
|
||||
private String id;
|
||||
private String name;
|
||||
private boolean rotate;
|
||||
private int space;
|
||||
private String speed;
|
||||
private String wordsName;
|
||||
private String lengthUnit;
|
||||
private double width;
|
||||
private String color;
|
||||
private int type;
|
||||
private int heightMode;
|
||||
private boolean noseToTail;
|
||||
private boolean extend;
|
||||
private double extendWidth;
|
||||
private String extendColor;
|
||||
private boolean show;
|
||||
private List<Position> positions;
|
||||
private Label label;
|
||||
private Attribute attribute;
|
||||
private String richTextContent;
|
||||
private CustomView customView;
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Label {
|
||||
private String text;
|
||||
private Boolean show;
|
||||
private Position position;
|
||||
private int fontSize;
|
||||
private int fontFamily;
|
||||
private String color;
|
||||
private double lineWidth;
|
||||
private String lineColor;
|
||||
private double pixelOffset;
|
||||
private String[] backgroundColor;
|
||||
private Boolean scaleByDistance;
|
||||
private int near;
|
||||
private int far;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Attribute {
|
||||
private Link link;
|
||||
|
||||
@Data
|
||||
public static class Link {
|
||||
private List<LinkContent> content;
|
||||
|
||||
@Data
|
||||
public static class LinkContent {
|
||||
private String name;
|
||||
private String url;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class CustomView {
|
||||
private Orientation orientation;
|
||||
private RelativePosition relativePosition;
|
||||
|
||||
@Data
|
||||
public static class Orientation {
|
||||
private double heading;
|
||||
private double pitch;
|
||||
private double roll;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class RelativePosition {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
}
|
||||
}
|
||||
69
src/main/java/com/yj/earth/params/DiffuseScan.java
Normal file
69
src/main/java/com/yj/earth/params/DiffuseScan.java
Normal file
@ -0,0 +1,69 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@SourceType("diffuseScan")
|
||||
public class DiffuseScan {
|
||||
private String id;
|
||||
private String name;
|
||||
private double lng;
|
||||
private double lat;
|
||||
private List<Circle> circle;
|
||||
private boolean show;
|
||||
private String color;
|
||||
private double transparency;
|
||||
private int speed;
|
||||
private int count;
|
||||
private boolean positionEditin;
|
||||
private CustomView customView;
|
||||
private String richTextContent;
|
||||
private Label label;
|
||||
private Attribute attribute;
|
||||
|
||||
@Data
|
||||
public static class Circle {
|
||||
private double radius;
|
||||
private String color;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class CustomView {
|
||||
// 空对象,暂无需字段
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Label {
|
||||
private boolean show;
|
||||
private Position position;
|
||||
private int fontSize;
|
||||
private int fontFamily;
|
||||
private String color;
|
||||
private int lineWidth;
|
||||
private int pixelOffset;
|
||||
private List<String> backgroundColor;
|
||||
private String lineColor;
|
||||
private boolean scaleByDistance;
|
||||
private int near;
|
||||
private int far;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Attribute {
|
||||
private Link link;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Link {
|
||||
private List<Object> content;
|
||||
}
|
||||
}
|
||||
92
src/main/java/com/yj/earth/params/Line.java
Normal file
92
src/main/java/com/yj/earth/params/Line.java
Normal file
@ -0,0 +1,92 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@SourceType("line")
|
||||
public class Line {
|
||||
private String id;
|
||||
private String name;
|
||||
private boolean rotate;
|
||||
private int space;
|
||||
private String speed;
|
||||
private String wordsName;
|
||||
private String lengthUnit;
|
||||
private double width;
|
||||
private String color;
|
||||
private int type;
|
||||
private int heightMode;
|
||||
private boolean noseToTail;
|
||||
private boolean smooth;
|
||||
private boolean extend;
|
||||
private double extendWidth;
|
||||
private String extendColor;
|
||||
private boolean show;
|
||||
private List<Position> positions;
|
||||
private Label label;
|
||||
private Attribute attribute;
|
||||
private String richTextContent;
|
||||
private CustomView customView;
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Label {
|
||||
private String text;
|
||||
private Boolean show;
|
||||
private Position position;
|
||||
private int fontSize;
|
||||
private int fontFamily;
|
||||
private String color;
|
||||
private double lineWidth;
|
||||
private String lineColor;
|
||||
private double pixelOffset;
|
||||
private String[] backgroundColor;
|
||||
private Boolean scaleByDistance;
|
||||
private int near;
|
||||
private int far;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Attribute {
|
||||
private Link link;
|
||||
|
||||
@Data
|
||||
public static class Link {
|
||||
private List<LinkContent> content;
|
||||
|
||||
@Data
|
||||
public static class LinkContent {
|
||||
private String name;
|
||||
private String url;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class CustomView {
|
||||
private Orientation orientation;
|
||||
private RelativePosition relativePosition;
|
||||
|
||||
@Data
|
||||
public static class Orientation {
|
||||
private double heading;
|
||||
private double pitch;
|
||||
private double roll;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class RelativePosition {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
}
|
||||
}
|
||||
89
src/main/java/com/yj/earth/params/Panel.java
Normal file
89
src/main/java/com/yj/earth/params/Panel.java
Normal file
@ -0,0 +1,89 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@SourceType("panel")
|
||||
public class Panel {
|
||||
private String id;
|
||||
private boolean show;
|
||||
private String name;
|
||||
private String color;
|
||||
private double height;
|
||||
private int heightMode;
|
||||
private String areaUnit;
|
||||
private Line line;
|
||||
private List<Position> positions;
|
||||
private Label label;
|
||||
private Attribute attribute;
|
||||
private String richTextContent;
|
||||
private CustomView customView;
|
||||
|
||||
@Data
|
||||
public static class Line {
|
||||
private double width;
|
||||
private String color;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Label {
|
||||
private String text;
|
||||
private Boolean show;
|
||||
private Position position;
|
||||
private int fontSize;
|
||||
private int fontFamily;
|
||||
private String color;
|
||||
private double lineWidth;
|
||||
private String lineColor;
|
||||
private double pixelOffset;
|
||||
private String[] backgroundColor;
|
||||
private boolean scaleByDistance;
|
||||
private int near;
|
||||
private int far;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Attribute {
|
||||
private Link link;
|
||||
|
||||
@Data
|
||||
public static class Link {
|
||||
private List<LinkContent> content;
|
||||
|
||||
@Data
|
||||
public static class LinkContent {
|
||||
private String name;
|
||||
private String url;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class CustomView {
|
||||
private Orientation orientation;
|
||||
private RelativePosition relativePosition;
|
||||
|
||||
@Data
|
||||
public static class Orientation {
|
||||
private double heading;
|
||||
private double pitch;
|
||||
private double roll;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class RelativePosition {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
}
|
||||
}
|
||||
73
src/main/java/com/yj/earth/params/Path.java
Normal file
73
src/main/java/com/yj/earth/params/Path.java
Normal file
@ -0,0 +1,73 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@SourceType("path")
|
||||
public class Path {
|
||||
private String id;
|
||||
private String name;
|
||||
private Model model;
|
||||
private Line line;
|
||||
private CustomView customView;
|
||||
private boolean show;
|
||||
private int speed;
|
||||
private int delay;
|
||||
private boolean loop;
|
||||
private int height;
|
||||
private boolean ground;
|
||||
private boolean state;
|
||||
private boolean routeDirection;
|
||||
private Label label;
|
||||
private boolean viewFollow;
|
||||
private boolean firstPersonView;
|
||||
private boolean realTimeRoute;
|
||||
|
||||
@Data
|
||||
public static class Model {
|
||||
private boolean show;
|
||||
private String url;
|
||||
private int pixelSize;
|
||||
private double heading;
|
||||
private double pitch;
|
||||
private double roll;
|
||||
private int scale;
|
||||
private String animate;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Line {
|
||||
private boolean show;
|
||||
private List<Position> positions;
|
||||
private boolean smooth;
|
||||
private boolean noseToTail;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class CustomView {
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Label {
|
||||
private boolean show;
|
||||
private int fontSize;
|
||||
private int fontFamily;
|
||||
private String color;
|
||||
private int lineWidth;
|
||||
private int pixelOffset;
|
||||
private List<String> backgroundColor;
|
||||
private String lineColor;
|
||||
private boolean scaleByDistance;
|
||||
private int near;
|
||||
private int far;
|
||||
}
|
||||
}
|
||||
92
src/main/java/com/yj/earth/params/PincerArrow.java
Normal file
92
src/main/java/com/yj/earth/params/PincerArrow.java
Normal file
@ -0,0 +1,92 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@SourceType("pincerArrow")
|
||||
public class PincerArrow {
|
||||
private String id;
|
||||
private boolean show;
|
||||
private String name;
|
||||
private String color;
|
||||
private double height;
|
||||
private int heightMode;
|
||||
private String areaUnit;
|
||||
private Line line;
|
||||
private List<Position> positions;
|
||||
private boolean spreadState;
|
||||
private boolean loop;
|
||||
private int spreadTime;
|
||||
private Label label;
|
||||
private Attribute attribute;
|
||||
private String richTextContent;
|
||||
private CustomView customView;
|
||||
|
||||
@Data
|
||||
public static class Line {
|
||||
private double width;
|
||||
private String color;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Label {
|
||||
private String text;
|
||||
private Boolean show;
|
||||
private Position position;
|
||||
private int fontSize;
|
||||
private int fontFamily;
|
||||
private String color;
|
||||
private double lineWidth;
|
||||
private String lineColor;
|
||||
private double pixelOffset;
|
||||
private String[] backgroundColor;
|
||||
private boolean scaleByDistance;
|
||||
private int near;
|
||||
private int far;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Attribute {
|
||||
private Link link;
|
||||
|
||||
@Data
|
||||
public static class Link {
|
||||
private List<LinkContent> content;
|
||||
|
||||
@Data
|
||||
public static class LinkContent {
|
||||
private String name;
|
||||
private String url;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class CustomView {
|
||||
private Orientation orientation;
|
||||
private RelativePosition relativePosition;
|
||||
|
||||
@Data
|
||||
public static class Orientation {
|
||||
private double heading;
|
||||
private double pitch;
|
||||
private double roll;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class RelativePosition {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
}
|
||||
}
|
||||
116
src/main/java/com/yj/earth/params/Point.java
Normal file
116
src/main/java/com/yj/earth/params/Point.java
Normal file
@ -0,0 +1,116 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@SourceType("point")
|
||||
public class Point {
|
||||
private String id;
|
||||
private boolean show;
|
||||
private String name;
|
||||
private Position position;
|
||||
private int heightMode;
|
||||
private boolean scaleByDistance;
|
||||
private int near;
|
||||
private int far;
|
||||
private Billboard billboard;
|
||||
private Label label;
|
||||
private Attribute attribute;
|
||||
private String richTextContent;
|
||||
private CustomView customView;
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Billboard {
|
||||
private boolean show;
|
||||
private String image;
|
||||
private String defaultImage;
|
||||
private int scale;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Label {
|
||||
private String text;
|
||||
private boolean show;
|
||||
private int fontFamily;
|
||||
private int fontSize;
|
||||
private String color;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Attribute {
|
||||
private Link link;
|
||||
private Vr vr;
|
||||
private Camera camera;
|
||||
private Isc isc;
|
||||
private Goods goods;
|
||||
|
||||
@Data
|
||||
public static class Link {
|
||||
private List<LinkContent> content;
|
||||
@Data
|
||||
public static class LinkContent {
|
||||
private String name;
|
||||
private String url;
|
||||
}
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Vr {
|
||||
private List<VrContent> content;
|
||||
@Data
|
||||
public static class VrContent {
|
||||
private String name;
|
||||
private String url;
|
||||
}
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Camera {
|
||||
private List<Object> content;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Isc {
|
||||
private List<Object> content;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Goods {
|
||||
private List<GoodsContent> content;
|
||||
@Data
|
||||
public static class GoodsContent {
|
||||
private String id;
|
||||
private String name;
|
||||
private String cnt;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class CustomView {
|
||||
private Orientation orientation;
|
||||
private RelativePosition relativePosition;
|
||||
@Data
|
||||
public static class Orientation {
|
||||
private double heading;
|
||||
private double pitch;
|
||||
private double roll;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class RelativePosition {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
}
|
||||
}
|
||||
21
src/main/java/com/yj/earth/params/PressModel.java
Normal file
21
src/main/java/com/yj/earth/params/PressModel.java
Normal file
@ -0,0 +1,21 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@SourceType("pressModel")
|
||||
public class PressModel {
|
||||
private String modelId;
|
||||
private double height;
|
||||
private List<Position> positions;
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
}
|
||||
60
src/main/java/com/yj/earth/params/RadarScan.java
Normal file
60
src/main/java/com/yj/earth/params/RadarScan.java
Normal file
@ -0,0 +1,60 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@SourceType("radarScan")
|
||||
public class RadarScan {
|
||||
private String id;
|
||||
private String name;
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double radius;
|
||||
private boolean show;
|
||||
private String color;
|
||||
private int speed;
|
||||
private CustomView customView;
|
||||
private Label label;
|
||||
private Attribute attribute;
|
||||
private String richTextContent;
|
||||
|
||||
@Data
|
||||
public static class CustomView {
|
||||
// 空对象,暂无需字段
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Label {
|
||||
private boolean show;
|
||||
private Position position;
|
||||
private int fontSize;
|
||||
private int fontFamily;
|
||||
private String color;
|
||||
private int lineWidth;
|
||||
private int pixelOffset;
|
||||
private List<String> backgroundColor;
|
||||
private String lineColor;
|
||||
private boolean scaleByDistance;
|
||||
private int near;
|
||||
private int far;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Attribute {
|
||||
private Link link;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Link {
|
||||
private List<Object> content;
|
||||
}
|
||||
}
|
||||
89
src/main/java/com/yj/earth/params/Rectangle.java
Normal file
89
src/main/java/com/yj/earth/params/Rectangle.java
Normal file
@ -0,0 +1,89 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@SourceType("rectangle")
|
||||
public class Rectangle {
|
||||
private String id;
|
||||
private boolean show;
|
||||
private String name;
|
||||
private String color;
|
||||
private double height;
|
||||
private int heightMode;
|
||||
private String areaUnit;
|
||||
private Line line;
|
||||
private List<Position> positions;
|
||||
private Label label;
|
||||
private Attribute attribute;
|
||||
private String richTextContent;
|
||||
private CustomView customView;
|
||||
|
||||
@Data
|
||||
public static class Line {
|
||||
private double width;
|
||||
private String color;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Label {
|
||||
private String text;
|
||||
private Boolean show;
|
||||
private Position position;
|
||||
private int fontSize;
|
||||
private int fontFamily;
|
||||
private String color;
|
||||
private double lineWidth;
|
||||
private String lineColor;
|
||||
private double pixelOffset;
|
||||
private String[] backgroundColor;
|
||||
private boolean scaleByDistance;
|
||||
private int near;
|
||||
private int far;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Attribute {
|
||||
private Link link;
|
||||
|
||||
@Data
|
||||
public static class Link {
|
||||
private List<LinkContent> content;
|
||||
|
||||
@Data
|
||||
public static class LinkContent {
|
||||
private String name;
|
||||
private String url;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class CustomView {
|
||||
private Orientation orientation;
|
||||
private RelativePosition relativePosition;
|
||||
|
||||
@Data
|
||||
public static class Orientation {
|
||||
private double heading;
|
||||
private double pitch;
|
||||
private double roll;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class RelativePosition {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
}
|
||||
}
|
||||
89
src/main/java/com/yj/earth/params/Rendezvous.java
Normal file
89
src/main/java/com/yj/earth/params/Rendezvous.java
Normal file
@ -0,0 +1,89 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@SourceType("rendezvous")
|
||||
public class Rendezvous {
|
||||
private String id;
|
||||
private boolean show;
|
||||
private String name;
|
||||
private String color;
|
||||
private double height;
|
||||
private int heightMode;
|
||||
private String areaUnit;
|
||||
private Line line;
|
||||
private List<Position> positions;
|
||||
private Label label;
|
||||
private Attribute attribute;
|
||||
private String richTextContent;
|
||||
private CustomView customView;
|
||||
|
||||
@Data
|
||||
public static class Line {
|
||||
private double width;
|
||||
private String color;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Label {
|
||||
private String text;
|
||||
private Boolean show;
|
||||
private Position position;
|
||||
private int fontSize;
|
||||
private int fontFamily;
|
||||
private String color;
|
||||
private double lineWidth;
|
||||
private String lineColor;
|
||||
private double pixelOffset;
|
||||
private String[] backgroundColor;
|
||||
private boolean scaleByDistance;
|
||||
private int near;
|
||||
private int far;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Attribute {
|
||||
private Link link;
|
||||
|
||||
@Data
|
||||
public static class Link {
|
||||
private List<LinkContent> content;
|
||||
|
||||
@Data
|
||||
public static class LinkContent {
|
||||
private String name;
|
||||
private String url;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class CustomView {
|
||||
private Orientation orientation;
|
||||
private RelativePosition relativePosition;
|
||||
|
||||
@Data
|
||||
public static class Orientation {
|
||||
private double heading;
|
||||
private double pitch;
|
||||
private double roll;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class RelativePosition {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user