|
|
@@ -5,6 +5,7 @@ import com.zd.common.core.annotation.Excel;
|
|
|
import com.zd.common.core.enums.HardwareOperate;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
+import lombok.Data;
|
|
|
import org.hibernate.validator.constraints.Length;
|
|
|
|
|
|
/**
|
|
|
@@ -13,6 +14,7 @@ import org.hibernate.validator.constraints.Length;
|
|
|
* @author zd
|
|
|
*/
|
|
|
@ApiModel("硬件表")
|
|
|
+@Data
|
|
|
public class RemoteLabHardware{
|
|
|
|
|
|
/**
|
|
|
@@ -122,7 +124,7 @@ public class RemoteLabHardware{
|
|
|
private Integer port;
|
|
|
/** 设备输出频率 33最大 */
|
|
|
@ApiModelProperty(value = "设备输出频率 33最大")
|
|
|
- private Integer uniformPower;
|
|
|
+ private String uniformPower;
|
|
|
/** 设备推送频率,0最大,2最小 */
|
|
|
@ApiModelProperty(value = "设备推送频率,0最大,2最小")
|
|
|
private Byte sessionIndex;
|
|
|
@@ -130,23 +132,6 @@ public class RemoteLabHardware{
|
|
|
@ApiModelProperty(value = "支持1通道、4通道、8通道、16通道")
|
|
|
private Integer channels;
|
|
|
|
|
|
-
|
|
|
- public Integer getManufacturerType() {
|
|
|
- return manufacturerType;
|
|
|
- }
|
|
|
-
|
|
|
- public void setManufacturerType(Integer manufacturerType) {
|
|
|
- this.manufacturerType = manufacturerType;
|
|
|
- }
|
|
|
-
|
|
|
- public String getHardwareNum() {
|
|
|
- return hardwareNum;
|
|
|
- }
|
|
|
-
|
|
|
- public void setHardwareNum(String hardwareNum) {
|
|
|
- this.hardwareNum = hardwareNum;
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* 功能状态: 不同设备的功能状态都是不一样的
|
|
|
*/
|
|
|
@@ -174,207 +159,4 @@ public class RemoteLabHardware{
|
|
|
|
|
|
@ApiModelProperty(value = "报警器响铃时长")
|
|
|
private Integer ringTime;
|
|
|
-
|
|
|
- public Integer getRingTime() {
|
|
|
- return ringTime;
|
|
|
- }
|
|
|
-
|
|
|
- public void setRingTime(Integer ringTime) {
|
|
|
- this.ringTime = ringTime;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getDeptId() {
|
|
|
- return deptId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setDeptId(Long deptId) {
|
|
|
- this.deptId = deptId;
|
|
|
- }
|
|
|
-
|
|
|
- public String getDeptName() {
|
|
|
- return deptName;
|
|
|
- }
|
|
|
-
|
|
|
- public void setDeptName(String deptName) {
|
|
|
- this.deptName = deptName;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getUserId() {
|
|
|
- return userId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setUserId(Long userId) {
|
|
|
- this.userId = userId;
|
|
|
- }
|
|
|
-
|
|
|
- public String getFunctionStatus() {
|
|
|
- return functionStatus;
|
|
|
- }
|
|
|
-
|
|
|
- public void setFunctionStatus(String functionStatus) {
|
|
|
- this.functionStatus = functionStatus;
|
|
|
- }
|
|
|
-
|
|
|
- public void setId(Long id) {
|
|
|
- this.id = id;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getId() {
|
|
|
- return id;
|
|
|
- }
|
|
|
-
|
|
|
- public void setName(String name) {
|
|
|
- this.name = name;
|
|
|
- }
|
|
|
-
|
|
|
- public String getName() {
|
|
|
- return name;
|
|
|
- }
|
|
|
-
|
|
|
- public void setFactory(String factory) {
|
|
|
- this.factory = factory;
|
|
|
- }
|
|
|
-
|
|
|
- public String getFactory() {
|
|
|
- return factory;
|
|
|
- }
|
|
|
-
|
|
|
- public void setType(Integer type) {
|
|
|
- this.type = type;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getType() {
|
|
|
- return type;
|
|
|
- }
|
|
|
-
|
|
|
- public void setMacAdd(String macAdd) {
|
|
|
- this.macAdd = macAdd;
|
|
|
- }
|
|
|
-
|
|
|
- public String getMacAdd() {
|
|
|
- return macAdd;
|
|
|
- }
|
|
|
-
|
|
|
- public void setSubjectId(Long subjectId) {
|
|
|
- this.subjectId = subjectId;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getSubjectId() {
|
|
|
- return subjectId;
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- public void setOperate(HardwareOperate operate) {
|
|
|
- this.operate = operate;
|
|
|
- }
|
|
|
-
|
|
|
- public HardwareOperate getOperate() {
|
|
|
- return operate;
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- public String getHorizontalAxis() {
|
|
|
- return horizontalAxis;
|
|
|
- }
|
|
|
-
|
|
|
- public void setHorizontalAxis(String horizontalAxis) {
|
|
|
- this.horizontalAxis = horizontalAxis;
|
|
|
- }
|
|
|
-
|
|
|
- public String getVerticalAxis() {
|
|
|
- return verticalAxis;
|
|
|
- }
|
|
|
-
|
|
|
- public void setVerticalAxis(String verticalAxis) {
|
|
|
- this.verticalAxis = verticalAxis;
|
|
|
- }
|
|
|
-
|
|
|
- public String getRelayCode() {
|
|
|
- return relayCode;
|
|
|
- }
|
|
|
-
|
|
|
- public void setRelayCode(String relayCode) {
|
|
|
- this.relayCode = relayCode;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getBit() {
|
|
|
- if(this.bit != null && this.bit == -1){
|
|
|
- this.bit = null;
|
|
|
- }
|
|
|
- return bit;
|
|
|
- }
|
|
|
-
|
|
|
- public void setBit(Integer bit) {
|
|
|
- this.bit = bit;
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- public String getConfigName() {
|
|
|
- return configName;
|
|
|
- }
|
|
|
-
|
|
|
- public void setConfigName(String configName) {
|
|
|
- this.configName = configName;
|
|
|
- }
|
|
|
-
|
|
|
- public String getConfigStatus() {
|
|
|
- return configStatus;
|
|
|
- }
|
|
|
-
|
|
|
- public void setConfigStatus(String configStatus) {
|
|
|
- this.configStatus = configStatus;
|
|
|
- }
|
|
|
-
|
|
|
- public int getHardwareType() {
|
|
|
- return hardwareType;
|
|
|
- }
|
|
|
-
|
|
|
- public void setHardwareType(int hardwareType) {
|
|
|
- this.hardwareType = hardwareType;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getPcType() { return pcType; }
|
|
|
-
|
|
|
- public void setPcType(Integer pcType) { this.pcType = pcType; }
|
|
|
-
|
|
|
- public String getIpAddress() {
|
|
|
- return ipAddress;
|
|
|
- }
|
|
|
-
|
|
|
- public void setIpAddress(String ipAddress) {
|
|
|
- this.ipAddress = ipAddress;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getPort() {
|
|
|
- return port;
|
|
|
- }
|
|
|
-
|
|
|
- public void setPort(Integer port) {
|
|
|
- this.port = port;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getUniformPower() {
|
|
|
- return uniformPower;
|
|
|
- }
|
|
|
-
|
|
|
- public void setUniformPower(Integer uniformPower) {
|
|
|
- this.uniformPower = uniformPower;
|
|
|
- }
|
|
|
-
|
|
|
- public Byte getSessionIndex() {
|
|
|
- return sessionIndex;
|
|
|
- }
|
|
|
-
|
|
|
- public void setSessionIndex(Byte sessionIndex) {
|
|
|
- this.sessionIndex = sessionIndex;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getChannels() {
|
|
|
- return channels;
|
|
|
- }
|
|
|
-
|
|
|
- public void setChannels(Integer channels) {
|
|
|
- this.channels = channels;
|
|
|
- }
|
|
|
}
|