Repository Class

Constructors

 * Repository

Methods
 Connect to / Disconnect from Repository 
 * ConnectToRepository( String )
 * ConnectToAccessRepository( String )
 * ConnectToSQLRepository( String, String, [Boolean], [String], [String], [String] )
 * ConnectToOracleRepository( Integer ,String, String, String, String )
 * DisconnectFromRepository

 Project 
 * GetAllProjects
 * GetCurrentProject
 * SetCurrentProject( Integer )

 Units of Measurement 
 * GetAllUnits

 Models 
 * GetAllModelsInfo
 * GetModel( Integer )
 * GetAllModels
 * AddModel( cModel )
 * UpdateModel( cModel )
 * DeleteModel(Integer)
 * IsModelUsed(Integer)

 URDs 
 * GetAllURDs
 * GetURD (cURD)
 * AddURD( cURD )
 * UpdateURD( cURD )

 Variables 
 * GetAllVariables
 * AddVariable( cVariable )
 * UpdateVariable( cVariable )
 * GetVariable( cVariable )

 Corrective Tasks 
 * GetAllCorrectiveTasks
 * AddCorrectiveTask( cCorrectiveTask )
 * UpdateCorrectiveTask( cCorrectiveTask )
 * GetCorrectiveTask

 Scheduled Tasks 
 * GetAllScheduledTasks
 * AddScheduledTask(cScheduledTask)
 * UpdateCorrectiveTask(cScheduledTask)
 * GetScheduledTask(cScheduledTask)

 Task Types 
 * GetAllTaskTypes

 Crews 
 * GetAllCrews
 * AddCrew(cCrew)
 * UpdateCrew( cCrew )
 * GetCrew(cCrew)

 Pools 
 * GetAllPools
 * AddPool(cPool)
 * UpdatePool(cPool)
 * GetPool (cPool)

 Action 
 * GetAllActions
 * AddAction(cAction)
 * UpdateAction(cAction)
 * GetAction(cAction)

 BlockSim 
 * ImportBlockSimXMLFile( String )
 * ExportBlockSimXMLFile( String )

Reliability Data Warehouse (RDW)
 * SaveRawDataSet( RawDataSet )

 XFRACAS 
 * GetAllXFRACASEntities
 * ImportXFRACASXML( Integer, XFRACASImportType, Byte, String, String )
 * ImportXFRACASXMLFile( Integer, XFRACASImportType, String, String )
 * ImportXFRACASXMLString(( Integer, XFRACASImportType, String, String, String )
 * SerializeXMLObjectToByteArray( Byte, Object )
 * ProcessXfracasImports
 * WriteToDiagnosticsLog(string, XFRACASDiagnosticEntryType)
 * WriteToDiagnosticsLog(System.Exception, XFRACASDiagnosticEntryType, String)

Properties
Synthesis Setup Option
 * EnforceRENOCompliance (as boolean)

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.