图标库
This commit is contained in:
60
src/main/java/com/yj/earth/params/EntityWall.java
Normal file
60
src/main/java/com/yj/earth/params/EntityWall.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;
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
@SourceType("entityWall")
|
||||
public class EntityWall {
|
||||
private String id;
|
||||
private String name;
|
||||
private List<Position> positions;
|
||||
private Map<String, Object> customView;
|
||||
private boolean show;
|
||||
private String color;
|
||||
private double width;
|
||||
private boolean noseToTail;
|
||||
private double extrudedHeight;
|
||||
private int cornerType;
|
||||
private int material;
|
||||
private Label label;
|
||||
private Attribute attribute;
|
||||
private String richTextContent;
|
||||
|
||||
@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 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 Attribute {
|
||||
private Link link;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Link {
|
||||
private List<Object> content;
|
||||
}
|
||||
}
|
||||
|
||||
25
src/main/java/com/yj/earth/params/Explosion.java
Normal file
25
src/main/java/com/yj/earth/params/Explosion.java
Normal file
@ -0,0 +1,25 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
@SourceType("explosion")
|
||||
public class Explosion {
|
||||
private String id;
|
||||
private String name;
|
||||
private Position position;
|
||||
private Map<String, Object> customView;
|
||||
private boolean show;
|
||||
private int size;
|
||||
private boolean scaleByDistance;
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
}
|
||||
28
src/main/java/com/yj/earth/params/Fire.java
Normal file
28
src/main/java/com/yj/earth/params/Fire.java
Normal file
@ -0,0 +1,28 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
@SourceType("fire")
|
||||
public class Fire {
|
||||
private String id;
|
||||
private String name;
|
||||
private Map<String, Object> customView;
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
private boolean show;
|
||||
private String startColor;
|
||||
private String endColor;
|
||||
private double startScale;
|
||||
private double endScale;
|
||||
private int minimumParticleLife;
|
||||
private int maximumParticleLife;
|
||||
private double minimumSpeed;
|
||||
private double maximumSpeed;
|
||||
private int emissionRate;
|
||||
private double particleSize;
|
||||
}
|
||||
32
src/main/java/com/yj/earth/params/FlyLine.java
Normal file
32
src/main/java/com/yj/earth/params/FlyLine.java
Normal file
@ -0,0 +1,32 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
@SourceType("flyLine")
|
||||
public class FlyLine {
|
||||
private String id;
|
||||
private String name;
|
||||
private List<Position> positions;
|
||||
private Map<String, Object> customView;
|
||||
private boolean show;
|
||||
private int pointNumber;
|
||||
private int height;
|
||||
private int heightDifference;
|
||||
private int width;
|
||||
private int duration;
|
||||
private String color;
|
||||
private double lineBackAlpha;
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
}
|
||||
|
||||
28
src/main/java/com/yj/earth/params/Fountain.java
Normal file
28
src/main/java/com/yj/earth/params/Fountain.java
Normal file
@ -0,0 +1,28 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
@SourceType("fountain")
|
||||
public class Fountain {
|
||||
private String id;
|
||||
private String name;
|
||||
private Map<String, Object> customView;
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
private boolean show;
|
||||
private String startColor;
|
||||
private String endColor;
|
||||
private double startScale;
|
||||
private double endScale;
|
||||
private int minimumParticleLife;
|
||||
private int maximumParticleLife;
|
||||
private double minimumSpeed;
|
||||
private double maximumSpeed;
|
||||
private int emissionRate;
|
||||
private double particleSize;
|
||||
}
|
||||
@ -11,4 +11,5 @@ public class Layer {
|
||||
private Boolean show;
|
||||
private Integer alpha;
|
||||
private Integer brightness;
|
||||
private Integer layerIndex;
|
||||
}
|
||||
|
||||
66
src/main/java/com/yj/earth/params/Military.java
Normal file
66
src/main/java/com/yj/earth/params/Military.java
Normal file
@ -0,0 +1,66 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@SourceType("military")
|
||||
public class Military {
|
||||
private String id;
|
||||
private String url;
|
||||
private Position position;
|
||||
private String host;
|
||||
private boolean show;
|
||||
private String name;
|
||||
private String color;
|
||||
private String richTextContent;
|
||||
private int angle;
|
||||
private Scale scale;
|
||||
private Flipe flipe;
|
||||
private Attribute attribute;
|
||||
private String attributeType;
|
||||
private Text text;
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Scale {
|
||||
private double x;
|
||||
private double y;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Flipe {
|
||||
private boolean x;
|
||||
private boolean y;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Attribute {
|
||||
private Link link;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Link {
|
||||
private List<Object> content;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Text {
|
||||
private String value;
|
||||
private boolean show;
|
||||
private int fontSize;
|
||||
private String color;
|
||||
private boolean scaleByDistance;
|
||||
private int near;
|
||||
private int far;
|
||||
private Position position;
|
||||
}
|
||||
}
|
||||
@ -3,7 +3,7 @@ package com.yj.earth.params;
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@SourceType("model")
|
||||
@ -12,12 +12,17 @@ public class Model {
|
||||
private Position position;
|
||||
private String name;
|
||||
private boolean show;
|
||||
private Rotate scale;
|
||||
private String url;
|
||||
private double maximumScale;
|
||||
private Scale scale;
|
||||
private String host;
|
||||
private String url;
|
||||
private int maximumScale;
|
||||
private Rotate rotate;
|
||||
private Map<String, Object> label;
|
||||
private Label label;
|
||||
private String color;
|
||||
private int minimumPixelSize;
|
||||
private boolean scaleByDistance;
|
||||
private Attribute attribute;
|
||||
private String richTextContent;
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
@ -26,10 +31,43 @@ public class Model {
|
||||
private double alt;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Scale {
|
||||
private double x;
|
||||
private double y;
|
||||
private double z;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Rotate {
|
||||
private double x;
|
||||
private double y;
|
||||
private double z;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Label {
|
||||
private String text;
|
||||
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;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Attribute {
|
||||
private Link link;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Link {
|
||||
private List<Object> content;
|
||||
}
|
||||
}
|
||||
|
||||
28
src/main/java/com/yj/earth/params/Smoke.java
Normal file
28
src/main/java/com/yj/earth/params/Smoke.java
Normal file
@ -0,0 +1,28 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
@SourceType("smoke")
|
||||
public class Smoke {
|
||||
private String id;
|
||||
private String name;
|
||||
private Map<String, Object> customView;
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
private boolean show;
|
||||
private String startColor;
|
||||
private String endColor;
|
||||
private double startScale;
|
||||
private double endScale;
|
||||
private int minimumParticleLife;
|
||||
private int maximumParticleLife;
|
||||
private double minimumSpeed;
|
||||
private double maximumSpeed;
|
||||
private int emissionRate;
|
||||
private double particleSize;
|
||||
}
|
||||
@ -4,6 +4,7 @@ import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@SourceType("wallStereoscopic")
|
||||
@Data
|
||||
@ -20,6 +21,8 @@ public class WallStereoscopic {
|
||||
private Label label;
|
||||
private String instruct;
|
||||
private String operatingPoint;
|
||||
private String richTextContent;
|
||||
private CustomView customView;
|
||||
private Attribute attribute;
|
||||
|
||||
@Data
|
||||
@ -53,5 +56,25 @@ public class WallStereoscopic {
|
||||
public static class Link {
|
||||
private List<Object> content;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class CustomView {
|
||||
private AttackArrow.CustomView.Orientation orientation;
|
||||
private AttackArrow.CustomView.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
35
src/main/java/com/yj/earth/params/WaterL.java
Normal file
35
src/main/java/com/yj/earth/params/WaterL.java
Normal file
@ -0,0 +1,35 @@
|
||||
package com.yj.earth.params;
|
||||
|
||||
import com.yj.earth.annotation.SourceType;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
@SourceType("waterL")
|
||||
public class WaterL {
|
||||
private String id;
|
||||
private String name;
|
||||
private Map<String, Object> customView;
|
||||
private Position start;
|
||||
private Position end;
|
||||
private boolean show;
|
||||
private String startColor;
|
||||
private String endColor;
|
||||
private double startScale;
|
||||
private double endScale;
|
||||
private int minimumParticleLife;
|
||||
private int maximumParticleLife;
|
||||
private int emissionRate;
|
||||
private double particleSize;
|
||||
private double heading;
|
||||
private double pitch;
|
||||
private double speed;
|
||||
|
||||
@Data
|
||||
public static class Position {
|
||||
private double lng;
|
||||
private double lat;
|
||||
private double alt;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user