2using System.Threading.Tasks;
37 return Task.FromResult(
false);
57 while (!(Loop is
null))
67 throw new Exception(
"Modbus Gateway node not found.");
76 while (!(Loop is
null))
86 throw new Exception(
"Modbus Unit node not found.");
Base class for all metering nodes.
INode Parent
Parent Node, or null if a root node.
async Task< INode > GetParent()
Gets the parent of the node.
Base class for all provisioned metering nodes.
Represents a composition of nodes, under a unit.
Node representing a TCP/IP connection to a Modbus Gateway
Abstract base class for child nodes to Mobus Unit nodes.
ModbusUnitChildNode()
Abstract base class for child nodes to Mobus Unit nodes.
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...
async Task< ModbusGatewayNode > GetGateway()
Modbus Gateway node.
async Task< ModbusUnitNode > GetUnitNode()
Modbus Unit node.
async Task< ThingReference > GetReportAs()
Under what node fields are to be reported.
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 ...
Represents a Unit Device on a Modbus network.
Interface for nodes that are published through the concentrator interface.
INode Parent
Parent Node, or null if a root node.