Repository Class

This is a class that allows you to access a Synthesis repository. The class has following sections containing methods and properties that allow you to read, create and edit various objects in the repository. See Example at the bottom of this page. Also see the important note for version 9 users.

Repository

 * ConnectToRepository
 * ConnectToAccessRepository
 * ConnectToSQLRepository
 * ConnectToOracleRepository
 * DisconnectFromRepository
 * EnforceRENOCompliance

 Project 
 * GetAllProjects
 * GetCurrentProject
 * SetCurrentProject

 Unit 
 * GetAllUnits

 Model 
 * GetAllModelsInfo
 * GetAllModels
 * AddModel
 * UpdateModel
 * GetModel *
 * IsModelUsed *
 * DeleteModel *

 URD 
 * GetAllURDs
 * AddURD
 * UpdateURD
 * GetURD *

 Variable 
 * GetAllVariables
 * AddVariable
 * UpdateVariable
 * GetVariable *

 Task 
 * GetAllCorrectiveTasks
 * AddCorrectiveTask
 * UpdateCorrectiveTask
 * GetCorrectiveTask *
 * GetAllScheduledTasks
 * AddScheduledTask
 * UpdateScheduledTask
 * GetScheduledTask *
 * GetAllTaskTypes

 Crew 
 * GetAllCrews
 * AddCrew
 * UpdateCrew
 * GetCrew *

 Pool 
 * GetAllPools
 * AddPool
 * UpdatePool
 * GetPool *

 Action 
 * GetAllActionsDictionary *
 * GetAllActions
 * AddAction
 * UpdateAction
 * GetAction *

 Control 
 * GetAllXfmeaControlsDictionary *
 * GetAllXfmeaControlsDictionary *
 * AddXfmeaControl *
 * UpdateXfmeaControl *
 * GetXfmeaControl *

 BlockSim 
 * ImportBlockSimXMLFile
 * ExportBlockSimXMLFile

DataWarehouse
 * SaveRawDataSet

 XFRACAS 
 * GetAllXFRACASEntities
 * ImportXFRACASXML
 * ImportXFRACASXMLFile
 * ImportXFRACASXMLString
 * SerializeXMLObjectToByteArray
 * ProcessXfracasImports
 * WriteMessageToDiagnosticsLog
 * WriteExceptionToDiagnosticsLog
 * XFRACASCommandTimeout *
 * AddSystemMetric1 *
 * AddSystemMetric2 *
 * AddSystemMetric3 *

 Xfmea 

Usage Example
In this usage example, the API is used to connect to a repository, retrieve one of the models in it and then calculate the reliability at a specified time, based on that model.