CURD Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{InProgress}}{{DISPLAYTITLE:cURD Class}}{{Template:API}}{{Template:APIBreadcrumbClass}}
{{DISPLAYTITLE:cURD Class}}{{Template:API}}{{Template:APIBreadcrumb}}




Line 16: Line 16:
{| {{APITable}}
{| {{APITable}}
|-
|-
| style="width: 180px;"|GetScheduledTaskIDs
| style="width: 180px;"|[[CURD.GetScheduledTaskIDs_Method|GetScheduledTaskIDs]]||{{:CURD.GetScheduledTaskIDs_Method}}
|-
|-
|SetScheduledTaskIDs
|[[CURD.SetScheduledTaskIDs_Method|SetScheduledTaskIDs]]||{{:CURD.SetScheduledTaskIDs_Method}}
|}
|}


Line 25: Line 25:
{| {{APITable}}
{| {{APITable}}
|-
|-
| style="width: 180px;"|CorrectiveTaskID||Gets or sets the numeric ID of the the corrective task assigned to the URD. '''Integer'''.
| style="width: 180px;"|CorrectiveTaskID||Gets or sets the numeric ID of the corrective task assigned to the URD. '''Integer'''.
|-
|-
|FailureModelID||Gets or sets the numeric ID of the the failure model assigned to the URD. '''Integer'''.
|FailureModelID||Gets or sets the numeric ID of the failure model assigned to the URD. '''Integer'''.
|-
|-
|ID||Gets the numeric ID of the URD. '''Integer'''.
|ID||Gets the numeric ID of the URD. '''Integer'''.
Line 33: Line 33:
|{{Template:API_TxtIdentifiers}}
|{{Template:API_TxtIdentifiers}}
|-
|-
|Name||Gets or sets the URD name. '''String'''.
|Name||Gets or sets the name of the URD. '''String'''.
|-
|-
|ProjectID||Gets the numerical ID of the project the URD belongs to. '''Integer'''.
|ProjectID||Gets the numeric ID of the project the URD belongs to. '''Integer'''.
|-
|-
|ScheduledTaskIDs||Gets or sets a list of the numeric IDs of the scheduled tasks assigned to the URD. '''Integer'''.
|ScheduledTaskIDs()||Gets or sets an array containing the numeric IDs of the scheduled tasks assigned to the URD. (.NET only) '''Long'''.
|}
|}




<!--
 
== Usage Example ==
 
In this usage example, a new URD is created and a failure model is assigned to it. The URD is then added to a project.
 
{{APIComment|'Connect to a repository and open the first project. See [[Repository Class|Repository]].}}
==See Also==
  Dim repo As New Repository
*[[Repository.URD.AddURD|Repository.URD.AddURD Method]]
  repo.ConnectToRepository("C:\Users\Name\Documents\ReliaSoft\Files\database.rsr9")
*[[Repository.URD.GetAllURDs|Repository.URD.GetAllURDs Method]]
  repo.SetCurrentProject(1)
*[[Repository.URD.GetURD|Repository.URD.GetURD Method]]
 
*[[Repository.URD.UpdateURD|Repository.URD.UpdateURD Method]]
{{APIComment|'Create a new URD and give it a name.}}
  Dim urd As New cURD
  urd.Name = "Example URD"
 
{{APIComment|'Assign the failure model with ID &#61; 10 to the new URD.}}
  urd.FailureModelID = 10
 
{{APIComment|'Add the URD to the current project.}}
  repo.AddURD(urd)
 
{{APIComment|'Disconnect from the repository.}}
  repo.DisconnectFromRepository
-->

Latest revision as of 15:17, 3 August 2017

APIWiki.png


Member of: SynthesisAPI


Represents a universal reliability definition (URD) resource.

Constructors

Name Description
cURD Creates an instance of the cURD class.
cURD() A parameterized constructor for the cURD class. (.NET only)


Methods

Name Description
GetScheduledTaskIDs Returns an array containing the numeric IDs of of the scheduled tasks assigned to the URD. Long.
SetScheduledTaskIDs Assigns scheduled tasks to the URD.


Properties

Name Description
CorrectiveTaskID Gets or sets the numeric ID of the corrective task assigned to the URD. Integer.
FailureModelID Gets or sets the numeric ID of the failure model assigned to the URD. Integer.
ID Gets the numeric ID of the URD. Integer.
ItemApplication Gets or sets the item's application. (Synthesis identifier) String
ItemCategoryID Gets or sets the category ID. (Synthesis identifier) Integer
ItemComments Gets or sets the comments. (Synthesis identifier) String
ItemDescription Gets or sets the description. (Synthesis identifier) String
ItemKeywords Gets or sets the keywords. (Synthesis identifier) String
ItemPartNumber Gets or sets the part number. (Synthesis identifier) String
ItemSupplier Gets or sets the supplier name. (Synthesis identifier) String
ItemVersion Gets or sets the version number. (Synthesis identifier) String
Name Gets or sets the name of the URD. String.
ProjectID Gets the numeric ID of the project the URD belongs to. Integer.
ScheduledTaskIDs() Gets or sets an array containing the numeric IDs of the scheduled tasks assigned to the URD. (.NET only) Long.



See Also