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;
|
}
|
|
|
|
|
|
|
|
}
|