From 6560a7ad3830f28eedaeb65c84c27e2f9289db5c Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期三, 28 七月 2021 16:32:42 +0800 Subject: [PATCH] Merge pull request #136 from lawrencehj/wvp-28181-2.0 --- src/main/java/com/genersoft/iot/vmp/gb28181/event/online/OnlineEvent.java | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/event/online/OnlineEvent.java b/src/main/java/com/genersoft/iot/vmp/gb28181/event/online/OnlineEvent.java index e077cb9..1e01956 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/event/online/OnlineEvent.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/event/online/OnlineEvent.java @@ -1,5 +1,6 @@ package com.genersoft.iot.vmp.gb28181.event.online; +import com.genersoft.iot.vmp.gb28181.bean.Device; import org.springframework.context.ApplicationEvent; /** @@ -18,18 +19,18 @@ super(source); } - private String deviceId; + private Device device; private String from; - public String getDeviceId() { - return deviceId; + public Device getDevice() { + return device; } - public void setDeviceId(String deviceId) { - this.deviceId = deviceId; + public void setDevice(Device device) { + this.device = device; } - + public String getFrom() { return from; } -- Gitblit v1.8.0