1using System.Collections.Generic;
2using System.Threading.Tasks;
29 return Grade.NotAtAll;
39 return Grade.NotAtAll;
85 public override Task<IEnumerable<ICommand>>
Commands => this.GetCommands();
90 private async Task<IEnumerable<ICommand>> GetCommands()
92 List<ICommand>
Commands =
new List<ICommand>();
93 Commands.AddRange(await base.Commands);
97 Topic =
"_1451.1.6/D0"
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 ...
Requests Ncaps to identify themselves.
MQTT Topic node that publishes discovery commands in accordance with IEEE 1451.0.
IEEE 1451.1.6 root topic node
override Task< bool > AcceptsParentAsync(INode Parent)
If the node accepts a given parent.
override async Task< IMqttTopicNode > CreateNew(MqttTopicRepresentation Topic)
Creates a new node of the same type.
override Task< IEnumerable< ICommand > > Commands
Available command objects. If no commands are available, null is returned.
override Task< bool > AcceptsChildAsync(INode Child)
If the node accepts a given child.
override Grade Supports(MqttTopicRepresentation Topic)
How well the topic node supports an MQTT topic
override Task< string > GetTypeNameAsync(Language Language)
Diaplayable type name for node.
RootTopic()
IEEE 1451.1.6 root topic node
static async Task< string > GetUniqueNodeId(string NodeId)
Gets a Node ID, based on NodeId that is not already available in the database.
Node representing a connection to an MQTT broker.
A Metering node representing an MQTT topic
async Task< MqttBrokerNode > GetBroker()
TODO
string LocalTopic
Local Topic segment
Contains information about an MQTT topic
string CurrentSegment
Current segment being processed.
MqttTopic CurrentParentTopic
Current parent topic.
Interface for nodes that are published through the concentrator interface.
new INode Parent
Parent Node, or null if a root node.
new string NodeId
ID of node.