2using System.Threading.Tasks;
21 this.NodeId = Guid.NewGuid().ToString();
27 [Header(65,
"Label:", 10)]
29 [ToolTip(67,
"Label presenting the node in the job source.")]
31 public string Label {
get;
set; }
36 public override string LocalId =>
string.IsNullOrEmpty(this.
Label) ? this.NodeId : this.
Label;
50 return Task.FromResult(
false);
70 await this.FindNodes(Nodes);
Base class for all job nodes.
INode Parent
Parent Node, or null if a root node.
Abstract base class for reference nodes.
override Task< bool > AcceptsChildAsync(INode Child)
If the node accepts a presumptive child, i.e. can receive as a child (if that child accepts the node ...
override string LogId
If provided, an ID for the node, as it would appear or be used in system logs. Can be null,...
ReferenceNode()
Abstract base class for reference nodes.
override string LocalId
If provided, an ID for the node, but unique locally between siblings. Can be null,...
async Task< T[]> FindNodes< T >()
Finds nodes referenced by the group node.
override Task< bool > AcceptsParentAsync(INode Parent)
If the node accepts a presumptive parent, i.e. can be added to that parent (if that parent accepts th...
Sensor data readout task node.
A chunked list is a linked list of chunks of objects of type T .
T[] ToArray()
Returns an array containing all elements of the collection.
Base Interface for all metering nodes.
Interface for nodes that are published through the concentrator interface.