NodeBase Class

This is the base class to execute the data set in a NodeDto.
Starting nodes or parameters aren't used for this class, but are executed from the QueueHandlerBaseT directly.

Definition

Namespace: MobileTrack.EventHandler.NodeHandlers
Assembly: MobileTrack.EventHandler (in MobileTrack.EventHandler.exe) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
internal abstract class NodeBase
Inheritance
Object    NodeBase
Derived
More

Constructors

NodeBase Default constructor.

Properties

CurrentCompany The company the node is running for.
Logger Dependency injected logger.
NodeData The node data derived from the database.
NodeType The type of node currently running.
OutputPortValues The output port values that will be assigned to succeeding nodes.
State The state the node is in.

Methods

Execute Executes the logic for this node.
ExecuteInner Executes the custom logic for this type of node. The node must end when all exit ports have been properly filled in.
GetInputPortValue(ActionFlowPortType) Get the value for the input port.
GetInputPortValue(Guid) Get the value for the input port.
ReadyForExecution Returns if the node is ready to be executed, based on the InputPortValues and State.
SetInputPortValue Set a value for the input port.
SetOutputPortValue Set a value for the output port.
ToProgressItem Converts the state of this node to show to front-end users if it has been completed successfully.

See Also