📄 port.cpp
字号:
// Port.cpp: implementation of the CPort class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Port.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CPort::CPort()
{
m_byPortNumber=0;
m_strPortName[0]='\0';
}
CPort::~CPort()
{
}
BYTE CPort::GetPortNameLength()
{
return m_PortNameLength;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -