package com.qianwen.mdc.dto;
|
|
/**
|
* 机床的传输对象,用于表单提交,各层往返数据传输
|
*/
|
public class MachineDTO {
|
private Integer id;
|
private String name;
|
private String ip;
|
|
/**
|
* machine port
|
*/
|
private Integer port;
|
|
/**
|
* 位置
|
*/
|
private String position;
|
|
/**
|
* 协议id
|
*/
|
private Integer protocolId;
|
|
/**
|
* 车间id
|
*/
|
private Integer workshopId;
|
|
/**
|
* 工段id
|
*/
|
private Integer sectionId;
|
/**
|
* 传输模式(0. com; 1. share; 2. net)
|
*/
|
private int transMode;
|
|
/**
|
* 班制: 1,2,3
|
*/
|
private Integer shiftType;
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getIp() {
|
return ip;
|
}
|
|
public void setIp(String ip) {
|
this.ip = ip;
|
}
|
|
public Integer getPort() {
|
return port;
|
}
|
|
public void setPort(Integer port) {
|
this.port = port;
|
}
|
|
public String getPosition() {
|
return position;
|
}
|
|
public void setPosition(String position) {
|
this.position = position;
|
}
|
|
public Integer getProtocolId() {
|
return protocolId;
|
}
|
|
public void setProtocolId(Integer protocolId) {
|
this.protocolId = protocolId;
|
}
|
|
public Integer getWorkshopId() {
|
return workshopId;
|
}
|
|
public void setWorkshopId(Integer workshopId) {
|
this.workshopId = workshopId;
|
}
|
|
public Integer getSectionId() {
|
return sectionId;
|
}
|
|
public void setSectionId(Integer sectionId) {
|
this.sectionId = sectionId;
|
}
|
|
public int getTransMode() {
|
return transMode;
|
}
|
|
public void setTransMode(int transMode) {
|
this.transMode = transMode;
|
}
|
|
public Integer getShiftType() {
|
return shiftType;
|
}
|
|
public void setShiftType(Integer shiftType) {
|
this.shiftType = shiftType;
|
}
|
|
|
}
|