PragmaDataExchange#
- class ansys.scade.guitools.data.PragmaDataExchange(id: str)#
Bases:
DataExchangeMeans to serialize values as SCADE Suite pragmas.
SCADE Suite pragmas are either text or XML. This class uses a textual pragma made of a json string.
Parameters#
- idstr
Identifier of the pragma.
Initialize the pragma data exchange instance.
Overview#
Import detail#
from ansys.scade.guitools.data import PragmaDataExchange
Attribute detail#
- PragmaDataExchange.id#
Method detail#
- PragmaDataExchange.display(object_: scade.model.suite.Annotable)#
Update the page with the properties read from the model.
- PragmaDataExchange.validate(object_: scade.model.suite.Annotable)#
Update the model with the properties read from the page.