Deprecated and Removed Members: Difference between revisions
Jump to navigation
Jump to search
Kate Racaza (talk | contribs) No edit summary |
Kate Racaza (talk | contribs) mNo edit summary |
||
Line 26: | Line 26: | ||
==Revisions since 10.0.3== | ==Revisions since 10.0.3== | ||
*'''<span style="color:#FCF8F8; background-color:#1D572F"> Major </span>''' The [[Repository Class|Repository class]] has been restructured. All of its members are now organized into fields named after the object type they apply to. For example, the <code>Repository.GetAllModels()</code> method, which returns a cModel object, has been renamed to <code>Repository.Model.GetAllModels()</code>; similarly, the <code>Repository.ImportBlockSimXMLFile</code> method has been renamed to <code>Repository.BlockSim.ImportBlockSimXMLFile</code>, etc. The previous versions of the methods still exist so your code is not broken, but they are deprecated and may be removed in future versions of the API. | *'''<span style="color:#FCF8F8; background-color:#1D572F"> Major </span>''' The [[Repository Class|Repository class]] has been restructured. All of its members are now organized into fields named after the object type they apply to. For example, the <code>Repository.GetAllModels()</code> method, which returns a cModel object, has been renamed to <code>Repository.Model.GetAllModels()</code>; similarly, the <code>Repository.ImportBlockSimXMLFile</code> method has been renamed to <code>Repository.BlockSim.ImportBlockSimXMLFile</code>, etc. The previous versions of the methods still exist so your code is not broken, but they are deprecated and may be removed in future versions of the API. | ||
* | * Deprecated the [[Repository.Model.GetAllModelsInfo|Repository.Model.GetAllModelsInfo()]] method. | ||
* | * Removed the following obsolete properties in [[CAction Class|cAction class]]: | ||
:*AppDate | :*AppDate | ||
:*AppUserID | :*AppUserID | ||
Line 39: | Line 39: | ||
:*StartDate | :*StartDate | ||
:*StatusFlag | :*StatusFlag | ||
* | *Removed the following obsolete properties in [[CScheduledTask_Class|cScheduledTask class]]: | ||
:*TaskFrequencyIDOrig | :*TaskFrequencyIDOrig | ||
:*TaskFrequencyUnitIDOrig | :*TaskFrequencyUnitIDOrig | ||
:*TaskFrequencyValueOrig | :*TaskFrequencyValueOrig | ||
:*TaskFreqValueVariableIDOrig | :*TaskFreqValueVariableIDOrig |
Revision as of 16:28, 6 May 2016
Below is a summary of what has been changed, removed and deprecated in the Synthesis API since its previous version. The status of an object member may be any of the following:
- Changed - The syntax of the member has changed.
- Deprecated - The member is obsolete and may be removed in future versions of the API. Do not use it in new applications.
- Removed - The member has been removed from the object model.
Revisions since 10.1.1
- Removed the obsolete
Nr
property in XfmeaItem Class. Use thePartNr
property going forward. - Removed the obsolete
OnCondPerformTaskEvenIfItBringsSysDown
property in cScheduledTask Class. - Non-breaking changes were made to the following methods. An optional
Filter
parameter has been added to give the ability to get global or reference resources. The filter's default value is 0, which returns local resources.
Revisions since 10.0.3
- Major The Repository class has been restructured. All of its members are now organized into fields named after the object type they apply to. For example, the
Repository.GetAllModels()
method, which returns a cModel object, has been renamed toRepository.Model.GetAllModels()
; similarly, theRepository.ImportBlockSimXMLFile
method has been renamed toRepository.BlockSim.ImportBlockSimXMLFile
, etc. The previous versions of the methods still exist so your code is not broken, but they are deprecated and may be removed in future versions of the API. - Deprecated the Repository.Model.GetAllModelsInfo() method.
- Removed the following obsolete properties in cAction class:
- AppDate
- AppUserID
- CompDate
- DueDate
- Duration
- EstCost
- PersonResp
- RespUserID
- ShortDsc
- StartDate
- StatusFlag
- Removed the following obsolete properties in cScheduledTask class:
- TaskFrequencyIDOrig
- TaskFrequencyUnitIDOrig
- TaskFrequencyValueOrig
- TaskFreqValueVariableIDOrig