RawDataSet Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:APIClass|Repository Class|Repository}}  
{{Template:API}}{{Template:APIBreadcrumb}}
{{Template:RawDataSet Class.Cmt}}  
 
 
<onlyinclude>Represents a Synthesis Data Warehouse (SDW) data collection.</onlyinclude>
 
==Constructor==
{| {{APITable}}
|-
| style="width: 150px;"|RawDataSet||Creates an instance of the RawDataSet class.
|}


To view an added data set in Weibull++ or RGA, choose '''Project > Synthesis > RDW to Folio'''.


== Methods ==
== Methods ==
*[[RawDataSet.AddDataRow|AddDataRow( RawData )]] {{APIComment|Adds the specified [[RawData Class|RawData]] object to RawDataSet.}}
{| {{APITable}}
*Clear                                           {{APIComment|Clears all [[RawData Class|RawData]] objects from RawDataSet.}}
|-
| style="width: 150px;"|[[AddDataRow Method|AddDataRow]]||{{:AddDataRow Method}}
|-
|Clear||Clears all data points saved in the RawDataSet object.
|}
 


== Properties ==
== Properties ==
*ExtractedName    (as ''string'') {{APIComment|Gets or sets the name of the data set.}}
{| {{APITable}}
*ExtractedDate    (as ''date'')  {{APIComment|Gets or sets the date when the data set was extracted.}}
|-
*ExtractedBy      (as ''string'') {{APIComment|Gets or sets the name of the person who extracted the data set.}}
| style="width: 150px;"|ExtractedBy||Gets or sets the display name of the database user who brought the data collection into the SDW. '''String'''.
*ExtractedType     (as ''[[AnalyticalDataSetType Enumeration|AnalyticalDataSetType]]'') {{APIComment|Gets or sets whether the data set is for use with Weibull++ or RGA.}}
|-
|ExtractedDate||Gets or sets the date when the data collection was brought into the SDW. '''Date'''.
|-
|ExtractedName||Gets or sets the name of the data collection. '''String'''.  
|-
|ExtractedType||Gets or sets a value from the '''[[RawDataSetType Enumeration|RawDataSetType]]''' enumeration, which specifies whether the data set is for use with Weibull++ or RGA. Default value = 1 (use with Weibull++).
|-
|SourceID||Gets or sets the numeric ID of the data set. '''Integer'''.
|}
 


== Usage Example ==
This usage example demonstrates how to create a simple raw data set and add it to a repository's Reliability Data Warehouse (RDW). Full application examples are available at [[Synthesis_API_Reference#Application_Examples]].


{{APIComment|'Create a new RawDataSet object. See [[RawDataSet Class|RawDataSet]].}}
  Dim RDW As New RawDataSet
 
{{APIComment|'Create a new RawData object, and specify a part name and number. See [[RawData Class|RawData]].}}
  Dim row1 As New RawData
  row1.PartName = "Frame"
  row1.PartNumber = "FRM"
 
{{APIComment|'Add a row to RawDataSet object with the specified part name and number.}}
  RDW.AddDataRow(row1)


{{APIComment|'Connect to a Synthesis repository.}}
  Dim MyRepository As New Repository 
  MyRepository.ConnectToRepository("C:\Users\Name\Documents\ReliaSoft\Files\database.rsr9")
   
{{APIComment|'Add the raw data to the Raw Data Warehouse in the repository.}}
  MyRepository.SaveRawDataSet(RDW)


{{APIComment|'Disconnect from repository.}}
==See Also==
  MyRepository.DisconnectFromRepository()
*[[Repository.DataWarehouse.SaveRawDataSet]]

Latest revision as of 22:21, 29 April 2016

APIWiki.png


Member of: SynthesisAPI


Represents a Synthesis Data Warehouse (SDW) data collection.

Constructor

Name Description
RawDataSet Creates an instance of the RawDataSet class.


Methods

Name Description
AddDataRow Adds a new RawData object, which represents a data point, to the SDW data collection.
Clear Clears all data points saved in the RawDataSet object.


Properties

Name Description
ExtractedBy Gets or sets the display name of the database user who brought the data collection into the SDW. String.
ExtractedDate Gets or sets the date when the data collection was brought into the SDW. Date.
ExtractedName Gets or sets the name of the data collection. String.
ExtractedType Gets or sets a value from the RawDataSetType enumeration, which specifies whether the data set is for use with Weibull++ or RGA. Default value = 1 (use with Weibull++).
SourceID Gets or sets the numeric ID of the data set. Integer.



See Also