customfunction.cpp
来自「基于18B20的温度采集系统」· C++ 代码 · 共 61 行
CPP
61 行
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
#include "stdafx.h"
#include "customfunction.h"
/////////////////////////////////////////////////////////////////////////////
// CCustomFunction properties
/////////////////////////////////////////////////////////////////////////////
// CCustomFunction operations
long CCustomFunction::GetNumPoints()
{
long result;
InvokeHelper(0xca, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CCustomFunction::SetNumPoints(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0xca, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
double CCustomFunction::GetStartX()
{
double result;
InvokeHelper(0xcb, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
return result;
}
void CCustomFunction::SetStartX(double newValue)
{
static BYTE parms[] =
VTS_R8;
InvokeHelper(0xcb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
newValue);
}
double CCustomFunction::GetX()
{
double result;
InvokeHelper(0xc9, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
return result;
}
void CCustomFunction::SetX(double newValue)
{
static BYTE parms[] =
VTS_R8;
InvokeHelper(0xc9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
newValue);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?