diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/dto/PlatformStyleDTO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/dto/PlatformStyleDTO.java index 16b2766..7d9ef64 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/dto/PlatformStyleDTO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/dto/PlatformStyleDTO.java @@ -27,11 +27,25 @@ public class PlatformStyleDTO implements Serializable { /** 平台颜色 */ private String platformColor; + /** 探测区半径(千米),整圆 */ + private Double detectionZoneRadius; + /** 探测区填充颜色 */ + private String detectionZoneColor; + /** 探测区透明度 0-1 */ + private Double detectionZoneOpacity; + /** 探测区是否在地图上显示 */ + private Boolean detectionZoneVisible; + /** 威力区半径(千米) */ private Double powerZoneRadius; - + /** 威力区扇形夹角(度),如 60 表示 60 度扇形 */ + private Double powerZoneAngle; /** 威力区填充颜色 */ private String powerZoneColor; + /** 威力区透明度 0-1 */ + private Double powerZoneOpacity; + /** 威力区是否在地图上显示 */ + private Boolean powerZoneVisible; public String getRoomId() { return roomId; @@ -112,4 +126,60 @@ public class PlatformStyleDTO implements Serializable { public void setPowerZoneColor(String powerZoneColor) { this.powerZoneColor = powerZoneColor; } + + public Double getDetectionZoneRadius() { + return detectionZoneRadius; + } + + public void setDetectionZoneRadius(Double detectionZoneRadius) { + this.detectionZoneRadius = detectionZoneRadius; + } + + public String getDetectionZoneColor() { + return detectionZoneColor; + } + + public void setDetectionZoneColor(String detectionZoneColor) { + this.detectionZoneColor = detectionZoneColor; + } + + public Double getDetectionZoneOpacity() { + return detectionZoneOpacity; + } + + public void setDetectionZoneOpacity(Double detectionZoneOpacity) { + this.detectionZoneOpacity = detectionZoneOpacity; + } + + public Boolean getDetectionZoneVisible() { + return detectionZoneVisible; + } + + public void setDetectionZoneVisible(Boolean detectionZoneVisible) { + this.detectionZoneVisible = detectionZoneVisible; + } + + public Double getPowerZoneAngle() { + return powerZoneAngle; + } + + public void setPowerZoneAngle(Double powerZoneAngle) { + this.powerZoneAngle = powerZoneAngle; + } + + public Double getPowerZoneOpacity() { + return powerZoneOpacity; + } + + public void setPowerZoneOpacity(Double powerZoneOpacity) { + this.powerZoneOpacity = powerZoneOpacity; + } + + public Boolean getPowerZoneVisible() { + return powerZoneVisible; + } + + public void setPowerZoneVisible(Boolean powerZoneVisible) { + this.powerZoneVisible = powerZoneVisible; + } } diff --git a/ruoyi-ui/src/views/cesiumMap/ContextMenu.vue b/ruoyi-ui/src/views/cesiumMap/ContextMenu.vue index d36ef5a..0f42c27 100644 --- a/ruoyi-ui/src/views/cesiumMap/ContextMenu.vue +++ b/ruoyi-ui/src/views/cesiumMap/ContextMenu.vue @@ -52,10 +52,22 @@ 📝 编辑 +