TYPE MGT_RSP : (* Management Response *)
STRUCT
ID : DINT; (* 32-bit transaction ID *)
Reason : MGT_REASON; (* Response Reason Code *)
TYPE : MGT_TYPE; (* Management Object Type *)
CONTENTS : USTRING; (* Management Object Contents *)
END_STRUCT;
END_TYPE
This Structured Data Type models the
Response
element defined in the FBMGT
DTD and subclause 6.4 of the Compliance
Profile for Feasibility Demonstrations as follows:
- The
IDandActionvariables represent the corresponding attributes of theResponseelement. - The contained sub-element (
FB, Connection, etc.) of theResponseis represented by the combination of theTYPEandCONTENTSvariables.
The advantages of using a variable of this data type instead of an
XML
Response
element encoded as a
STRING
variable are similar to those described for the MGT_REQ
data type.