#include "stdafx.h" #include "PLC.h" CPLC::CPLC() { } CPLC::CPLC(const char* pszName, const char* pszIp, const unsigned int port) { m_strName = pszName; m_strIp = pszIp; m_nPort = port; } CPLC::~CPLC() { } std::string& CPLC::getName() { return m_strName; } std::string& CPLC::getIp() { return m_strIp; } unsigned int CPLC::getPort() { return m_nPort; }