📄 weight.cpp
字号:
// Weight.cpp: implementation of the CWeight class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Weight.h"
#include "CBA_SYSTEM.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CWeight::CWeight()
{
}
CWeight::CWeight(short i_id,short o_id,float m_w)
{
w_id=i_id*10+o_id;
w=m_w;
}
void CWeight::SetW_id(short i_id,short o_id)
{
w_id=i_id*10+o_id;
}
short CWeight::GetW_id()
{
return w_id;
}
void CWeight::SetW_w(float m_w)
{
w=m_w;
}
float CWeight::GetW_w()
{
return w;
}
CWeight::~CWeight()
{
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -