package org.yzh.protocol.commons.transform.parameter;
|
|
import io.github.yezhihao.protostar.annotation.Field;
|
|
/**
|
* 图像分析报警参数设置
|
* @author yezhihao
|
* https://gitee.com/yezhihao/jt808-server
|
*/
|
public class ParamImageIdentifyAlarm {
|
|
public static final Integer key = 0x007B;
|
|
@Field(length = 1, desc = "车辆核载人数,客运车辆核定载客人数,视频分析结果超过时产生报警")
|
private byte overloadThreshold;
|
@Field(length = 1, desc = "疲劳程度阈值,视频分析疲劳驾驶报警阈值,超过时产生报警")
|
private byte fatigueThreshold;
|
|
public ParamImageIdentifyAlarm() {
|
}
|
|
public byte getOverloadThreshold() {
|
return overloadThreshold;
|
}
|
|
public void setOverloadThreshold(byte overloadThreshold) {
|
this.overloadThreshold = overloadThreshold;
|
}
|
|
public byte getFatigueThreshold() {
|
return fatigueThreshold;
|
}
|
|
public void setFatigueThreshold(byte fatigueThreshold) {
|
this.fatigueThreshold = fatigueThreshold;
|
}
|
|
@Override
|
public String toString() {
|
return "ParamImageIdentifyAlarm{" +
|
"overloadThreshold=" + overloadThreshold +
|
", fatigueThreshold=" + fatigueThreshold +
|
'}';
|
}
|
}
|