13 static const IID*
const arr[] =
18 for (
int i=0; i <
sizeof(arr) /
sizeof(arr[0]); i++)
20 if (InlineIsEqualGUID(*arr[i],riid))
35 VARIANT* results =
new VARIANT;
46 STDMETHODIMP
Cblock::getLogValues(BSTR start_time, BSTR end_time, BSTR output_time_format, VARIANT* times, VARIANT* values)
128 VARIANT* results =
new VARIANT;
139 VARIANT* results =
new VARIANT;
150 VARIANT* results =
new VARIANT;
HRESULT enterSetpointOnly(VARIANT newVal)
void pushBlockButton(ULONG session_id, BSTR block_name, bool use_external, VARIANT *results)
HRESULT setValue(VARIANT newVal)
HRESULT put_runcontrol(VARIANT_BOOL pVal)
HRESULT get_value(VARIANT *pVal)
HRESULT get_highlimit(VARIANT *pVal)
void getRunControl(ULONG session_id, BSTR block_name, VARIANT_BOOL *rc_value)
HRESULT enterSetpointOnlyExt(VARIANT newVal, VARIANT *results)
HRESULT getLogValues(BSTR start_time, BSTR end_time, BSTR output_time_format, VARIANT *times, VARIANT *values)
HRESULT InterfaceSupportsErrorInfo(REFIID riid)
HRESULT getValue(VARIANT *value, BSTR *time)
void setRunControl(ULONG session_id, BSTR block_name, VARIANT_BOOL rc_value)
void getBlockSetpoint(ULONG session_id, BSTR block_name, VARIANT *setpoint_value)
void getRunControlLimit(ULONG session_id, BSTR block_name, VARIANT *limit_value, bool low)
HRESULT callInstAPILib(T *obj, instapi_lib_call_t func)
void getBlockValue(ULONG session_id, BSTR block_name, VARIANT *block_value)
void setRunControlLimit(ULONG session_id, BSTR block_name, VARIANT new_value, bool low)
HRESULT getSetpoint(VARIANT *value, BSTR *time)
HRESULT put_setpoint(VARIANT newVal)
HRESULT put_highlimit(VARIANT pVal)
HRESULT get_runcontrol(VARIANT_BOOL *pVal)
HRESULT get_lowlimit(VARIANT *pVal)
HRESULT logValues(BSTR time_format, VARIANT times, VARIANT values)
HRESULT pushSetButtonExt(VARIANT *results)
HRESULT get_setpoint(VARIANT *pVal)
void sendBlockSetpoint(ULONG session_id, BSTR block_name, VARIANT setpoint_value, bool push_button, bool use_external, VARIANT *results)
unsigned long m_session_id
0 is an invalid session
HRESULT get_name(BSTR *pVal)
HRESULT put_lowlimit(VARIANT pVal)
HRESULT put_name(BSTR pVal)
HRESULT setValueExt(VARIANT newVal, VARIANT *results)