Talk:Repository Class/Notes: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 26: Line 26:


|-
|-
|Use Events||Indicates whether events are enabled for the <code>Repository</code> object. '''Boolean'''. Default value = False.
|Use Events||Indicates whether to enable user-defined event procedures for the <code>Repository</code> object. '''Boolean'''. Default value = False.





Revision as of 16:07, 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
Messages Occurs when xxx - .