50 lines
1.0 KiB
Java
50 lines
1.0 KiB
Java
package com.ifish.socketNew.model.send;
|
||
|
||
import java.io.Serializable;
|
||
|
||
import com.ifish.socketNew.model.HeadModel;
|
||
|
||
/**
|
||
* 温度报警指令22字节(17字节头+5字节)
|
||
* @author guogw
|
||
*
|
||
*/
|
||
public class OrderFunctionCode9 extends HeadModel implements Serializable {
|
||
|
||
private static final long serialVersionUID = -6712376303551767331L;
|
||
//报警温度类型,0是低温报警,1是高温报警
|
||
private byte warn_type;
|
||
//当前设备温度
|
||
private short wendu;
|
||
//报警温度
|
||
private short warn_wendu;
|
||
|
||
public byte getWarn_type() {
|
||
return warn_type;
|
||
}
|
||
public void setWarn_type(byte warn_type) {
|
||
this.warn_type = warn_type;
|
||
}
|
||
public short getWendu() {
|
||
return wendu;
|
||
}
|
||
public void setWendu(short wendu) {
|
||
this.wendu = wendu;
|
||
}
|
||
public short getWarn_wendu() {
|
||
return warn_wendu;
|
||
}
|
||
public void setWarn_wendu(short warn_wendu) {
|
||
this.warn_wendu = warn_wendu;
|
||
}
|
||
|
||
@Override
|
||
public String toString() {
|
||
return "OrderFunctionCode9{" +
|
||
"warn_type=" + warn_type +
|
||
", wendu=" + wendu +
|
||
", warn_wendu=" + warn_wendu +
|
||
'}';
|
||
}
|
||
}
|