|
|
Line 1: |
Line 1: |
| == {{Anch|SYSTransport|Subsystem "Transports" (SYS.Transport)}} == | | == {{Anch|SYSTransport|Subsystem "Transports" (SYS.Transport)}} == |
− | Functions of the ingoing transport object (SYS.Transport["Modul"]["in_Transp"]): | + | Functions of the input transport object (SYS.Transport["Modul"]["in_Transp"]): |
| * ''ElTp cfg( string nm )'' — gets the value of the configuration field ''nm'' of the object. | | * ''ElTp cfg( string nm )'' — gets the value of the configuration field ''nm'' of the object. |
| * ''bool cfgSet( string nm, ElTp val )'' — sets the configuration field ''nm'' of the object to the value ''val''. | | * ''bool cfgSet( string nm, ElTp val )'' — sets the configuration field ''nm'' of the object to the value ''val''. |
Revision as of 10:37, 28 March 2018
Subsystem "Transports" (SYS.Transport)
Functions of the input transport object (SYS.Transport["Modul"]["in_Transp"]):
- ElTp cfg( string nm ) — gets the value of the configuration field nm of the object.
- bool cfgSet( string nm, ElTp val ) — sets the configuration field nm of the object to the value val.
- string status() — string status of the transport.
- string addr( string vl = "" ) — address of the transport, sets the non-empty value vl.
- string writeTo(string sender, string mess) — sends the message mess to the sender sender, as a reply.
- TArrayObj assTrsList() — assigned output transports list to the input one.