📄 pqdcom4.tli
字号:
inline long IPQDIFLogical::DataSourceGetInfo2 ( long precDS, VARIANT * idDataSourceType, VARIANT * idVendor, VARIANT * idEquipment, BSTR * serialNumberDS, BSTR * versionDS, BSTR * nameDS, BSTR * ownerDS, BSTR * locationDS, BSTR * timeZoneDS ) {
long _result;
HRESULT _hr = raw_DataSourceGetInfo2(precDS, idDataSourceType, idVendor, idEquipment, serialNumberDS, versionDS, nameDS, ownerDS, locationDS, timeZoneDS, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::RecordCreateObservation2 ( long indexInsert, _bstr_t name, DATE timeCreate, DATE timeStart, long idTriggerMethod, DATE timeTriggered, VARIANT * aidxChannelTrigger ) {
long _result;
HRESULT _hr = raw_RecordCreateObservation2(indexInsert, name, timeCreate, timeStart, idTriggerMethod, timeTriggered, aidxChannelTrigger, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::RecordCreateObservation3 ( long indexInsert, _bstr_t name, DATE timeCreate, DATE timeStart, long idTriggerMethod ) {
long _result;
HRESULT _hr = raw_RecordCreateObservation3(indexInsert, name, timeCreate, timeStart, idTriggerMethod, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::ObservationGetInfo2 ( long pRecordObserv, DATE * timeStart, BSTR * name, long * countChannels ) {
long _result;
HRESULT _hr = raw_ObservationGetInfo2(pRecordObserv, timeStart, name, countChannels, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::ObservationGetChannelInfo2 ( long pRecordObserv, long idxChannel, BSTR * name, long * idPhase, VARIANT * idQuantityType, long * countSeries ) {
long _result;
HRESULT _hr = raw_ObservationGetChannelInfo2(pRecordObserv, idxChannel, name, idPhase, idQuantityType, countSeries, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::ObservationGetChannelInfo3 ( long pRecordObserv, long idxChannel, BSTR * name, long * idPhase, long * idQuantityMeasured, VARIANT * idQuantityType, long * countSeries ) {
long _result;
HRESULT _hr = raw_ObservationGetChannelInfo3(pRecordObserv, idxChannel, name, idPhase, idQuantityMeasured, idQuantityType, countSeries, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::ElementGetTag2 ( long pElement, VARIANT * tagElement, BSTR * nameTagElement ) {
long _result;
HRESULT _hr = raw_ElementGetTag2(pElement, tagElement, nameTagElement, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::VectorGetString2 ( long pElement, BSTR * value ) {
long _result;
HRESULT _hr = raw_VectorGetString2(pElement, value, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::VectorSetString2 ( long pVector, _bstr_t value ) {
long _result;
HRESULT _hr = raw_VectorSetString2(pVector, value, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::ObservationAddSeriesData ( long pRecObs, long idxChannel, VARIANT * aValues ) {
long _result;
HRESULT _hr = raw_ObservationAddSeriesData(pRecObs, idxChannel, aValues, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::ObservationAddSeriesShared ( long pRecObs, long idxChannel, long idxChannelShared, long idxSeriesShared ) {
long _result;
HRESULT _hr = raw_ObservationAddSeriesShared(pRecObs, idxChannel, idxChannelShared, idxSeriesShared, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::ObservationSetSeriesScale ( long pRecObs, long idxChannel, long idxSeries, double scale, double offset ) {
long _result;
HRESULT _hr = raw_ObservationSetSeriesScale(pRecObs, idxChannel, idxSeries, scale, offset, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::ObservationSetChannelFreq ( long pRecObs, long idxChannel, double freq ) {
long _result;
HRESULT _hr = raw_ObservationSetChannelFreq(pRecObs, idxChannel, freq, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::ObservationGetChannelFreq ( long pRecObs, long idxChannel, double * freq ) {
long _result;
HRESULT _hr = raw_ObservationGetChannelFreq(pRecObs, idxChannel, freq, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::ObservationGetSeriesScale ( long pRecObs, long idxChannel, long idxSeries, double * scale, double * offset ) {
long _result;
HRESULT _hr = raw_ObservationGetSeriesScale(pRecObs, idxChannel, idxSeries, scale, offset, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::ObservationGetSeriesRawData ( long pRecObs, long idxChannel, long idxSeries, VARIANT * aValues ) {
long _result;
HRESULT _hr = raw_ObservationGetSeriesRawData(pRecObs, idxChannel, idxSeries, aValues, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::ObservationGetSeriesResolvedData ( long pRecObs, long idxChannel, long idxSeries, VARIANT * aValues ) {
long _result;
HRESULT _hr = raw_ObservationGetSeriesResolvedData(pRecObs, idxChannel, idxSeries, aValues, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::ObservationGetSeriesResolvedTimeStamp ( long pRecObs, long idxChannel, long idxSeries, VARIANT * aValues ) {
long _result;
HRESULT _hr = raw_ObservationGetSeriesResolvedTimeStamp(pRecObs, idxChannel, idxSeries, aValues, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::ObservationGetSeriesExtendedData ( long pRecordObserv, long idxChannel, long idxSeries, VARIANT * tag, VARIANT * values ) {
long _result;
HRESULT _hr = raw_ObservationGetSeriesExtendedData(pRecordObserv, idxChannel, idxSeries, tag, values, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::ObservationGetChannelExtendedData ( long pRecordObserv, long idxChannel, VARIANT * tag, VARIANT * values ) {
long _result;
HRESULT _hr = raw_ObservationGetChannelExtendedData(pRecordObserv, idxChannel, tag, values, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::ObservationGetExtendedData ( long pRecordObserv, VARIANT * tag, VARIANT * values ) {
long _result;
HRESULT _hr = raw_ObservationGetExtendedData(pRecordObserv, tag, values, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::ObservationGetChannelDefnIdx ( long pRecordObserv, long idxChannel, long * lChanDefn ) {
long _result;
HRESULT _hr = raw_ObservationGetChannelDefnIdx(pRecordObserv, idxChannel, lChanDefn, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::ObservationGetSeriesNominalQty ( long pRecordObserv, long idxChannel, long idxSeries, double * value ) {
long _result;
HRESULT _hr = raw_ObservationGetSeriesNominalQty(pRecordObserv, idxChannel, idxSeries, value, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::DataSourceAddSeriesDefn2 ( long pRecordDS, long idxChannelDefn, long idQuantityUnits, VARIANT * idValueType, VARIANT * idCharacteristicType, long idStorageMethod ) {
long _result;
HRESULT _hr = raw_DataSourceAddSeriesDefn2(pRecordDS, idxChannelDefn, idQuantityUnits, idValueType, idCharacteristicType, idStorageMethod, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::RecordGetCount2 ( ) {
long _result;
HRESULT _hr = raw_RecordGetCount2(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::RecordDestroy2 ( long index ) {
long _result;
HRESULT _hr = raw_RecordDestroy2(index, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::RecordRequestDataSource2 ( long index, long * pRecordDS ) {
long _result;
HRESULT _hr = raw_RecordRequestDataSource2(index, pRecordDS, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::RecordReleaseDataSource2 ( long pRecordDS ) {
long _result;
HRESULT _hr = raw_RecordReleaseDataSource2(pRecordDS, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::RecordCreateSettings2 ( long indexInsert ) {
long _result;
HRESULT _hr = raw_RecordCreateSettings2(indexInsert, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::RecordRequestSettings2 ( long idxRecord, long * pRecordSettings ) {
long _result;
HRESULT _hr = raw_RecordRequestSettings2(idxRecord, pRecordSettings, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::RecordReleaseSettings2 ( long pRecordSettings ) {
long _result;
HRESULT _hr = raw_RecordReleaseSettings2(pRecordSettings, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::RecordRequestObservation2 ( long index, long * pRecordObserv ) {
long _result;
HRESULT _hr = raw_RecordRequestObservation2(index, pRecordObserv, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::RecordReleaseObservation2 ( long pRecordObserv ) {
long _result;
HRESULT _hr = raw_RecordReleaseObservation2(pRecordObserv, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::SettingsGetInfo2 ( long pRecordSettings, DATE * timeEffective, DATE * timeInstalled, DATE * timeRemoved, long * useCal, long * useTrans ) {
long _result;
HRESULT _hr = raw_SettingsGetInfo2(pRecordSettings, timeEffective, timeInstalled, timeRemoved, useCal, useTrans, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::SettingsSetChanTrans2 ( long pRecordSettings, long idxChannel, long xdTransformerTypeID, double xdSystemSideRatio, double xdMonitorSideRatio, VARIANT * xdFreqResponse ) {
long _result;
HRESULT _hr = raw_SettingsSetChanTrans2(pRecordSettings, idxChannel, xdTransformerTypeID, xdSystemSideRatio, xdMonitorSideRatio, xdFreqResponse, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::SettingsSetChanCal2 ( long pRecordSettings, long idxChannel, double calTimeSkew, double calOffset, double calRatio, long calMustUseARCal, VARIANT * calApplied, VARIANT * calRecorded ) {
long _result;
HRESULT _hr = raw_SettingsSetChanCal2(pRecordSettings, idxChannel, calTimeSkew, calOffset, calRatio, calMustUseARCal, calApplied, calRecorded, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::SettingsGetChanCount2 ( long pRecordSettings ) {
long _result;
HRESULT _hr = raw_SettingsGetChanCount2(pRecordSettings, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::SettingsAddChannel ( long pRecordSettings, long idxChannelDefn ) {
long _result;
HRESULT _hr = raw_SettingsAddChannel(pRecordSettings, idxChannelDefn, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::SettingsAddChannel2 ( long pRecordSettings, long idxChannelDefn, long idTriggerType ) {
long _result;
HRESULT _hr = raw_SettingsAddChannel2(pRecordSettings, idxChannelDefn, idTriggerType, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::SettingsGetChannel2 ( long pRecordSettings, long idxChannel, long * idxChannelDefn, long * triggerTypeID, double * fullScale, double * noiseFloor, double * triggerLow, double * triggerHigh, double * triggerRate, VARIANT * triggerShapeParam ) {
long _result;
HRESULT _hr = raw_SettingsGetChannel2(pRecordSettings, idxChannel, idxChannelDefn, triggerTypeID, fullScale, noiseFloor, triggerLow, triggerHigh, triggerRate, triggerShapeParam, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline long IPQDIFLogical::SettingsGetChanTrans2 ( long pRecordSettings, long idxChannel, long * xdTransformerTypeID, double * xdSystemSideRatio, double * xdMonitorSideRatio, VARIANT * xdFreqResponse ) {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -