📄 shiftcalplt.odl
字号:
// ShiftCalPlt.odl : type library source for ActiveX Control project.
// This file will be processed by the Make Type Library (mktyplib) tool to
// produce the type library (ShiftCalPlt.tlb) that will become a resource in
// ShiftCalPlt.ocx.
#include <olectl.h>
#include <idispids.h>
[ uuid(842EFCF8-4C1B-4E10-A845-E9CAD6ECC1CC), version(1.0),
helpfile("ShiftCalPlt.hlp"),
helpstring("ShiftCalPlt ActiveX Control module"),
control ]
library SHIFTCALPLTLib
{
importlib(STDOLE_TLB);
importlib(STDTYPE_TLB);
// Primary dispatch interface for CShiftCalPltCtrl
[ uuid(4EB3ACED-50AA-4E41-9BE3-B7D3BD0477C9),
helpstring("Dispatch interface for ShiftCalPlt Control"), hidden ]
dispinterface _DShiftCalPlt
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CShiftCalPltCtrl)
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CShiftCalPltCtrl)
[id(1)] boolean GetResvVelocityCoeff(short nChannel, double* CoeffA, double* CoeffB);
[id(3)] boolean GetDmmCoeff(short nChannel, double* CoeffA, double* CoeffB);
[id(4)] boolean GetScopeCoeff(short nChannel, double* CoeffA, double* CoeffB);
[id(5)] boolean MeasSyncVelt(short nChnl, short nMeasTimes, double StdS12Phase, double StdS13Phase, double StdS23Phase, double* S12Phase, double* S13Phase, double* S23Phase);
[id(6)] double MeasDmm(short nMeasType, short nMeasTimes, double StdData);
[id(7)] double MeasScope(short nChnl, short nMeasTimes, double StdData);
[id(8)] boolean InitCal();
[id(9)] boolean ReleaseCal();
[id(10)] void CurveSyncVelo();
[id(11)] void CurveDmm();
[id(12)] void CurveScope();
//}}AFX_ODL_METHOD
[id(DISPID_ABOUTBOX)] void AboutBox();
};
// Event dispatch interface for CShiftCalPltCtrl
[ uuid(5677228D-735E-44F9-A144-2BEA0B670F14),
helpstring("Event interface for ShiftCalPlt Control") ]
dispinterface _DShiftCalPltEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CShiftCalPltCtrl)
[id(1)] void NotifySyncVelo(short nChnl, double CoeffA, double CoeffB);
[id(2)] void NotifyDmm(short nChnl, double CoeffA, double CoeffB);
[id(3)] void NotifyScope(short nChnl, double CoeffA, double CoeffB);
//}}AFX_ODL_EVENT
};
// Class information for CShiftCalPltCtrl
[ uuid(E0F26CA8-E767-499A-8596-D0EDDBDA6D9E),
helpstring("ShiftCalPlt Control"), control ]
coclass ShiftCalPlt
{
[default] dispinterface _DShiftCalPlt;
[default, source] dispinterface _DShiftCalPltEvents;
};
//{{AFX_APPEND_ODL}}
//}}AFX_APPEND_ODL}}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -