2using System.Collections;
3using System.Collections.Generic;
4using System.Threading.Tasks;
30 [Page(4,
"Modbus", 100)]
31 [Header(13,
"Register Number:")]
32 [ToolTip(14,
"Register number on the Modbus unit.")]
40 [Page(4,
"Modbus", 100)]
41 [Header(11,
"Field Name:")]
42 [ToolTip(12,
"Custom field name for value.")]
43 [DefaultValueStringEmpty]
64 LinkedList<Parameter> Result = await base.GetDisplayableParametersAsync(
Language, Caller) as LinkedList<Parameter>;
82 DateTime TP = DateTime.UtcNow;
105 if (
string.IsNullOrEmpty(this.
FieldName))
Task Leave()
Leaves unique access to the TCP client. Must be called exactly one for each call to Enter.
Task Enter()
Enters unique access to the TCP client. Must be followed by exactly one Leave call.
async Task< BitArray > ReadInputDiscretes(byte UnitAddress, ushort ReferenceNumber, ushort NrBits)
Reads input discretes from a Modbus unit.
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 ...
Node representing a TCP/IP connection to a Modbus Gateway
Abstract base class for child nodes to Mobus Unit nodes.
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.
Tokens available in request.
Represents a boolean value that can be either true or false.
Contains information about an error on a thing
Contains a reference to a thing
Interface for sensor nodes.
Interface for classes managing sensor data readouts.
Task ReportErrors(bool Done, params ThingError[] Errors)
Report error states to the client.
Task ReportFields(bool Done, params Field[] Fields)
Report read fields to the client.
FieldQoS
Field Quality of Service flags
FieldType
Field Type flags