-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathxml_builder.hpp
More file actions
27 lines (20 loc) · 869 Bytes
/
xml_builder.hpp
File metadata and controls
27 lines (20 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
// Created by pengx on 2025/9/26.
//
#ifndef GB28181_XML_BUILDER_HPP
#define GB28181_XML_BUILDER_HPP
#include <string>
class XmlBuilder {
public:
static std::string buildDeviceInfo(const std::string& sn,
const std::string& device_code,
const std::string& device_name,
const std::string& serial_number);
static std::string buildCatalog(const std::string& sn,
const std::string& device_code,
const std::string& server_domain,
double longitude,
double latitude);
static std::string buildHeartbeat(const std::string& sn, const std::string& device_code);
};
#endif //GB28181_XML_BUILDER_HPP