yangys
2024-10-30 25db770e621f1259b8d5b7fd514207f7481c2d0f
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
package com.qianwen.smartman.common.websocket.entity;
 
import java.util.List;
 
 
public class FmsWorkstation {
    private String code;
    private String name;
    private String programmName;
    private String id;
    private String state;
    private String time;
    private String ts;
    private String color;
    private List<FmsWorkBench> workBenchList;
    private String toolStatus;
    private Alarm alarmInfo;
 
    public void setCode(final String code) {
        this.code = code;
    }
 
    public void setName(final String name) {
        this.name = name;
    }
 
    public void setProgrammName(final String programmName) {
        this.programmName = programmName;
    }
 
    public void setId(final String id) {
        this.id = id;
    }
 
    public void setState(final String state) {
        this.state = state;
    }
 
    public void setTime(final String time) {
        this.time = time;
    }
 
    public void setTs(final String ts) {
        this.ts = ts;
    }
 
    public void setColor(final String color) {
        this.color = color;
    }
 
    public void setWorkBenchList(final List<FmsWorkBench> workBenchList) {
        this.workBenchList = workBenchList;
    }
 
    public void setToolStatus(final String toolStatus) {
        this.toolStatus = toolStatus;
    }
 
    public void setAlarmInfo(final Alarm alarmInfo) {
        this.alarmInfo = alarmInfo;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof FmsWorkstation) {
            FmsWorkstation other = (FmsWorkstation) o;
            if (other.canEqual(this)) {
                Object this$code = getCode();
                Object other$code = other.getCode();
                if (this$code == null) {
                    if (other$code != null) {
                        return false;
                    }
                } else if (!this$code.equals(other$code)) {
                    return false;
                }
                Object this$name = getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }
                Object this$programmName = getProgrammName();
                Object other$programmName = other.getProgrammName();
                if (this$programmName == null) {
                    if (other$programmName != null) {
                        return false;
                    }
                } else if (!this$programmName.equals(other$programmName)) {
                    return false;
                }
                Object this$id = getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }
                Object this$state = getState();
                Object other$state = other.getState();
                if (this$state == null) {
                    if (other$state != null) {
                        return false;
                    }
                } else if (!this$state.equals(other$state)) {
                    return false;
                }
                Object this$time = getTime();
                Object other$time = other.getTime();
                if (this$time == null) {
                    if (other$time != null) {
                        return false;
                    }
                } else if (!this$time.equals(other$time)) {
                    return false;
                }
                Object this$ts = getTs();
                Object other$ts = other.getTs();
                if (this$ts == null) {
                    if (other$ts != null) {
                        return false;
                    }
                } else if (!this$ts.equals(other$ts)) {
                    return false;
                }
                Object this$color = getColor();
                Object other$color = other.getColor();
                if (this$color == null) {
                    if (other$color != null) {
                        return false;
                    }
                } else if (!this$color.equals(other$color)) {
                    return false;
                }
                Object this$workBenchList = getWorkBenchList();
                Object other$workBenchList = other.getWorkBenchList();
                if (this$workBenchList == null) {
                    if (other$workBenchList != null) {
                        return false;
                    }
                } else if (!this$workBenchList.equals(other$workBenchList)) {
                    return false;
                }
                Object this$toolStatus = getToolStatus();
                Object other$toolStatus = other.getToolStatus();
                if (this$toolStatus == null) {
                    if (other$toolStatus != null) {
                        return false;
                    }
                } else if (!this$toolStatus.equals(other$toolStatus)) {
                    return false;
                }
                Object this$alarmInfo = getAlarmInfo();
                Object other$alarmInfo = other.getAlarmInfo();
                return this$alarmInfo == null ? other$alarmInfo == null : this$alarmInfo.equals(other$alarmInfo);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof FmsWorkstation;
    }
 
    public int hashCode() {
        Object $code = getCode();
        int result = (1 * 59) + ($code == null ? 43 : $code.hashCode());
        Object $name = getName();
        int result2 = (result * 59) + ($name == null ? 43 : $name.hashCode());
        Object $programmName = getProgrammName();
        int result3 = (result2 * 59) + ($programmName == null ? 43 : $programmName.hashCode());
        Object $id = getId();
        int result4 = (result3 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $state = getState();
        int result5 = (result4 * 59) + ($state == null ? 43 : $state.hashCode());
        Object $time = getTime();
        int result6 = (result5 * 59) + ($time == null ? 43 : $time.hashCode());
        Object $ts = getTs();
        int result7 = (result6 * 59) + ($ts == null ? 43 : $ts.hashCode());
        Object $color = getColor();
        int result8 = (result7 * 59) + ($color == null ? 43 : $color.hashCode());
        Object $workBenchList = getWorkBenchList();
        int result9 = (result8 * 59) + ($workBenchList == null ? 43 : $workBenchList.hashCode());
        Object $toolStatus = getToolStatus();
        int result10 = (result9 * 59) + ($toolStatus == null ? 43 : $toolStatus.hashCode());
        Object $alarmInfo = getAlarmInfo();
        return (result10 * 59) + ($alarmInfo == null ? 43 : $alarmInfo.hashCode());
    }
 
    public String toString() {
        return "FmsWorkstation(code=" + getCode() + ", name=" + getName() + ", programmName=" + getProgrammName() + ", id=" + getId() + ", state=" + getState() + ", time=" + getTime() + ", ts=" + getTs() + ", color=" + getColor() + ", workBenchList=" + getWorkBenchList() + ", toolStatus=" + getToolStatus() + ", alarmInfo=" + getAlarmInfo() + ")";
    }
 
    public String getCode() {
        return this.code;
    }
 
    public String getName() {
        return this.name;
    }
 
    public String getProgrammName() {
        return this.programmName;
    }
 
    public String getId() {
        return this.id;
    }
 
    public String getState() {
        return this.state;
    }
 
    public String getTime() {
        return this.time;
    }
 
    public String getTs() {
        return this.ts;
    }
 
    public String getColor() {
        return this.color;
    }
 
    public List<FmsWorkBench> getWorkBenchList() {
        return this.workBenchList;
    }
 
    public String getToolStatus() {
        return this.toolStatus;
    }
 
    public Alarm getAlarmInfo() {
        return this.alarmInfo;
    }
}