mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-24 05:57:49 +08:00
1078-暂时注释位置附加信息读取
This commit is contained in:
parent
ae239c8848
commit
59c91bdaf8
@ -43,18 +43,18 @@ public class J0200 extends Re {
|
|||||||
byte[] timeBytes = new byte[6];
|
byte[] timeBytes = new byte[6];
|
||||||
buf.readBytes(timeBytes);
|
buf.readBytes(timeBytes);
|
||||||
positionInfo.setTime(BCDUtil.transform(timeBytes));
|
positionInfo.setTime(BCDUtil.transform(timeBytes));
|
||||||
boolean readable = buf.isReadable();
|
// boolean readable = buf.isReadable();
|
||||||
// 读取附加信息
|
// // 读取附加信息
|
||||||
if (buf.isReadable()) {
|
// if (buf.isReadable()) {
|
||||||
// 支持1078的视频报警上报
|
// // 支持1078的视频报警上报
|
||||||
int alarm = buf.readInt();
|
// int alarm = buf.readInt();
|
||||||
int loss = buf.readInt();
|
// int loss = buf.readInt();
|
||||||
int occlusion = buf.readInt();
|
// int occlusion = buf.readInt();
|
||||||
short storageFault = buf.readShort();
|
// short storageFault = buf.readShort();
|
||||||
short driving = buf.readShort();
|
// short driving = buf.readShort();
|
||||||
JTVideoAlarm videoAlarm = JTVideoAlarm.getInstance(alarm, loss, occlusion, storageFault, driving);
|
// JTVideoAlarm videoAlarm = JTVideoAlarm.getInstance(alarm, loss, occlusion, storageFault, driving);
|
||||||
positionInfo.setVideoAlarm(videoAlarm);
|
// positionInfo.setVideoAlarm(videoAlarm);
|
||||||
}
|
// }
|
||||||
log.info("[JT-位置汇报]: {}", positionInfo.toString());
|
log.info("[JT-位置汇报]: {}", positionInfo.toString());
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user