📄 node.cpp
字号:
// Node.cpp: implementation of the CNode class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "CBA_SYSTEM.h"
#include "Node.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CNode::CNode()
{
Id=0;
I_value=0;
O_value=0;
}
CNode::CNode(short id)
{
Id=id;
}
void CNode::SetId(short id)
{
Id=id;
}
short CNode::GetId()
{
return Id;
}
void CNode::SetI_value(float i_value)
{
I_value=i_value;
}
float CNode::GetI_value()
{
return I_value;
}
void CNode::SetO_value(float o_value)
{
O_value=o_value;
}
float CNode::GetO_value()
{
return O_value;
}
CNode::~CNode()
{
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -