ICP
1
|
#include <block.h>
Public Member Functions | |
Cblock () | |
HRESULT | InterfaceSupportsErrorInfo (REFIID riid) |
HRESULT | FinalConstruct () |
void | FinalRelease () |
HRESULT | get_setpoint (VARIANT *pVal) |
HRESULT | put_setpoint (VARIANT newVal) |
HRESULT | get_value (VARIANT *pVal) |
HRESULT | getLogValues (BSTR start_time, BSTR end_time, BSTR output_time_format, VARIANT *times, VARIANT *values) |
HRESULT | logValues (BSTR time_format, VARIANT times, VARIANT values) |
HRESULT | getSetpoint (VARIANT *value, BSTR *time) |
HRESULT | getValue (VARIANT *value, BSTR *time) |
HRESULT | get_name (BSTR *pVal) |
HRESULT | put_name (BSTR pVal) |
HRESULT | get_runcontrol (VARIANT_BOOL *pVal) |
HRESULT | put_runcontrol (VARIANT_BOOL pVal) |
HRESULT | get_lowlimit (VARIANT *pVal) |
HRESULT | put_lowlimit (VARIANT pVal) |
HRESULT | get_highlimit (VARIANT *pVal) |
HRESULT | put_highlimit (VARIANT pVal) |
HRESULT | enterSetpointOnly (VARIANT newVal) |
HRESULT | enterSetpointOnlyExt (VARIANT newVal, VARIANT *results) |
HRESULT | pushSetButton () |
HRESULT | pushSetButtonExt (VARIANT *results) |
HRESULT | setValue (VARIANT newVal) |
HRESULT | setValueExt (VARIANT newVal, VARIANT *results) |
Public Attributes | |
unsigned long | m_session_id |
0 is an invalid session More... | |
Private Attributes | |
CComBSTR | m_name |
HRESULT Cblock::enterSetpointOnly | ( | VARIANT | newVal | ) |
Definition at line 126 of file block.cpp.
References callInstAPILib(), m_name, m_session_id, and InstAPILib::sendBlockSetpoint().
HRESULT Cblock::enterSetpointOnlyExt | ( | VARIANT | newVal, |
VARIANT * | results | ||
) |
Definition at line 132 of file block.cpp.
References callInstAPILib(), m_name, m_session_id, and InstAPILib::sendBlockSetpoint().
HRESULT Cblock::get_highlimit | ( | VARIANT * | pVal | ) |
Definition at line 114 of file block.cpp.
References callInstAPILib(), InstAPILib::getRunControlLimit(), m_name, and m_session_id.
HRESULT Cblock::get_lowlimit | ( | VARIANT * | pVal | ) |
Definition at line 101 of file block.cpp.
References callInstAPILib(), InstAPILib::getRunControlLimit(), m_name, and m_session_id.
HRESULT Cblock::get_runcontrol | ( | VARIANT_BOOL * | pVal | ) |
Definition at line 88 of file block.cpp.
References callInstAPILib(), InstAPILib::getRunControl(), m_name, and m_session_id.
HRESULT Cblock::get_setpoint | ( | VARIANT * | pVal | ) |
Definition at line 27 of file block.cpp.
References callInstAPILib(), InstAPILib::getBlockSetpoint(), m_name, and m_session_id.
HRESULT Cblock::get_value | ( | VARIANT * | pVal | ) |
Definition at line 40 of file block.cpp.
References callInstAPILib(), InstAPILib::getBlockValue(), m_name, and m_session_id.
HRESULT Cblock::getLogValues | ( | BSTR | start_time, |
BSTR | end_time, | ||
BSTR | output_time_format, | ||
VARIANT * | times, | ||
VARIANT * | values | ||
) |
HRESULT Cblock::getSetpoint | ( | VARIANT * | value, |
BSTR * | time | ||
) |
Definition at line 62 of file block.cpp.
References callInstAPILib(), InstAPILib::getBlockSetpoint(), m_name, and m_session_id.
HRESULT Cblock::getValue | ( | VARIANT * | value, |
BSTR * | time | ||
) |
Definition at line 68 of file block.cpp.
References callInstAPILib(), InstAPILib::getBlockValue(), m_name, and m_session_id.
HRESULT Cblock::logValues | ( | BSTR | time_format, |
VARIANT | times, | ||
VARIANT | values | ||
) |
HRESULT Cblock::pushSetButton | ( | ) |
Definition at line 137 of file block.cpp.
References callInstAPILib(), m_name, m_session_id, and InstAPILib::pushBlockButton().
HRESULT Cblock::pushSetButtonExt | ( | VARIANT * | results | ) |
Definition at line 143 of file block.cpp.
References callInstAPILib(), m_name, m_session_id, and InstAPILib::pushBlockButton().
HRESULT Cblock::put_highlimit | ( | VARIANT | pVal | ) |
Definition at line 120 of file block.cpp.
References callInstAPILib(), m_name, m_session_id, and InstAPILib::setRunControlLimit().
HRESULT Cblock::put_lowlimit | ( | VARIANT | pVal | ) |
Definition at line 108 of file block.cpp.
References callInstAPILib(), m_name, m_session_id, and InstAPILib::setRunControlLimit().
HRESULT Cblock::put_runcontrol | ( | VARIANT_BOOL | pVal | ) |
Definition at line 95 of file block.cpp.
References callInstAPILib(), m_name, m_session_id, and InstAPILib::setRunControl().
HRESULT Cblock::put_setpoint | ( | VARIANT | newVal | ) |
Definition at line 33 of file block.cpp.
References callInstAPILib(), m_name, m_session_id, and InstAPILib::sendBlockSetpoint().
HRESULT Cblock::setValue | ( | VARIANT | newVal | ) |
Definition at line 148 of file block.cpp.
References callInstAPILib(), m_name, m_session_id, and InstAPILib::sendBlockSetpoint().
HRESULT Cblock::setValueExt | ( | VARIANT | newVal, |
VARIANT * | results | ||
) |
Definition at line 154 of file block.cpp.
References callInstAPILib(), m_name, m_session_id, and InstAPILib::sendBlockSetpoint().
|
private |
Definition at line 31 of file block.h.
Referenced by enterSetpointOnly(), enterSetpointOnlyExt(), get_highlimit(), get_lowlimit(), get_name(), get_runcontrol(), get_setpoint(), get_value(), getSetpoint(), getValue(), pushSetButton(), pushSetButtonExt(), put_highlimit(), put_lowlimit(), put_name(), put_runcontrol(), put_setpoint(), setValue(), and setValueExt().
unsigned long Cblock::m_session_id |
0 is an invalid session
Definition at line 33 of file block.h.
Referenced by enterSetpointOnly(), enterSetpointOnlyExt(), get_highlimit(), get_lowlimit(), get_runcontrol(), get_setpoint(), get_value(), getSetpoint(), getValue(), pushSetButton(), pushSetButtonExt(), put_highlimit(), put_lowlimit(), put_runcontrol(), put_setpoint(), setValue(), and setValueExt().