mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-25 22:47:49 +08:00
临时提交
This commit is contained in:
parent
b84e9d2799
commit
0ab50eb1c0
@ -288,7 +288,7 @@ public class NotifyRequestForCatalogProcessor extends SIPRequestProcessorParent
|
|||||||
switch (notifyCatalogChannel.getType()) {
|
switch (notifyCatalogChannel.getType()) {
|
||||||
case STATUS_CHANGED:
|
case STATUS_CHANGED:
|
||||||
deviceChannelService.updateChannelStatusForNotify(notifyCatalogChannel.getChannel());
|
deviceChannelService.updateChannelStatusForNotify(notifyCatalogChannel.getChannel());
|
||||||
CommonGBChannel channelForStatus = channelService.getOne(notifyCatalogChannel.getChannel().getId());
|
CommonGBChannel channelForStatus = channelService.queryBySourceChannelId(notifyCatalogChannel.getChannel());
|
||||||
if ("ON".equals(notifyCatalogChannel.getChannel().getStatus()) ) {
|
if ("ON".equals(notifyCatalogChannel.getChannel().getStatus()) ) {
|
||||||
eventPublisher.channelEventPublish(channelForStatus, ChannelEvent.ChannelEventMessageType.ON);
|
eventPublisher.channelEventPublish(channelForStatus, ChannelEvent.ChannelEventMessageType.ON);
|
||||||
}else {
|
}else {
|
||||||
@ -313,7 +313,7 @@ public class NotifyRequestForCatalogProcessor extends SIPRequestProcessorParent
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}catch (Exception e) {
|
}catch (Exception e) {
|
||||||
log.error("[存储收到的通道]类型:{},编号:{}", notifyCatalogChannel.getType(),
|
log.error("[存储收到的通道-异常]类型:{},编号:{}", notifyCatalogChannel.getType(),
|
||||||
notifyCatalogChannel.getChannel().getDeviceId(), e);
|
notifyCatalogChannel.getChannel().getDeviceId(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,6 +17,11 @@ public class GPSMsgInfo {
|
|||||||
*/
|
*/
|
||||||
private Integer channelId;
|
private Integer channelId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private String app;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 经度 (必选)
|
* 经度 (必选)
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user