Talk:Repository Class/Notes: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 36: Line 36:
{| {{APITable}}
{| {{APITable}}
|-
|-
| style="width: 250px;"|Messages||Occurs when xxx - .
| style="width: 250px;"|[[Repository.Message|Message]]||{{:Repository.Message}}
|}
|}

Revision as of 23:15, 16 August 2016

DRAFT for 10.3

Edits for the BlockSim field:

BlockSim

Name Description
BlockSim.ExportBlockSimXMLFile Exports data from the current BlockSim project to a new XML file. Returns a Boolean value; when true, indicates a successful export.
Repository.BlockSim.GetAllFaultTrees Gets a list of all BlockSim fault trees associated with a project. Returns a NameIdPair object that represents the name and ID pairs of the fault trees.
Repository.BlockSim.GetAllRBDBlocksData Gets an array containing the data of all blocks in a BlockSim reliability block diagram (RBD) or fault tree. Returns an RBDBlockData object that represents the properties of each block.
Repository.BlockSim.GetAllRBDs Gets a list of all BlockSim reliability block diagrams (RBDs) associated with a project. Returns a NameIdPair object that represents the name and ID pairs of the RBDs.
Repository.BlockSim.GetRBDBlockData Returns an RBDBlockData object that represents the properties of a BlockSim block.
BlockSim.ImportBlockSimXMLFile Imports data from an XML file into the current BlockSim project. Returns a Boolean value; when true, indicates a successful import.
Repository.BlockSim.UpdateRBDBlockData Sends any changes made to a BlockSim block to the Synthesis repository. Returns a Boolean value; when true, indicates a successful save.



Edits for the Properties field:

|- |Use Events||Indicates whether to enable user-defined event procedures for the Repository object. Boolean. Default value = False.



Add the following section after Properties:

Events

Name Description
Message Occurs when an error is produced. Displays an error message.