LAPTOP-SNT8I5JK\Boounion
2025-01-08 c2d22fc8efd988294ff4a34fd3e31a9743803964
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once
#include <string>
 
class CPLC
{
public:
    CPLC();
    CPLC(const char* pszName, const char* pszIp, const unsigned int port);
    ~CPLC();
 
public:
    std::string& getName();
    std::string& getIp();
    unsigned int getPort();
 
private:
    std::string m_strName;
    std::string m_strIp;
    unsigned int m_nPort;
};