From OpenSCADAWiki
Jump to: navigation, search
(Importing a new version from external source)
(Importing a new version from external source)
Line 1: Line 1:
 
== {{Anch|SYSTransport|Subsystem "Transports" (SYS.Transport)}} ==
 
== {{Anch|SYSTransport|Subsystem "Transports" (SYS.Transport)}} ==
Functions of the input transport object (SYS.Transport["Modul"]["in_Transp"]):
+
Functions of the subsystem object:
* ''ElTp cfg( string nm )'' — gets the value of the configuration field ''nm'' of the object.
+
* ''TCntrNodeObj outAt( string addr );'' — common-unified output transport connection at the address ''addr'' in the forms:
* ''bool cfgSet( string nm, ElTp val )'' [<span style='color:red'>access to the appropriate subsystem</span>] sets the configuration field ''nm'' of the object to the value ''val''.
+
:: "'''{TrModule}.[out_]{TrID}[:{TrAddr}]'''" typical output with automatic creation ''TrID'' at it missing and allowing ''TrAddr'';
* ''string status()'' — string status of the transport.
+
:: "'''{TrModule}.in_{TrID}:{RemConId}'''" — initiative input with the connection identifier in ''RemConId''.
* ''string addr( string vl = "" )'' address of the transport, sets the non-empty value ''vl''.
+
:* ''TrModule'' — transport module, as is [[Special:MyLanguage/Modules/Sockets|Sockets]], [[Special:MyLanguage/Modules/SSL|SSL]], [[Special:MyLanguage/Modules/Serial|Serial]];
* ''string writeTo(string sender, string mess)'' — sends the message ''mess'' to the sender ''sender'', as a reply.
+
:* ''TrID'' — transport identifier;
* ''TArrayObj assTrsList()'' — assigned output transports list to the input one.
+
:* ''TrAddr'' — transport specific address;
 +
:* ''RemConId'' — remote initiative connection ID.

Revision as of 22:13, 15 July 2022

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Documents/User API)
== {{Anch|SYSTransport|Subsystem "Transports" (SYS.Transport)}} ==
Functions of the subsystem object:
* ''TCntrNodeObj outAt( string addr );'' — common-unified output transport connection at the address ''addr''. At errors of creation the transport the function will return "false" when a correct node in it conversion to BOOLEAN will return "true". The address is specified in the forms:
:: "'''{TrModule}.[out_]{TrID}[:{TrAddr}]'''" — typical output with automatic creation ''TrID'' at it missing and allowing ''TrAddr'';
:: "'''{TrModule}.in_{TrID}:{RemConId}'''" — initiative input with the connection identifier in ''RemConId''.
:* ''TrModule'' — transport module, as is [[Special:MyLanguage/Modules/Sockets|Sockets]], [[Special:MyLanguage/Modules/SSL|SSL]], [[Special:MyLanguage/Modules/Serial|Serial]];
:* ''TrID'' — transport identifier;
:* ''TrAddr'' — transport specific address;
:* ''RemConId'' — remote initiative connection ID.
Translation== {{Anch|SYSTransport|Subsystem "Transports" (SYS.Transport)}} ==
Functions of the subsystem object:
* ''TCntrNodeObj outAt( string addr );'' — common-unified output transport connection at the address ''addr'' in the forms:
:: "'''{TrModule}.[out_]{TrID}[:{TrAddr}]'''" — typical output with automatic creation ''TrID'' at it missing and allowing ''TrAddr'';
:: "'''{TrModule}.in_{TrID}:{RemConId}'''" — initiative input with the connection identifier in ''RemConId''.
:* ''TrModule'' — transport module, as is [[Special:MyLanguage/Modules/Sockets|Sockets]], [[Special:MyLanguage/Modules/SSL|SSL]], [[Special:MyLanguage/Modules/Serial|Serial]];
:* ''TrID'' — transport identifier;
:* ''TrAddr'' — transport specific address;
:* ''RemConId'' — remote initiative connection ID.

Subsystem "Transports" (SYS.Transport)

Functions of the subsystem object:

  • TCntrNodeObj outAt( string addr ); — common-unified output transport connection at the address addr in the forms:
"{TrModule}.[out_]{TrID}[:{TrAddr}]" — typical output with automatic creation TrID at it missing and allowing TrAddr;
"{TrModule}.in_{TrID}:{RemConId}" — initiative input with the connection identifier in RemConId.
  • TrModule — transport module, as is Sockets, SSL, Serial;
  • TrID — transport identifier;
  • TrAddr — transport specific address;
  • RemConId — remote initiative connection ID.