swwheihei
5 years ago
14 changed files with 1139 additions and 244 deletions
@ -0,0 +1,127 @@ |
|||
package com.genersoft.iot.vmp.gb28181.transmit.request; |
|||
|
|||
import javax.sip.PeerUnavailableException; |
|||
import javax.sip.RequestEvent; |
|||
import javax.sip.ServerTransaction; |
|||
import javax.sip.SipFactory; |
|||
import javax.sip.SipProvider; |
|||
import javax.sip.TransactionAlreadyExistsException; |
|||
import javax.sip.TransactionUnavailableException; |
|||
import javax.sip.address.AddressFactory; |
|||
import javax.sip.header.HeaderFactory; |
|||
import javax.sip.header.ViaHeader; |
|||
import javax.sip.message.MessageFactory; |
|||
import javax.sip.message.Request; |
|||
|
|||
import gov.nist.javax.sip.SipStackImpl; |
|||
import gov.nist.javax.sip.message.SIPRequest; |
|||
import gov.nist.javax.sip.stack.SIPServerTransaction; |
|||
|
|||
/** |
|||
* @Description:处理接收IPCamera发来的SIP协议请求消息 |
|||
* @author: songww |
|||
* @date: 2020年5月3日 下午4:42:22 |
|||
*/ |
|||
public abstract class SIPRequestAbstractProcessor implements ISIPRequestProcessor { |
|||
|
|||
protected RequestEvent evt; |
|||
|
|||
private SipProvider tcpSipProvider; |
|||
|
|||
private SipProvider udpSipProvider; |
|||
|
|||
@Override |
|||
public void process() { |
|||
this.process(evt); |
|||
} |
|||
|
|||
public abstract void process(RequestEvent evt); |
|||
|
|||
public ServerTransaction getServerTransaction(RequestEvent evt) { |
|||
Request request = evt.getRequest(); |
|||
ServerTransaction serverTransaction = evt.getServerTransaction(); |
|||
// 判断TCP还是UDP
|
|||
boolean isTcp = false; |
|||
ViaHeader reqViaHeader = (ViaHeader) request.getHeader(ViaHeader.NAME); |
|||
String transport = reqViaHeader.getTransport(); |
|||
if (transport.equals("TCP")) { |
|||
isTcp = true; |
|||
} |
|||
|
|||
if (serverTransaction == null) { |
|||
try { |
|||
if (isTcp) { |
|||
SipStackImpl stack = (SipStackImpl)tcpSipProvider.getSipStack(); |
|||
serverTransaction = (SIPServerTransaction) stack.findTransaction((SIPRequest)request, true); |
|||
if (serverTransaction == null) { |
|||
serverTransaction = tcpSipProvider.getNewServerTransaction(request); |
|||
} |
|||
} else { |
|||
SipStackImpl stack = (SipStackImpl)udpSipProvider.getSipStack(); |
|||
serverTransaction = (SIPServerTransaction) stack.findTransaction((SIPRequest)request, true); |
|||
if (serverTransaction == null) { |
|||
serverTransaction = udpSipProvider.getNewServerTransaction(request); |
|||
} |
|||
} |
|||
} catch (TransactionAlreadyExistsException e) { |
|||
e.printStackTrace(); |
|||
} catch (TransactionUnavailableException e) { |
|||
e.printStackTrace(); |
|||
} |
|||
} |
|||
return serverTransaction; |
|||
} |
|||
|
|||
public AddressFactory getAddressFactory() { |
|||
try { |
|||
return SipFactory.getInstance().createAddressFactory(); |
|||
} catch (PeerUnavailableException e) { |
|||
e.printStackTrace(); |
|||
} |
|||
return null; |
|||
} |
|||
|
|||
public HeaderFactory getHeaderFactory() { |
|||
try { |
|||
return SipFactory.getInstance().createHeaderFactory(); |
|||
} catch (PeerUnavailableException e) { |
|||
e.printStackTrace(); |
|||
} |
|||
return null; |
|||
} |
|||
|
|||
public MessageFactory getMessageFactory() { |
|||
try { |
|||
return SipFactory.getInstance().createMessageFactory(); |
|||
} catch (PeerUnavailableException e) { |
|||
e.printStackTrace(); |
|||
} |
|||
return null; |
|||
} |
|||
|
|||
public RequestEvent getRequestEvent() { |
|||
return evt; |
|||
} |
|||
|
|||
public void setRequestEvent(RequestEvent evt) { |
|||
this.evt = evt; |
|||
} |
|||
|
|||
public SipProvider getTcpSipProvider() { |
|||
return tcpSipProvider; |
|||
} |
|||
|
|||
public void setTcpSipProvider(SipProvider tcpSipProvider) { |
|||
this.tcpSipProvider = tcpSipProvider; |
|||
} |
|||
|
|||
public SipProvider getUdpSipProvider() { |
|||
return udpSipProvider; |
|||
} |
|||
|
|||
public void setUdpSipProvider(SipProvider udpSipProvider) { |
|||
this.udpSipProvider = udpSipProvider; |
|||
} |
|||
|
|||
|
|||
} |
@ -0,0 +1,401 @@ |
|||
package com.genersoft.iot.vmp.vmanager.device.entity; |
|||
|
|||
import java.util.List; |
|||
|
|||
import javax.persistence.Column; |
|||
import javax.persistence.Id; |
|||
import javax.persistence.Table; |
|||
import javax.persistence.Transient; |
|||
import javax.validation.constraints.Max; |
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.Size; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
|
|||
/** |
|||
* @Description:视频设备信息 |
|||
* @author: songww |
|||
* @date: 2020年5月8日 下午2:05:56 |
|||
*/ |
|||
@ApiModel(value = "视频设备信息", description = "视频设备信息") |
|||
@Table(name="VMP_VIDEODEVICES") |
|||
public class Device { |
|||
|
|||
/** |
|||
* 设备Id |
|||
*/ |
|||
@ApiModelProperty("设备编号") |
|||
@Id |
|||
@Column(name="DEVICE_ID") |
|||
@NotNull(message = "deviceId 不能为 null") |
|||
@Size(min = 4, max = 32, message = "deviceId 必须大于 4 位并且小于 32 位") |
|||
private String deviceId; |
|||
|
|||
/** |
|||
* 设备名称 |
|||
*/ |
|||
@ApiModelProperty("设备名称") |
|||
@Column(name="DEVICE_NAME") |
|||
@Size(max = 32, message = "deviceName 必须小于 32 位") |
|||
private String deviceName; |
|||
|
|||
/** |
|||
* 生产厂商 |
|||
*/ |
|||
@ApiModelProperty("生产厂商") |
|||
@Column(name="MANUFACTURER") |
|||
@Size(max = 64, message = "manufacturer 必须小于 64 位") |
|||
private String manufacturer; |
|||
|
|||
/** |
|||
* 型号 |
|||
*/ |
|||
@ApiModelProperty("型号") |
|||
@Column(name="MODEL") |
|||
@Size(max = 64, message = "manufacturer 必须小于 64 位") |
|||
private String model; |
|||
|
|||
/** |
|||
* 固件版本 |
|||
*/ |
|||
@ApiModelProperty("固件版本") |
|||
@Column(name="FIRMWARE") |
|||
@Size(max = 64, message = "firmware 必须小于 64 位") |
|||
private String firmware; |
|||
|
|||
/** |
|||
* 通信协议 |
|||
* GB28181 ONVIF |
|||
*/ |
|||
@ApiModelProperty("通信协议") |
|||
@Column(name="PROTOCOL") |
|||
@NotNull(message = "protocol 不能为 null") |
|||
@Size(max = 16, message = "protocol 必须小于 16 位") |
|||
private String protocol; |
|||
|
|||
/** |
|||
* SIP 传输协议 |
|||
* UDP/TCP |
|||
*/ |
|||
@ApiModelProperty("SIP 传输协议") |
|||
@Column(name="TRANSPORT") |
|||
@Size(min = 3,max = 3 ,message = "transport 必须为 3 位") |
|||
private String transport; |
|||
|
|||
/** |
|||
* 数据流传输模式 |
|||
* UDP:udp传输 |
|||
* TCP-ACTIVE:tcp主动模式 |
|||
* TCP-PASSIVE:tcp被动模式 |
|||
*/ |
|||
@ApiModelProperty("数据流传输模式") |
|||
@Column(name="STREAM_MODE") |
|||
@Size(max = 64, message = "streamMode 必须小于 16 位") |
|||
private String streamMode; |
|||
|
|||
/** |
|||
* IP地址 |
|||
*/ |
|||
@ApiModelProperty("IP地址") |
|||
@Column(name="IP") |
|||
@Size(max = 15, message = "streamMode 必须小于 15 位") |
|||
private String ip; |
|||
|
|||
/** |
|||
* 端口号 |
|||
*/ |
|||
@ApiModelProperty("端口号") |
|||
@Column(name="PORT") |
|||
@Max(value = 65535,message = "port 最大值为 65535") |
|||
private Integer port; |
|||
|
|||
/** |
|||
* 在线状态 1在线, 0离线 |
|||
*/ |
|||
@ApiModelProperty("在线状态") |
|||
@Size(min = 1,max = 1 ,message = "online 必须为 1 位") |
|||
@Column(name="ONLINE") |
|||
private String online; |
|||
|
|||
/** |
|||
* 通道数量 |
|||
*/ |
|||
@ApiModelProperty("通道数量") |
|||
@Column(name="CHANNEL_SUM") |
|||
@Max(value = 1000000000,message = "channelSum 最大值为 1000000000") |
|||
private Integer channelSum; |
|||
|
|||
@Override |
|||
public String toString() { |
|||
return "Device{" + |
|||
"deviceId='" + deviceId + '\'' + |
|||
", deviceName='" + deviceName + '\'' + |
|||
", manufacturer='" + manufacturer + '\'' + |
|||
", model='" + model + '\'' + |
|||
", firmware='" + firmware + '\'' + |
|||
", protocol='" + protocol + '\'' + |
|||
", transport='" + transport + '\'' + |
|||
", streamMode='" + streamMode + '\'' + |
|||
", ip='" + ip + '\'' + |
|||
", port=" + port + |
|||
", online='" + online + '\'' + |
|||
", channelSum=" + channelSum + |
|||
", createTime='" + createTime + '\'' + |
|||
", registerTime='" + registerTime + '\'' + |
|||
", heartbeatTime='" + heartbeatTime + '\'' + |
|||
", updateTime='" + updateTime + '\'' + |
|||
", updatePerson='" + updatePerson + '\'' + |
|||
", syncTime='" + syncTime + '\'' + |
|||
", syncPerson='" + syncPerson + '\'' + |
|||
", username='" + username + '\'' + |
|||
", password='" + password + '\'' + |
|||
", channelList=" + channelList + |
|||
'}'; |
|||
} |
|||
|
|||
/** |
|||
* 创建时间 |
|||
*/ |
|||
@ApiModelProperty("创建时间") |
|||
@Column(name="CREATE_TIME") |
|||
private String createTime; |
|||
|
|||
/** |
|||
* 注册时间 |
|||
*/ |
|||
@ApiModelProperty("注册时间") |
|||
@Column(name="REGISTER_TIME") |
|||
private String registerTime; |
|||
|
|||
/** |
|||
* 心跳时间 |
|||
*/ |
|||
@ApiModelProperty("心跳时间") |
|||
@Column(name="HEARTBEAT_TIME") |
|||
private String heartbeatTime; |
|||
|
|||
/** |
|||
* 修改时间 |
|||
*/ |
|||
@ApiModelProperty("更新时间") |
|||
@Column(name="UPDATE_TIME") |
|||
private String updateTime; |
|||
|
|||
/** |
|||
* 修改人 |
|||
*/ |
|||
@ApiModelProperty("修改人") |
|||
@Column(name="UPDATE_PERSON") |
|||
private String updatePerson; |
|||
|
|||
/** |
|||
* 同步时间 |
|||
*/ |
|||
@ApiModelProperty("同步时间") |
|||
@Column(name="SYNC_TIME") |
|||
private String syncTime; |
|||
|
|||
/** |
|||
* 同步人 |
|||
*/ |
|||
@ApiModelProperty("同步人") |
|||
@Column(name="SYNC_PERSON") |
|||
private String syncPerson; |
|||
|
|||
/** |
|||
* ONVIF协议-用户名 |
|||
*/ |
|||
@ApiModelProperty("用户名") |
|||
@Column(name="USERNAME") |
|||
@Size(max = 32, message = "username 必须小于 32 位") |
|||
private String username; |
|||
|
|||
/** |
|||
* ONVIF协议-密码 |
|||
*/ |
|||
@ApiModelProperty("密码") |
|||
@Size(max = 32, message = "password 必须小于 32 位") |
|||
@Column(name="PASSWORD") |
|||
private String password; |
|||
|
|||
@Transient |
|||
private List<DeviceChannel> channelList; |
|||
|
|||
public String getDeviceId() { |
|||
return deviceId; |
|||
} |
|||
|
|||
public void setDeviceId(String deviceId) { |
|||
this.deviceId = deviceId; |
|||
} |
|||
|
|||
public String getDeviceName() { |
|||
return deviceName; |
|||
} |
|||
|
|||
public void setDeviceName(String deviceName) { |
|||
this.deviceName = deviceName; |
|||
} |
|||
|
|||
public String getTransport() { |
|||
return transport; |
|||
} |
|||
|
|||
public void setTransport(String transport) { |
|||
this.transport = transport; |
|||
} |
|||
|
|||
public String getIp() { |
|||
return ip; |
|||
} |
|||
|
|||
public void setIp(String ip) { |
|||
this.ip = ip; |
|||
} |
|||
|
|||
public Integer getPort() { |
|||
return port; |
|||
} |
|||
|
|||
public void setPort(Integer port) { |
|||
this.port = port; |
|||
} |
|||
|
|||
public String getManufacturer() { |
|||
return manufacturer; |
|||
} |
|||
|
|||
public void setManufacturer(String manufacturer) { |
|||
this.manufacturer = manufacturer; |
|||
} |
|||
|
|||
public String getModel() { |
|||
return model; |
|||
} |
|||
|
|||
public void setModel(String model) { |
|||
this.model = model; |
|||
} |
|||
|
|||
public String getFirmware() { |
|||
return firmware; |
|||
} |
|||
|
|||
public void setFirmware(String firmware) { |
|||
this.firmware = firmware; |
|||
} |
|||
|
|||
public String getOnline() { |
|||
return online; |
|||
} |
|||
|
|||
public void setOnline(String online) { |
|||
this.online = online; |
|||
} |
|||
|
|||
public String getStreamMode() { |
|||
return streamMode; |
|||
} |
|||
|
|||
public void setStreamMode(String streamMode) { |
|||
this.streamMode = streamMode; |
|||
} |
|||
|
|||
public List<DeviceChannel> getChannelList() { |
|||
return channelList; |
|||
} |
|||
|
|||
public void setChannelList(List<DeviceChannel> channelList) { |
|||
this.channelList = channelList; |
|||
} |
|||
|
|||
public Integer getChannelSum() { |
|||
return channelSum; |
|||
} |
|||
|
|||
public void setChannelSum(Integer channelSum) { |
|||
this.channelSum = channelSum; |
|||
} |
|||
|
|||
public String getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(String createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getRegisterTime() { |
|||
return registerTime; |
|||
} |
|||
|
|||
public void setRegisterTime(String registerTime) { |
|||
this.registerTime = registerTime; |
|||
} |
|||
|
|||
public String getHeartbeatTime() { |
|||
return heartbeatTime; |
|||
} |
|||
|
|||
public void setHeartbeatTime(String heartbeatTime) { |
|||
this.heartbeatTime = heartbeatTime; |
|||
} |
|||
|
|||
public String getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(String updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
public String getUpdatePerson() { |
|||
return updatePerson; |
|||
} |
|||
|
|||
public void setUpdatePerson(String updatePerson) { |
|||
this.updatePerson = updatePerson; |
|||
} |
|||
|
|||
public String getSyncTime() { |
|||
return syncTime; |
|||
} |
|||
|
|||
public void setSyncTime(String syncTime) { |
|||
this.syncTime = syncTime; |
|||
} |
|||
|
|||
public String getSyncPerson() { |
|||
return syncPerson; |
|||
} |
|||
|
|||
public void setSyncPerson(String syncPerson) { |
|||
this.syncPerson = syncPerson; |
|||
} |
|||
|
|||
public String getUsername() { |
|||
return username; |
|||
} |
|||
|
|||
public void setUsername(String username) { |
|||
this.username = username; |
|||
} |
|||
|
|||
public String getPassword() { |
|||
return password; |
|||
} |
|||
|
|||
public void setPassword(String password) { |
|||
this.password = password; |
|||
} |
|||
|
|||
public String getProtocol() { |
|||
return protocol; |
|||
} |
|||
|
|||
public void setProtocol(String protocol) { |
|||
this.protocol = protocol; |
|||
} |
|||
|
|||
} |
@ -0,0 +1,385 @@ |
|||
package com.genersoft.iot.vmp.vmanager.device.entity; |
|||
|
|||
import javax.persistence.Column; |
|||
import javax.persistence.Id; |
|||
import javax.persistence.Table; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
|
|||
/** |
|||
* @Description:设备通道信息 |
|||
* @author: songww |
|||
* @date: 2020年5月20日 下午9:00:46 |
|||
*/ |
|||
@ApiModel(value = "设备通道信息", description = "设备通道信息") |
|||
@Table(name="VMP_VIDEOCHANNELS") |
|||
public class DeviceChannel { |
|||
|
|||
/** |
|||
* 通道编号 |
|||
*/ |
|||
@ApiModelProperty("通道编号") |
|||
@Id |
|||
@Column(name="CHANNEL_ID") |
|||
private String channelId; |
|||
|
|||
/** |
|||
* 设备编号 |
|||
*/ |
|||
@ApiModelProperty("设备编号") |
|||
@Column(name="DEVICE_ID") |
|||
private String deviceId; |
|||
|
|||
/** |
|||
* 通道名 |
|||
*/ |
|||
@ApiModelProperty("通道名") |
|||
@Column(name="CHANNEL_NAME") |
|||
private String channelName; |
|||
|
|||
/** |
|||
* 生产厂商 |
|||
*/ |
|||
@ApiModelProperty("生产厂商") |
|||
@Column(name="MANUFACTURER") |
|||
private String manufacture; |
|||
|
|||
/** |
|||
* 型号 |
|||
*/ |
|||
@ApiModelProperty("型号") |
|||
@Column(name="MODEL") |
|||
private String model; |
|||
|
|||
/** |
|||
* 设备归属 |
|||
*/ |
|||
@ApiModelProperty("设备归属") |
|||
@Column(name="OWNER") |
|||
private String owner; |
|||
|
|||
/** |
|||
* 行政区域 |
|||
*/ |
|||
@ApiModelProperty("行政区域") |
|||
@Column(name="CIVIL_CODE") |
|||
private String civilCode; |
|||
|
|||
/** |
|||
* 警区 |
|||
*/ |
|||
@ApiModelProperty("警区") |
|||
@Column(name="BLOCK") |
|||
private String block; |
|||
|
|||
/** |
|||
* 安装地址 |
|||
*/ |
|||
@ApiModelProperty("安装地址") |
|||
@Column(name="ADDRESS") |
|||
private String address; |
|||
|
|||
/** |
|||
* 是否有子设备 1有, 0没有 |
|||
*/ |
|||
@ApiModelProperty("是否有子设备") |
|||
@Column(name="PARENTAL") |
|||
private String parental; |
|||
|
|||
/** |
|||
* 父级id |
|||
*/ |
|||
@ApiModelProperty("父级编码") |
|||
@Column(name="PARENT_ID") |
|||
private String parentId; |
|||
|
|||
/** |
|||
* 信令安全模式 缺省为0; 0:不采用; 2: S/MIME签名方式; 3: S/ MIME加密签名同时采用方式; 4:数字摘要方式 |
|||
*/ |
|||
@ApiModelProperty("信令安全模式") |
|||
@Column(name="SAFETY_WAY") |
|||
private String safetyWay; |
|||
|
|||
/** |
|||
* 注册方式 缺省为1;1:符合IETFRFC3261标准的认证注册模 式; 2:基于口令的双向认证注册模式; 3:基于数字证书的双向认证注册模式 |
|||
*/ |
|||
@ApiModelProperty("注册方式") |
|||
@Column(name="REGISTER_WAY") |
|||
private String registerWay; |
|||
|
|||
/** |
|||
* 证书序列号 |
|||
*/ |
|||
@ApiModelProperty("证书序列号") |
|||
@Column(name="CERT_NUM") |
|||
private String certNum; |
|||
|
|||
/** |
|||
* 证书有效标识 缺省为0;证书有效标识:0:无效1: 有效 |
|||
*/ |
|||
@ApiModelProperty("证书有效标识") |
|||
@Column(name="CERT_VALID") |
|||
private String certValid; |
|||
|
|||
/** |
|||
* 证书无效原因码 |
|||
*/ |
|||
@ApiModelProperty("证书无效原因码") |
|||
@Column(name="CERT_ERRCODE") |
|||
private String certErrCode; |
|||
|
|||
/** |
|||
* 证书终止有效期 |
|||
*/ |
|||
@ApiModelProperty("证书终止有效期") |
|||
@Column(name="CERT_ENDTIME") |
|||
private String certEndTime; |
|||
|
|||
/** |
|||
* 保密属性 缺省为0; 0:不涉密, 1:涉密 |
|||
*/ |
|||
@ApiModelProperty("保密属性") |
|||
@Column(name="SECRECY") |
|||
private String secrecy; |
|||
|
|||
/** |
|||
* IP地址 |
|||
*/ |
|||
@ApiModelProperty("IP地址") |
|||
@Column(name="IP") |
|||
private String ip; |
|||
|
|||
/** |
|||
* 端口号 |
|||
*/ |
|||
@ApiModelProperty("端口号") |
|||
@Column(name="PORT") |
|||
private Integer port; |
|||
|
|||
/** |
|||
* 密码 |
|||
*/ |
|||
@ApiModelProperty("密码") |
|||
@Column(name="PASSWORD") |
|||
private String password; |
|||
|
|||
/** |
|||
* 在线/离线 |
|||
* 1在线,0离线 |
|||
* 默认在线 |
|||
* 信令: |
|||
* <Status>ON</Status> |
|||
* <Status>OFF</Status> |
|||
* 遇到过NVR下的IPC下发信令可以推流, 但是 Status 响应 OFF |
|||
*/ |
|||
@ApiModelProperty("状态") |
|||
@Column(name="ONLINE") |
|||
private String online; |
|||
|
|||
/** |
|||
* 经度 |
|||
*/ |
|||
@ApiModelProperty("经度") |
|||
@Column(name="LONGITUDE") |
|||
private double longitude; |
|||
|
|||
/** |
|||
* 纬度 |
|||
*/ |
|||
@ApiModelProperty("纬度") |
|||
@Column(name="LATITUDE") |
|||
private double latitude; |
|||
|
|||
public String getChannelId() { |
|||
return channelId; |
|||
} |
|||
|
|||
public void setChannelId(String channelId) { |
|||
this.channelId = channelId; |
|||
} |
|||
|
|||
public String getDeviceId() { |
|||
return deviceId; |
|||
} |
|||
|
|||
public void setDeviceId(String deviceId) { |
|||
this.deviceId = deviceId; |
|||
} |
|||
|
|||
public String getChannelName() { |
|||
return channelName; |
|||
} |
|||
|
|||
public void setChannelName(String channelName) { |
|||
this.channelName = channelName; |
|||
} |
|||
|
|||
public String getOnline() { |
|||
return online; |
|||
} |
|||
|
|||
public void setOnline(String online) { |
|||
this.online = online; |
|||
} |
|||
|
|||
public String getManufacture() { |
|||
return manufacture; |
|||
} |
|||
|
|||
public void setManufacture(String manufacture) { |
|||
this.manufacture = manufacture; |
|||
} |
|||
|
|||
public String getModel() { |
|||
return model; |
|||
} |
|||
|
|||
public void setModel(String model) { |
|||
this.model = model; |
|||
} |
|||
|
|||
public String getOwner() { |
|||
return owner; |
|||
} |
|||
|
|||
public void setOwner(String owner) { |
|||
this.owner = owner; |
|||
} |
|||
|
|||
public String getCivilCode() { |
|||
return civilCode; |
|||
} |
|||
|
|||
public void setCivilCode(String civilCode) { |
|||
this.civilCode = civilCode; |
|||
} |
|||
|
|||
public String getBlock() { |
|||
return block; |
|||
} |
|||
|
|||
public void setBlock(String block) { |
|||
this.block = block; |
|||
} |
|||
|
|||
public String getAddress() { |
|||
return address; |
|||
} |
|||
|
|||
public void setAddress(String address) { |
|||
this.address = address; |
|||
} |
|||
|
|||
public String getParental() { |
|||
return parental; |
|||
} |
|||
|
|||
public void setParental(String parental) { |
|||
this.parental = parental; |
|||
} |
|||
|
|||
public String getParentId() { |
|||
return parentId; |
|||
} |
|||
|
|||
public void setParentId(String parentId) { |
|||
this.parentId = parentId; |
|||
} |
|||
|
|||
public String getSafetyWay() { |
|||
return safetyWay; |
|||
} |
|||
|
|||
public void setSafetyWay(String safetyWay) { |
|||
this.safetyWay = safetyWay; |
|||
} |
|||
|
|||
public String getRegisterWay() { |
|||
return registerWay; |
|||
} |
|||
|
|||
public void setRegisterWay(String registerWay) { |
|||
this.registerWay = registerWay; |
|||
} |
|||
|
|||
public String getCertNum() { |
|||
return certNum; |
|||
} |
|||
|
|||
public void setCertNum(String certNum) { |
|||
this.certNum = certNum; |
|||
} |
|||
|
|||
public String getCertValid() { |
|||
return certValid; |
|||
} |
|||
|
|||
public void setCertValid(String certValid) { |
|||
this.certValid = certValid; |
|||
} |
|||
|
|||
public String getCertErrCode() { |
|||
return certErrCode; |
|||
} |
|||
|
|||
public void setCertErrCode(String certErrCode) { |
|||
this.certErrCode = certErrCode; |
|||
} |
|||
|
|||
public String getCertEndTime() { |
|||
return certEndTime; |
|||
} |
|||
|
|||
public void setCertEndTime(String certEndTime) { |
|||
this.certEndTime = certEndTime; |
|||
} |
|||
|
|||
public String getSecrecy() { |
|||
return secrecy; |
|||
} |
|||
|
|||
public void setSecrecy(String secrecy) { |
|||
this.secrecy = secrecy; |
|||
} |
|||
|
|||
public String getIp() { |
|||
return ip; |
|||
} |
|||
|
|||
public void setIp(String ip) { |
|||
this.ip = ip; |
|||
} |
|||
|
|||
public Integer getPort() { |
|||
return port; |
|||
} |
|||
|
|||
public void setPort(Integer port) { |
|||
this.port = port; |
|||
} |
|||
|
|||
public String getPassword() { |
|||
return password; |
|||
} |
|||
|
|||
public void setPassword(String password) { |
|||
this.password = password; |
|||
} |
|||
|
|||
public double getLongitude() { |
|||
return longitude; |
|||
} |
|||
|
|||
public void setLongitude(double longitude) { |
|||
this.longitude = longitude; |
|||
} |
|||
|
|||
public double getLatitude() { |
|||
return latitude; |
|||
} |
|||
|
|||
public void setLatitude(double latitude) { |
|||
this.latitude = latitude; |
|||
} |
|||
} |
Loading…
Reference in new issue