Repository Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
*'''[[Repository.SetCurrentProject]]''' {{APIComment|Opens (sets as current) a project with the specified ID. If 0 is passed, a fist available project will be set as current.}}
*'''[[Repository.SetCurrentProject]]''' {{APIComment|Opens (sets as current) a project with the specified ID. If 0 is passed, a fist available project will be set as current.}}


===== Unit =====
*'''[[Repository.GetAllUnits]]''' {{APIComment|Returns the default unit ID.}}
*'''[[Repository.GetAllUnits]]''' {{APIComment|Returns the default unit ID.}}


Line 36: Line 37:
*'''[[Repository.UpdateVariable]]''' {{APIComment|Updates the Variable in the repository.}}
*'''[[Repository.UpdateVariable]]''' {{APIComment|Updates the Variable in the repository.}}


===== Tasks =====
*'''[[GetAllCorrectiveTasks]]''' {{APIComment|Returns an array containing all corrective tasks from the current project.}}
*'''[[GetAllCorrectiveTasks]]''' {{APIComment|Returns an array containing all corrective tasks from the current project.}}
*'''[[AddCorrectiveTask]]''' {{APIComment|Saves the corrective task in the repository. }}
*'''[[AddCorrectiveTask]]''' {{APIComment|Saves the corrective task in the repository. }}
*'''[[UpdateCorrectiveTask]]''' {{APIComment|Updates the Corrective task in the repository.}}
*'''[[UpdateCorrectiveTask]]''' {{APIComment|Updates the Corrective task in the repository.}}
===== Crews =====
*'''[[GetAllCrews]]''' {{APIComment|Returns an array containing all crews from the current project.}}
*'''[[GetAllCrews]]''' {{APIComment|Returns an array containing all crews from the current project.}}
*'''[[AddCrew]]''' {{APIComment|Saves the crew in the repository. }}
*'''[[AddCrew]]''' {{APIComment|Saves the crew in the repository. }}
*'''[[UpdateCrew]]''' {{APIComment|Updates the Crew in the repository. }}
*'''[[UpdateCrew]]''' {{APIComment|Updates the Crew in the repository. }}
===== Pools =====
*'''[[GetAllPools]]''' {{APIComment|Returns an array containing all spare parts pools from the current project.}}
*'''[[GetAllPools]]''' {{APIComment|Returns an array containing all spare parts pools from the current project.}}
*'''[[AddPool]]''' {{APIComment|Saves the spare parts pool in the repository.}}
*'''[[AddPool]]''' {{APIComment|Saves the spare parts pool in the repository.}}
*'''[[UpdatePool]]''' {{APIComment|Updates the spare parts Pool in the repository.}}
*'''[[UpdatePool]]''' {{APIComment|Updates the spare parts Pool in the repository.}}
===== Action =====
*'''[[AddAction]]''' {{APIComment|Saves the action in the repository.}}
*'''[[AddAction]]''' {{APIComment|Saves the action in the repository.}}
*'''[[UpdateAction]]''' {{APIComment|Updates the Action in the repository.}}
*'''[[UpdateAction]]''' {{APIComment|Updates the Action in the repository.}}


===== XFRACAS =====
*'''[[ImportBlockSimXMLFile]]''' {{APIComment|Imports from XML file to the current project.}}
*'''[[ImportBlockSimXMLFile]]''' {{APIComment|Imports from XML file to the current project.}}
*'''[[SaveRawDataSet]]''' {{APIComment|Saves the raw data set in the repository.}}
*'''[[SaveRawDataSet]]''' {{APIComment|Saves the raw data set in the repository.}}

Revision as of 23:04, 18 September 2013


Provides an application the ability to access and edit Synthesis Repositories.

Constructors

Methods

Connection
Project
Unit
Models
URDs
Variables
Tasks
Crews
  • GetAllCrews Returns an array containing all crews from the current project.
  • AddCrew Saves the crew in the repository.
  • UpdateCrew Updates the Crew in the repository.
Pools
  • GetAllPools Returns an array containing all spare parts pools from the current project.
  • AddPool Saves the spare parts pool in the repository.
  • UpdatePool Updates the spare parts Pool in the repository.
Action
XFRACAS

Properties