| | |
| | | }else { |
| | | catalogXml.append("<Password></Password>\r\n"); |
| | | } |
| | | if (!ObjectUtils.isEmpty(channel.getPTZType())) { |
| | | catalogXml.append("<PTZType>" + channel.getPTZType() + "</PTZType>\r\n"); |
| | | if (!ObjectUtils.isEmpty(channel.getPtzType())) { |
| | | catalogXml.append("<PTZType>" + channel.getPtzType() + "</PTZType>\r\n"); |
| | | }else { |
| | | catalogXml.append("<PTZType></PTZType>\r\n"); |
| | | } |
| | |
| | | .append("<Owner> " + channel.getOwner()+ "</Owner>\r\n") |
| | | .append("<CivilCode>" + channel.getCivilCode() + "</CivilCode>\r\n") |
| | | .append("<Address>" + channel.getAddress() + "</Address>\r\n"); |
| | | catalogXml.append("<Longitude>" + channel.getLongitude() + "</Longitude>\r\n"); |
| | | catalogXml.append("<Latitude>" + channel.getLatitude() + "</Latitude>\r\n"); |
| | | } |
| | | if (!"presence".equals(subscribeInfo.getEventType())) { |
| | | catalogXml.append("<Event>" + type + "</Event>\r\n"); |