Repository Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
Line 44: Line 44:


''' Scheduled Tasks '''  
''' Scheduled Tasks '''  
*[[Repository.GetAllScheduledTasks|GetAllScheduledTasks]] {{APIComment|{{Template:Repository.GetAllScheduledTasks.Cmt}}}}
*[[Repository.GetAllCorrectiveTasks|GetAllCorrectiveTasks]] {{APIComment|{{Template:Repository.GetAllScheduledTasks.Cmt}}}}
*[[Repository.AddScheduledTask|AddScheduledTask( cScheduledTask )]] {{APIComment|{{Template:Repository.AddScheduledTask.Cmt}}}}
*[[Repository.AddScheduledTask|AddScheduledTask( cScheduledTask )]] {{APIComment|{{Template:Repository.AddScheduledTask.Cmt}}}}
*[[Repository.UpdateScheduledTask|UpdateScheduledTask( cScheduledTask )]] {{APIComment|{{Template:Repository.UpdateScheduledTask.Cmt}}}}
*[[Repository.UpdateScheduledTask|UpdateScheduledTask( cScheduledTask )]] {{APIComment|{{Template:Repository.UpdateScheduledTask.Cmt}}}}

Revision as of 20:46, 12 March 2014


Template:Repository Class.Cmt

Constructors

  • Repository Creates a new Repository object for connecting to Synthesis repositories.

Methods

Connect to / Disconnect from Repository

Project

Units of Measurement

  • GetAllUnits Returns an array containing all units of measurement from the current repository.

Models

  • GetAllModelsInfo Returns an array containing all model names and their IDs from the current project.
  • GetModel( Integer ) Returns the model from the current project with the specified ID. Returns nothing if the model does not exist or is not in the current project.
  • GetAllModels Returns an array containing all models from the current project.
  • AddModel( cModel ) Saves a new model in the repository.
  • UpdateModel( cModel ) Updates the model in the repository.

URDs

Variables

Corrective Tasks

Scheduled Tasks

Task Types

  • GetAllTaskTypes Retuns an array containing all task types in the repository.

Crews

Pools

Action

BlockSim

Reliability Data Warehouse (RDW)

XFRACAS

Properties

Synthesis Setup Option

  • EnforceRENOCompliance (as boolean) Disallows spaces and special characters in names of models and analysis workbooks. This will ensure that all models and analysis workbooks can be used in RENO equations.