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 )

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

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

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

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

 Task Types 
 * GetAllTaskTypes

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

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

 Action 
 * GetAllActions
 * AddAction( cAction )
 * UpdateAction( 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.