From e898cd9ca017a6f5bfe4266fcd2830b232047bc8 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期六, 02 九月 2023 10:23:26 +0800 Subject: [PATCH] 修改颜色表属性设置 --- src/main/java/com/moon/server/entity/shujian/GradientColorTableEntity.java | 48 ++++++++++++++++++++++++------------------------ 1 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/main/java/com/moon/server/entity/shujian/GradientColorTableEntity.java b/src/main/java/com/moon/server/entity/shujian/GradientColorTableEntity.java index bb25ded..abdcdfa 100644 --- a/src/main/java/com/moon/server/entity/shujian/GradientColorTableEntity.java +++ b/src/main/java/com/moon/server/entity/shujian/GradientColorTableEntity.java @@ -12,86 +12,86 @@ public class GradientColorTableEntity implements Serializable { private static final long serialVersionUID = 3436664443231697504L; - private Double r_start; + private short r_start; - private Double g_start; + private short g_start; - private Double b_start; + private short b_start; - private Double r_end; + private short r_end; - private Double g_end; + private short g_end; - private Double b_end; + private short b_end; - private Double low; + private double low; - private Double high; + private double high; public GradientColorTableEntity() { } - public Double getR_start() { + public short getR_start() { return r_start; } - public void setR_start(Double r_start) { + public void setR_start(short r_start) { this.r_start = r_start; } - public Double getG_start() { + public short getG_start() { return g_start; } - public void setG_start(Double g_start) { + public void setG_start(short g_start) { this.g_start = g_start; } - public Double getB_start() { + public short getB_start() { return b_start; } - public void setB_start(Double b_start) { + public void setB_start(short b_start) { this.b_start = b_start; } - public Double getR_end() { + public short getR_end() { return r_end; } - public void setR_end(Double r_end) { + public void setR_end(short r_end) { this.r_end = r_end; } - public Double getG_end() { + public short getG_end() { return g_end; } - public void setG_end(Double g_end) { + public void setG_end(short g_end) { this.g_end = g_end; } - public Double getB_end() { + public short getB_end() { return b_end; } - public void setB_end(Double b_end) { + public void setB_end(short b_end) { this.b_end = b_end; } - public Double getLow() { + public double getLow() { return low; } - public void setLow(Double low) { + public void setLow(double low) { this.low = low; } - public Double getHigh() { + public double getHigh() { return high; } - public void setHigh(Double high) { + public void setHigh(double high) { this.high = high; } } -- Gitblit v1.9.3