|
AuboStudio SDK
0.6.3
|
|
|
|
|
#include <set_node.h>


Public 类型 | |
| enum | ConfigType { NO_TYPE , NO_ACTION , DIGITAL_OUTPUT , ANALOG_OUTPUT_CURRENT , ANALOG_OUTPUT_VOLTAGE , FLOAT_REGISTER_OUTPUT , EXPRESSION_OUTPUT , SINGLE_DIGITAL_PULSE , INCREMENT_VARIABLE } |
| The configuration type used to determine which type of configuration this instance is. 更多... | |
| enum | OutputSelectionType { NO_OUTPUT , UNRESOLVED_OUTPUT , OUTPUT } |
Public 成员函数 | |
| SetNode (SetNode &f) | |
| SetNode (SetNode &&f) | |
| virtual | ~SetNode () |
| ConfigType | getConfigType () |
| This method returns the type of configuration. | |
| void | setConfigType (ConfigType type) |
| double | getPulseTime () |
| void | setPulseTime (double time) |
| float | getFloatValueToSet () |
| void | setFloatValueToSet (float value) |
| double | getAnalogOutput () |
| void | setAnalogOutput (double value) |
| OutputSelectionType | getOutputSelectionType () |
| ExpressionPtr | getExpression () |
| void | setExpression (ExpressionPtr expression) |
| IoPtr | getOutput () |
| The output selected can be an analog output, a digital output, a MODBUS output or a register output. | |
| void | setOutput (IoPtr io) |
| bool | getBoolValueToSet () |
| Depending on the type of output this is interpreted in different ways. | |
| void | setBoolValueToSet (bool value) |
| double | getVoltage () |
| void | setVoltage (double voltage) |
| double | getCurrent () |
| void | setCurrent (double curr) |
| Public 成员函数 继承自 arcs::aubo_scope::ProgramNode | |
| ProgramNode (ProgramNode &f) | |
| ProgramNode (ProgramNode &&f) | |
| virtual | ~ProgramNode () |
| ProgramNodeContributionPtr | getProgramNodeContribution () |
| 不推荐用户调用 ProgramNodeContribution::generateScript 使用 ScriptWritter::writeChildren | |
Private 成员函数 | |
| SetNode () | |
Private 属性 | |
| void * | d_ { nullptr } |
友元 | |
| class | DataSwitch |
额外继承的成员函数 | |
| Protected 成员函数 继承自 arcs::aubo_scope::ProgramNode | |
| ProgramNode () | |
在文件 set_node.h 第 12 行定义.
The configuration type used to determine which type of configuration this instance is.
| 枚举值 | |
|---|---|
| NO_TYPE | No selection has been made. This type has no further information. |
| NO_ACTION | No action has been selected. This type has no further information. |
| DIGITAL_OUTPUT | Digital output has been selected. The config instance can be cast to |
| ANALOG_OUTPUT_CURRENT | Analog output configured for electric current or no output has been selected. The config instance can be cast to |
| ANALOG_OUTPUT_VOLTAGE | Analog output configured for voltage has been selected. The config instance can be cast to |
| FLOAT_REGISTER_OUTPUT | Register using float type values has been selected. The config instance can be cast to |
| EXPRESSION_OUTPUT | Expression output has been selected. The config instance can be cast to |
| SINGLE_DIGITAL_PULSE | Single digital pulse output has been selected. The config instance can be cast to |
| INCREMENT_VARIABLE | Increment variable has been selected. This type has no further information. Setting this type of config will be ignored and will have no effect on the node. |
在文件 set_node.h 第 19 行定义.
| 枚举值 | |
|---|---|
| NO_OUTPUT | No output is selected. |
| UNRESOLVED_OUTPUT | The selected output is no longer available (e.g. because the end user has removed the output in the Installation or the needed Installation is not currently loaded). |
| OUTPUT | Output is selected. The Selection instance can be cast to |
在文件 set_node.h 第 104 行定义.
| arcs::aubo_scope::SetNode::SetNode | ( | SetNode & | f | ) |
| arcs::aubo_scope::SetNode::SetNode | ( | SetNode && | f | ) |
|
virtual |
|
private |
| double arcs::aubo_scope::SetNode::getAnalogOutput | ( | ) |
| bool arcs::aubo_scope::SetNode::getBoolValueToSet | ( | ) |
Depending on the type of output this is interpreted in different ways.
For digital output and MODBUS output, true means the output will be set to HIGH, false means the output will be set to LOW. For boolean register the value is interpreted literally.
| ConfigType arcs::aubo_scope::SetNode::getConfigType | ( | ) |
This method returns the type of configuration.
Cast this instance appropriately to have access to specific getters.
| double arcs::aubo_scope::SetNode::getCurrent | ( | ) |
| ExpressionPtr arcs::aubo_scope::SetNode::getExpression | ( | ) |
| float arcs::aubo_scope::SetNode::getFloatValueToSet | ( | ) |
| IoPtr arcs::aubo_scope::SetNode::getOutput | ( | ) |
The output selected can be an analog output, a digital output, a MODBUS output or a register output.
| OutputSelectionType arcs::aubo_scope::SetNode::getOutputSelectionType | ( | ) |
| double arcs::aubo_scope::SetNode::getPulseTime | ( | ) |
| double arcs::aubo_scope::SetNode::getVoltage | ( | ) |
| void arcs::aubo_scope::SetNode::setAnalogOutput | ( | double | value | ) |
| void arcs::aubo_scope::SetNode::setBoolValueToSet | ( | bool | value | ) |
| void arcs::aubo_scope::SetNode::setConfigType | ( | ConfigType | type | ) |
| void arcs::aubo_scope::SetNode::setCurrent | ( | double | curr | ) |
| void arcs::aubo_scope::SetNode::setExpression | ( | ExpressionPtr | expression | ) |
| void arcs::aubo_scope::SetNode::setFloatValueToSet | ( | float | value | ) |
| void arcs::aubo_scope::SetNode::setOutput | ( | IoPtr | io | ) |
| void arcs::aubo_scope::SetNode::setPulseTime | ( | double | time | ) |
| void arcs::aubo_scope::SetNode::setVoltage | ( | double | voltage | ) |
|
friend |
|
private |
在文件 set_node.h 第 208 行定义.