cwstatistics.cpp
来自「本例子是LABVIEW与VC++6.0混合编程的例子」· C++ 代码 · 共 57 行
CPP
57 行
// 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 "cwstatistics.h"
/////////////////////////////////////////////////////////////////////////////
// CCWStatistics properties
VARIANT CCWStatistics::GetMean()
{
VARIANT result;
GetProperty(0x1, VT_VARIANT, (void*)&result);
return result;
}
void CCWStatistics::SetMean(const VARIANT& propVal)
{
SetProperty(0x1, VT_VARIANT, &propVal);
}
VARIANT CCWStatistics::GetMaximum()
{
VARIANT result;
GetProperty(0x2, VT_VARIANT, (void*)&result);
return result;
}
void CCWStatistics::SetMaximum(const VARIANT& propVal)
{
SetProperty(0x2, VT_VARIANT, &propVal);
}
VARIANT CCWStatistics::GetMinimum()
{
VARIANT result;
GetProperty(0x3, VT_VARIANT, (void*)&result);
return result;
}
void CCWStatistics::SetMinimum(const VARIANT& propVal)
{
SetProperty(0x3, VT_VARIANT, &propVal);
}
/////////////////////////////////////////////////////////////////////////////
// CCWStatistics operations
void CCWStatistics::Reset()
{
InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?