User:Kate Racaza/APIdraftspage: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(62 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
=Summary=
==Leader Pages==
<div style="border:1px solid #AAA; background:#f9f9f9; border-radius:10px; width:auto; margin:0 0 1em 1em; padding:1em;">
*[[Talk:API_Changelog/Notes]]
'''New Classes'''
**[[Talk:New_Classes_and_Enumerations/Notes]]
**[[Talk:New_Members_and_Constants/Notes]]
**[[Talk:Deprecated_and_Removed_Members/Notes]]
*[[Talk:API_Reference_Documentation/Notes]]
*[[Talk:Synthesis_API_Reference/Notes]]
*[[Talk:API_Tutorials/Notes]]


'''New Enums'''
*[[ResourceFilterEnum_Enumeration]] - part of SYN-I-4788
*[[RestockOnEnum_Enumeration]] - part of SYN-I-4849


'''New Methods'''
==Drafts for 11==
*[[Repository.Xfmea.GetItemInSystemHierarchy_Method]] - SYN-I-4795
xxx


'''New Properties'''
*[[CXfmeaControl_Class]] - SYN-I-4974


'''Edits to Existing Methods'''
*SYN-I-4788 (not code breaking)
:*[[Repository.Model.GetAllModels]]
:*[[Repository.Model.GetAllModelsInfo]]
:*[[Repository.Action.GetAllActions]]
:*[[Repository.Action.GetAllActionsDictionary]]
:*[[Repository.Crew.GetAllCrews]]
:*[[Repository.Pool.GetAllPools]]
:*[[Repository.Task.GetAllScheduledTasks]]
:*[[Repository.Task.GetAllCorrectiveTasks]]
:*[[Repository.URD.GetAllURDs]]
:*[[Repository.Variable.GetAllVariables]]
:*[[Repository.Control.GetAllXfmeaControls]]
:*[[Repository.Control.GetAllXfmeaControlsDictionary]]
*SYN-I-4864 (not code breaking)
:*[[Common_Class]]


'''Edits to Existing Properties'''
*SYN-I-4849 (not code breaking)
:*[[CPool Class]] Restock On property


'''Deprecations'''
==Pending==
*[[XfmeaItem_Class]] - removed Nr property because it is a duplicate of the PartNr property.
*[[ALTAEvents.Question]] - scrapped from V10, wasn't working. If fixed, include in V11.
 
*[[Upload XML File to XFRACAS]] - removed from V11.1.1. Focus is now on  web service. A copy of the old content exists in the Notes talk page.
</div>
 
=SYN-I-4788=
Use this template:
 
Gets a <span style="color:#FF0000">list of models </span>associated with a project. Returns a '''[[CModel Class|cModel]]''' object array that contains <span style="color:#FF0000">the models </span>in that project.</onlyinclude>
 
=== Syntax ===
'''.Model.GetAllModels'''<span style="color:#FF0000">(''Filter'')</span>
 
====Parameters====
<span style="color:#FF0000">''Filter''</span>
:Optional. A filter that returns a particular type of <span style="color:#FF0000">model</span> resource (e.g., global only, local and global only, etc.). Can be any [[ResourceFilterEnum_Enumeration|ResourceFilterEnum]] constant. Default value = 0, which returns local <span style="color:#FF0000">models</span> only.
 
===Example===
Edit the comment:
 
'Get a list of all <span style="color: #FF0000">local models </span> in project #1.
 
 
 
=SYN-I-4864=
Remove the "VB.NET Only" parenthetical in the definition.
 
Then add the following example. Add note that in VBA, you'll need to instantiate the class.
 
  '''VBA'''
{{APIComment|'Set the API's language to Portuguese}}
  {{APIPrefix|Dim}} Lng {{APIPrefix|As New}} cLanguage
  Lng.SetLanguage (Language_Portuguese)
{{APIComment|'The following code triggers the Synthesis repository to return an error message.}}
  {{APIPrefix|Dim}} MyRepository {{APIPrefix|As New}} Repository
  {{APIPrefix|Dim}} m {{APIPrefix|As New}} cModel
  MyRepository.ConnectToAccessRepository({{APIString|"C:\RSRepository1.rsr10"}})
  m = MyRepository.Model.GetModel(47)
 
 
=SYN-I-4849=
Update definition of RestockOn property:
 
Gets or sets a value from the [[RestockOnEnum Enumeration|RestockOnEnum]] enumeration, which specifies the pool's restock property (e.g. restock as needed, restock as scheduled, etc.).
 
 
=SYN-I-4974=
Add the following properties to cXfmeaControl class:
{| {{APITable}}
|-
|UT1||Gets or sets the text in the first user-defined text field. '''String'''.
|-
|UT2||Gets or sets the text in the second user-defined text field. '''String'''.
|-
|UT3||Gets or sets the text in the third user-defined text field. '''String'''.
|-
|UT4||Gets or sets the text in the fourth user-defined text field. '''String'''.
|-
|UT5||Gets or sets the text in the fifth user-defined text field. '''String'''.

Latest revision as of 22:13, 12 April 2017

Leader Pages


Drafts for 11

xxx



Pending