1using System.Collections.Generic;
3using System.Threading.Tasks;
17 private string preferredUnit;
18 private int channelId;
30 [Page(1,
"IEEE 1451")]
31 [Header(8,
"Channel:", 300)]
32 [ToolTip(9,
"Channel identifier on TIM.")]
34 [Range(1, ushort.MaxValue)]
37 get => this.channelId;
38 set => this.channelId = value;
44 [Page(1,
"IEEE 1451")]
45 [Header(33,
"Preferred Unit:", 300)]
46 [ToolTip(36,
"Preferred unit to use for transducer values.")]
49 get => this.preferredUnit;
50 set => this.preferredUnit = value;
83 LinkedList<Parameter> Parameters = (LinkedList<Parameter>)await base.GetDisplayableParametersAsync(
Language, Caller);
113 return Task.FromResult(
false);
128 return Grade.Excellent;
131 return Grade.NotAtAll;
141 StringBuilder sb =
new StringBuilder();
143 sb.Append(
"Channel-");
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 ...
Topic node representing an IEEE 1451.0 Channel.
override async Task< IMqttTopicNode > CreateNew(MqttTopicRepresentation Topic)
Creates a new node of the same type.
string PreferredUnit
Preferred Unit
override string LocalId
Local ID
MqttChannelTopicNode()
Topic node representing an IEEE 1451.0 Channel.
override Grade Supports(MqttTopicRepresentation Topic)
How well the topic node supports an MQTT topic
override async Task< IEnumerable< Parameter > > GetDisplayableParametersAsync(Language Language, RequestOrigin Caller)
Gets displayable parameters.
override Task< bool > AcceptsChildAsync(INode Child)
If the node accepts a given child.
override Task< string > GetTypeNameAsync(Language Language)
Diaplayable type name for node.
override Task< bool > AcceptsParentAsync(INode Parent)
If the node accepts a given parent.
Topic node representing an IEEE 1451.0 NCAP.
Topic node representing an IEEE 1451.0 TIM.
Static class for IEEE 1451-related parsing tasks.
static async Task< string > GetUniqueNodeId(string NodeId)
Gets a Node ID, based on NodeId that is not already available in the database.
string LocalTopic
Local Topic segment
Contains information about an MQTT topic
string CurrentSegment
Current segment being processed.
int SegmentIndex
Current segment index.
MqttTopic CurrentParentTopic
Current parent topic.
string[] Segments
Segments in topic string.
Tokens available in request.
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.