_s_report_resp.cpp

来自「这是江苏企业通讯协议(联通版本)的一个Release」· C++ 代码 · 共 34 行

CPP
34
字号
// _S_REPORT_RESP.cpp: implementation of the C_S_REPORT_RESP class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "_S_REPORT_RESP.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

EMSP2_0::C_S_REPORT_RESP::C_S_REPORT_RESP()
{

}

EMSP2_0::C_S_REPORT_RESP::~C_S_REPORT_RESP()
{

}

 char* EMSP2_0::C_S_REPORT_RESP::getBytes()
{
 bsize=1;
		       //	return &mb.Result;
                       return &result;
}

void EMSP2_0::C_S_REPORT_RESP::TransFromchars(char *chars, int len)
{
	if(len>0)
	   	result=chars[1];
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?