From OpenSCADAWiki
Jump to: navigation, search
(Importing a new version from external source)
(Importing a new version from external source)
 
Line 1: Line 1:
The result of the request is marked in the response by setting the ''rez'' attribute to the value: 0-successful, 1-warning, 2-error. In the event of an error or a warning, the message is written to the "text" of the tag and the attribute "mcat" (the message category): ''<{req} path="{path}" user="{user}" rez="'''2'''" mcat="'''/sub_DAQ/mod_BlockCalc'''">'''Impossible to remove the node'''</{req}>''
+
The result of the request is marked in the response by setting the ''rez'' attribute to the value: 0-successful, 1-warning, 2-error. In the event of an error the message is written to the "text" of the tag and the attribute "mcat" (the message category) ''<{req} path="{path}" user="{user}" rez="'''2'''" mcat="'''/sub_DAQ/mod_BlockCalc'''">'''Impossible to remove the node'''</{req}>''. In the event of a warning the message is written to the attribute "mtxt" and the attribute "mcat" (the message category) with storing the main tag's data — ''<{req} path="{path}" user="{user}" rez="'''1'''" mcat="'''/sub_DAQ/mod_BlockCalc'''" mtxt="'''Restart after the operation!'''">{main data}</{req}>''.

Latest revision as of 22:13, 22 April 2023

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/API)
The result of the request is marked in the response by setting the ''rez'' attribute to the value: 0-successful, 1-warning, 2-error. In the event of an error the message is written to the "text" of the tag and the attribute "mcat" (the message category) — ''<{req} path="{path}" user="{user}" rez="'''2'''" mcat="'''/sub_DAQ/mod_BlockCalc'''">'''Impossible to remove the node'''</{req}>''. In the event of a warning the message is written to the attribute "mtxt" and the attribute "mcat" (the message category) with storing the main tag's data — ''<{req} path="{path}" user="{user}" rez="'''1'''" mcat="'''/sub_DAQ/mod_BlockCalc'''" mtxt="'''Restart after the operation!'''">{main data}</{req}>''.
TranslationThe result of the request is marked in the response by setting the ''rez'' attribute to the value: 0-successful, 1-warning, 2-error. In the event of an error the message is written to the "text" of the tag and the attribute "mcat" (the message category) — ''<{req} path="{path}" user="{user}" rez="'''2'''" mcat="'''/sub_DAQ/mod_BlockCalc'''">'''Impossible to remove the node'''</{req}>''. In the event of a warning the message is written to the attribute "mtxt" and the attribute "mcat" (the message category) with storing the main tag's data — ''<{req} path="{path}" user="{user}" rez="'''1'''" mcat="'''/sub_DAQ/mod_BlockCalc'''" mtxt="'''Restart after the operation!'''">{main data}</{req}>''.

The result of the request is marked in the response by setting the rez attribute to the value: 0-successful, 1-warning, 2-error. In the event of an error the message is written to the "text" of the tag and the attribute "mcat" (the message category) — <{req} path="{path}" user="{user}" rez="2" mcat="/sub_DAQ/mod_BlockCalc">Impossible to remove the node</{req}>. In the event of a warning the message is written to the attribute "mtxt" and the attribute "mcat" (the message category) with storing the main tag's data — <{req} path="{path}" user="{user}" rez="1" mcat="/sub_DAQ/mod_BlockCalc" mtxt="Restart after the operation!">{main data}</{req}>.