2using System.Threading.Tasks;
27 [Header(59,
"Processor ID:", 20)]
29 [ToolTip(60,
"ID of the processor being referenced.")]
53 await this.
LogErrorAsync(
"InvalidReference",
"Processor not found.");
57 if (Node is T TypedNode)
66 IEnumerable<INode> Children = await Node.
ChildNodes;
68 if (!(Children is
null))
70 foreach (
INode Child
in Children)
72 if (Child is T TypedChild)
73 Nodes.
Add(TypedChild);
75 CheckChildren.
Add(Child);
virtual Task LogErrorAsync(string Body)
Logs an error message on the node.
A reference to a metering group.
A reference to a processor.
string ReferenceNodeId
ID of node.
override Task< string > GetTypeNameAsync(Language Language)
Gets the type name of the node.
ProcessorReference()
A reference to a processor.
Abstract base class for reference nodes.
async Task< T[]> FindNodes< T >()
Finds nodes referenced by the group node.
Defines the Processors data source. This data source contains a tree structure of processor of nodes
static Task< ProcessorNode > GetNode(string NodeId)
Gets a node from the Metering Topology
A chunked list is a linked list of chunks of objects of type T .
bool HasFirstItem
If there is a first item in the collection
T RemoveFirst()
Removes the first item in the collection.
void Add(T Item)
Adds an item to the collection.
Contains information about a language.
Task< string > GetStringAsync(Type Type, int Id, string Default)
Gets the string value of a string ID. If no such string exists, a string is created with the default ...
Interface for nodes that are published through the concentrator interface.
Task< IEnumerable< INode > > ChildNodes
Child nodes. If no child nodes are available, null is returned.