Full Library / Math Operator / Logic / Compare_Port
Block Name: Compare_Port
- public class Compare_Port
- extends TypedAtomicActor
- A compare_output by two inputs, which routes input tokens to the true_output port, if the comparison is true, else the input token is sent to the false_output. This actor has two input ports, In addition, the value of the comparison is sent to the compare_output port, represented as '1' equals true, '0' equals false.
compare_input
public TypedIOPort compare_input
- Compare input port for data tokens, applies tolerances to double tokens.
constant_input
public TypedIOPort constant_input
- Other input port for data tokens.
true_output
public TypedIOPort true_output
- True output port, type same as Constant K.
false_output
public TypedIOPort false_output
- False output port, type same as Constant K.
compare_output
public TypedIOPort compare_output
- Output compare_output port, 0 = false, 1 = true.
Compare_Type
public StringAttribute Compare_Type
- The relative compare mode operator. This is a string-valued attribute that defaults to "=". Other options: '!=', '>', '>=', '<', '<='.
Output_Type
public StringAttribute Output_Type
- The relative output mode operator. This is a string-valued attribute that defaults to "Integer". Other options: "Long", "Double", "String".
Created with the Personal Edition of HelpNDoc: Free CHM Help documentation generator