2using System.Collections.Generic;
3using System.Threading.Tasks;
22 [Obsolete(
"Use the asynchronous GetParent() method instead.")]
132 #region Momentary values
Base class for all sensor data fields.
Interface for nodes whose life cycle can be provisioned.
Interface for nodes that are published through the concentrator interface.
Base Interface for all metering nodes.
Task< bool > RemoveMessageAsync(MessageType Type, string EventId)
Logs a message on the node.
Task LogWarningAsync(string Body)
Logs an warning message on the node.
void NewMomentaryValues(params Field[] Values)
Reports newly measured values.
Task LogMessageAsync(MessageType Type, string Body)
Logs a message on the node.
Task< bool > RemoveErrorAsync()
Removes error messages with an empty event ID from the node.
Task< bool > RemoveErrorAsync(string EventId)
Removes error messages with a given event ID from the node.
new INode Parent
Parent Node, or null if a root node.
Task< bool > RemoveMessageAsync(MessageType Type)
Removes messages with empty event IDs from the node.
Task< INode > GetParent()
Gets the parent of the node.
Task< bool > RemoveInformationAsync()
Removes warning messages with an empty event ID from the node.
Task LogInformationAsync(string EventId, string Body)
Logs an informational message on the node.
Task LogErrorAsync(string Body)
Logs an error message on the node.
Task LogMessageAsync(MessageType Type, string EventId, string Body)
Logs a message on the node.
Task< bool > RemoveWarningAsync(string EventId)
Removes warning messages with a given event ID from the node.
Task< bool > RemoveInformationAsync(string EventId)
Removes an informational message on the node.
void NewMomentaryValues(IEnumerable< Field > Values)
Reports newly measured values.
Task LogWarningAsync(string EventId, string Body)
Logs an warning message on the node.
Task LogErrorAsync(string EventId, string Body)
Logs an error message on the node.
new string NodeId
ID of node.
Task< bool > RemoveWarningAsync()
Removes warning messages with an empty event ID from the node.
Task LogInformationAsync(string Body)
Logs an informational message on the node.
MessageType
Type of message.