leutu
2024-05-08 543e4eb01ca210b20876e8139cb3d0403d7d065c
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
package com.skyline.electricity.pojo;
 
public class Label
{
    private Color fillcolor;
    private String font;
    private String horizontalOrigin;
    private Color outlineColor;
    private int outlineWidth;
    private Offset pixelOffset;
    private double scale;
    private boolean show;
    private String style;
    private boolean showBackground;
    private Color backgroundColor;
    private String text;
    private String verticalOrigin;
    
    public Color getFillcolor() {
        return this.fillcolor;
    }
    
    public String getFont() {
        return this.font;
    }
    
    public String getHorizontalOrigin() {
        return this.horizontalOrigin;
    }
    
    public Color getOutlineColor() {
        return this.outlineColor;
    }
    
    public int getOutlineWidth() {
        return this.outlineWidth;
    }
    
    public Offset getPixelOffset() {
        return this.pixelOffset;
    }
    
    public double getScale() {
        return this.scale;
    }
    
    public boolean isShow() {
        return this.show;
    }
    
    public String getStyle() {
        return this.style;
    }
    
    public boolean isShowBackground() {
        return this.showBackground;
    }
    
    public Color getBackgroundColor() {
        return this.backgroundColor;
    }
    
    public String getText() {
        return this.text;
    }
    
    public String getVerticalOrigin() {
        return this.verticalOrigin;
    }
    
    public void setFillcolor(final Color fillcolor) {
        this.fillcolor = fillcolor;
    }
    
    public void setFont(final String font) {
        this.font = font;
    }
    
    public void setHorizontalOrigin(final String horizontalOrigin) {
        this.horizontalOrigin = horizontalOrigin;
    }
    
    public void setOutlineColor(final Color outlineColor) {
        this.outlineColor = outlineColor;
    }
    
    public void setOutlineWidth(final int outlineWidth) {
        this.outlineWidth = outlineWidth;
    }
    
    public void setPixelOffset(final Offset pixelOffset) {
        this.pixelOffset = pixelOffset;
    }
    
    public void setScale(final double scale) {
        this.scale = scale;
    }
    
    public void setShow(final boolean show) {
        this.show = show;
    }
    
    public void setStyle(final String style) {
        this.style = style;
    }
    
    public void setShowBackground(final boolean showBackground) {
        this.showBackground = showBackground;
    }
    
    public void setBackgroundColor(final Color backgroundColor) {
        this.backgroundColor = backgroundColor;
    }
    
    public void setText(final String text) {
        this.text = text;
    }
    
    public void setVerticalOrigin(final String verticalOrigin) {
        this.verticalOrigin = verticalOrigin;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof Label)) {
            return false;
        }
        final Label other = (Label)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$fillcolor = this.getFillcolor();
        final Object other$fillcolor = other.getFillcolor();
        Label_0065: {
            if (this$fillcolor == null) {
                if (other$fillcolor == null) {
                    break Label_0065;
                }
            }
            else if (this$fillcolor.equals(other$fillcolor)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$font = this.getFont();
        final Object other$font = other.getFont();
        Label_0102: {
            if (this$font == null) {
                if (other$font == null) {
                    break Label_0102;
                }
            }
            else if (this$font.equals(other$font)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$horizontalOrigin = this.getHorizontalOrigin();
        final Object other$horizontalOrigin = other.getHorizontalOrigin();
        Label_0139: {
            if (this$horizontalOrigin == null) {
                if (other$horizontalOrigin == null) {
                    break Label_0139;
                }
            }
            else if (this$horizontalOrigin.equals(other$horizontalOrigin)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$outlineColor = this.getOutlineColor();
        final Object other$outlineColor = other.getOutlineColor();
        Label_0176: {
            if (this$outlineColor == null) {
                if (other$outlineColor == null) {
                    break Label_0176;
                }
            }
            else if (this$outlineColor.equals(other$outlineColor)) {
                break Label_0176;
            }
            return false;
        }
        if (this.getOutlineWidth() != other.getOutlineWidth()) {
            return false;
        }
        final Object this$pixelOffset = this.getPixelOffset();
        final Object other$pixelOffset = other.getPixelOffset();
        Label_0226: {
            if (this$pixelOffset == null) {
                if (other$pixelOffset == null) {
                    break Label_0226;
                }
            }
            else if (this$pixelOffset.equals(other$pixelOffset)) {
                break Label_0226;
            }
            return false;
        }
        if (Double.compare(this.getScale(), other.getScale()) != 0) {
            return false;
        }
        if (this.isShow() != other.isShow()) {
            return false;
        }
        final Object this$style = this.getStyle();
        final Object other$style = other.getStyle();
        Label_0292: {
            if (this$style == null) {
                if (other$style == null) {
                    break Label_0292;
                }
            }
            else if (this$style.equals(other$style)) {
                break Label_0292;
            }
            return false;
        }
        if (this.isShowBackground() != other.isShowBackground()) {
            return false;
        }
        final Object this$backgroundColor = this.getBackgroundColor();
        final Object other$backgroundColor = other.getBackgroundColor();
        Label_0342: {
            if (this$backgroundColor == null) {
                if (other$backgroundColor == null) {
                    break Label_0342;
                }
            }
            else if (this$backgroundColor.equals(other$backgroundColor)) {
                break Label_0342;
            }
            return false;
        }
        final Object this$text = this.getText();
        final Object other$text = other.getText();
        Label_0379: {
            if (this$text == null) {
                if (other$text == null) {
                    break Label_0379;
                }
            }
            else if (this$text.equals(other$text)) {
                break Label_0379;
            }
            return false;
        }
        final Object this$verticalOrigin = this.getVerticalOrigin();
        final Object other$verticalOrigin = other.getVerticalOrigin();
        if (this$verticalOrigin == null) {
            if (other$verticalOrigin == null) {
                return true;
            }
        }
        else if (this$verticalOrigin.equals(other$verticalOrigin)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof Label;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $fillcolor = this.getFillcolor();
        result = result * 59 + (($fillcolor == null) ? 43 : $fillcolor.hashCode());
        final Object $font = this.getFont();
        result = result * 59 + (($font == null) ? 43 : $font.hashCode());
        final Object $horizontalOrigin = this.getHorizontalOrigin();
        result = result * 59 + (($horizontalOrigin == null) ? 43 : $horizontalOrigin.hashCode());
        final Object $outlineColor = this.getOutlineColor();
        result = result * 59 + (($outlineColor == null) ? 43 : $outlineColor.hashCode());
        result = result * 59 + this.getOutlineWidth();
        final Object $pixelOffset = this.getPixelOffset();
        result = result * 59 + (($pixelOffset == null) ? 43 : $pixelOffset.hashCode());
        final long $scale = Double.doubleToLongBits(this.getScale());
        result = result * 59 + (int)($scale >>> 32 ^ $scale);
        result = result * 59 + (this.isShow() ? 79 : 97);
        final Object $style = this.getStyle();
        result = result * 59 + (($style == null) ? 43 : $style.hashCode());
        result = result * 59 + (this.isShowBackground() ? 79 : 97);
        final Object $backgroundColor = this.getBackgroundColor();
        result = result * 59 + (($backgroundColor == null) ? 43 : $backgroundColor.hashCode());
        final Object $text = this.getText();
        result = result * 59 + (($text == null) ? 43 : $text.hashCode());
        final Object $verticalOrigin = this.getVerticalOrigin();
        result = result * 59 + (($verticalOrigin == null) ? 43 : $verticalOrigin.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "Label(fillcolor=" + this.getFillcolor() + ", font=" + this.getFont() + ", horizontalOrigin=" + this.getHorizontalOrigin() + ", outlineColor=" + this.getOutlineColor() + ", outlineWidth=" + this.getOutlineWidth() + ", pixelOffset=" + this.getPixelOffset() + ", scale=" + this.getScale() + ", show=" + this.isShow() + ", style=" + this.getStyle() + ", showBackground=" + this.isShowBackground() + ", backgroundColor=" + this.getBackgroundColor() + ", text=" + this.getText() + ", verticalOrigin=" + this.getVerticalOrigin() + ")";
    }
}