LAPTOP-SNT8I5JK\Boounion
2025-01-07 e688cec6c19b3582d441581a8e12fb30686d6644
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;
};