|  |  | 
 |  |  | package com.genersoft.iot.vmp.gb28181.event.online;
 | 
 |  |  | 
 | 
 |  |  | import com.genersoft.iot.vmp.gb28181.bean.Device;
 | 
 |  |  | import org.springframework.context.ApplicationEvent;
 | 
 |  |  | 
 | 
 |  |  | /**    
 | 
 |  |  |  * @Description: 在线事件类    | 
 |  |  |  * @description: 在线事件类    | 
 |  |  |  * @author: swwheihei
 | 
 |  |  |  * @date:   2020年5月6日 上午11:32:56     
 | 
 |  |  |  */
 | 
 |  |  | 
 |  |  |       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;
 | 
 |  |  |    }
 |