严智鑫
2025-11-13 945bc394f40d8af1072a53da9a94f24207124e6d
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
package com.northglass.entity;
 
import java.util.Date;
 
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Transient;
 
import net.sf.json.JSONObject;
 
@Entity
@Table(name = "gmms_machine_dynamic")
public class MachineDynamic extends IdEntity {
 
    private String machineName;
    private String machineIp;
    private String endPosition;
    private String startPosition;
    private double length;// 
    private double width;// 
    private double thickness;// 
    private String color;// 
    private String taskType;// 
    private int state;
    private double speed;// 
    private Date startTime;
    private Date completeTime;
 
    
    public MachineDynamic(){
        
    }
    public MachineDynamic(String machine_name,String machine_ip,double length,double width,double thickness,
             String startPosition,String endPosition,String color,String taskType,int state,double speed,Date startTime,Date completeTime
        ) {
        super();
        this.machineName=machine_name;
        this.machineIp=machine_ip;
        this.length=length;
        this.width=width;
        this.thickness=thickness;
        this.startPosition=startPosition;
        this.endPosition=endPosition;
        this.color=color;
        this.taskType=taskType;
        this.state=state;
        this.speed=speed;
        this.startTime=startTime;
        this.completeTime=completeTime;
    
    }
    
    public String getMachineIp(){
        return machineIp;
    }
    public void setMachineIp(String machineIp){
        this.machineIp=machineIp;
    }
    
    public String getStartPosition(){
        return startPosition;
    }
    
    public void setStartPosition(String startPosition){
        this.startPosition=startPosition;
    }
    
    public String getEndPosition(){
        return endPosition;
    }
    
    public void setEndPosition(String endPosition){
        this.endPosition=endPosition;
    }
    
    public String getMachineName(){
        return machineName;
    }
    public void setMachineName(String machineName){
        this.machineName=machineName;
    }
    
    public String getTaskType(){
        return taskType;
    }
    public void setTaskType(String taskType){
        this.taskType=taskType;
    }
 
    public double getLength() {
        return length;
    }
 
    public void setLength(double length) {
        this.length = length;
    }
 
    public double getWidth() {
        return width;
    }
 
    public void setWidth(double width) {
        this.width = width;
    }
 
    public double getThickness() {
        return thickness;
    }
 
    public void setThickness(double thickness) {
        this.thickness = thickness;
    }
    
    
    public double getSpeed() {
        return speed;
    }
 
    public void setSpeed(double speed) {
        this.speed = speed;
    }
 
    public String getColor() {
        return color;
    }
 
    public void setColor(String color) {
        this.color = color;
    }
 
 
    public int getState() {
        return state;
    }
 
    public void setState(int state) {
        this.state = state;
    }
 
    public Date getStartTime() {
        return startTime;
    }
 
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }
 
    public Date getCompleteTime() {
        return completeTime;
    }
 
    public void setCompleteTime(Date completeTime) {
        this.completeTime = completeTime;
    }
    
 
 
    
 
    
 
}