ifishSocket/src/main/java/com/ifish/socketNew/model/send/OrderFunctionCode9.java

50 lines
1.0 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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