| | |
| | | package com.genersoft.iot.vmp.gb28181.bean; |
| | | |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | public class Device { |
| | | |
| | | /** |
| | |
| | | private String streamMode; |
| | | |
| | | /** |
| | | * wan地址_ip |
| | | */ |
| | | private String ip; |
| | | |
| | | /** |
| | | * wan地址_port |
| | | */ |
| | | private int port; |
| | | |
| | | /** |
| | | * wan地址 |
| | | */ |
| | | private Host host; |
| | | private String hostAddress; |
| | | |
| | | /** |
| | | * 在线 |
| | | */ |
| | | private int online; |
| | | |
| | | /** |
| | | * 通道列表 |
| | | */ |
| | | // private Map<String,DeviceChannel> channelMap; |
| | | |
| | | /** |
| | | * 注册时间 |
| | | */ |
| | | private String registerTime; |
| | | |
| | | |
| | | /** |
| | | * 心跳时间 |
| | | */ |
| | | private String keepaliveTime; |
| | | |
| | | /** |
| | | * 通道个数 |
| | | */ |
| | | private int channelCount; |
| | | |
| | | private List<String> channelList; |
| | | /** |
| | | * 注册有效期 |
| | | */ |
| | | private int expires; |
| | | |
| | | public String getDeviceId() { |
| | | return deviceId; |
| | |
| | | this.streamMode = streamMode; |
| | | } |
| | | |
| | | public Host getHost() { |
| | | return host; |
| | | public String getIp() { |
| | | return ip; |
| | | } |
| | | |
| | | public void setHost(Host host) { |
| | | this.host = host; |
| | | public void setIp(String ip) { |
| | | this.ip = ip; |
| | | } |
| | | |
| | | public int getPort() { |
| | | return port; |
| | | } |
| | | |
| | | public void setPort(int port) { |
| | | this.port = port; |
| | | } |
| | | |
| | | public String getHostAddress() { |
| | | return hostAddress; |
| | | } |
| | | |
| | | public void setHostAddress(String hostAddress) { |
| | | this.hostAddress = hostAddress; |
| | | } |
| | | |
| | | public int getOnline() { |
| | |
| | | this.channelCount = channelCount; |
| | | } |
| | | |
| | | public List<String> getChannelList() { |
| | | return channelList; |
| | | public String getRegisterTime() { |
| | | return registerTime; |
| | | } |
| | | |
| | | public void setChannelList(List<String> channelList) { |
| | | this.channelList = channelList; |
| | | public void setRegisterTime(String registerTime) { |
| | | this.registerTime = registerTime; |
| | | } |
| | | |
| | | public String getKeepaliveTime() { |
| | | return keepaliveTime; |
| | | } |
| | | |
| | | public void setKeepaliveTime(String keepaliveTime) { |
| | | this.keepaliveTime = keepaliveTime; |
| | | } |
| | | |
| | | public int getExpires() { |
| | | return expires; |
| | | } |
| | | |
| | | public void setExpires(int expires) { |
| | | this.expires = expires; |
| | | } |
| | | } |