RawData Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 15: Line 15:
{| {{APITable}}
{| {{APITable}}
|-
|-
| style="width: 170px;"|StateFS||''String''. Sets or gets whether the data point is a failure ("F") or suspension ("S"), equivalent to the "State F or S" column in a Weibull++ folio with suspensions.
| style="width: 170px;"|StateFS||Sets or gets whether the data point is a failure ("F") or suspension ("S"), equivalent to the "State F or S" column in a Weibull++ folio with suspensions. '''String'''. 
|-
|-
|StateTime||''Double''. Sets or gets the failure/suspension time, equivalent to the "Time to F or S" or "Time Failed" columns in a Weibull++ folio.  
|StateTime||Sets or gets the failure/suspension time, equivalent to the "Time to F or S" or "Time Failed" columns in a Weibull++ folio. '''Double'''.  
|-
|-
|StateTimeRestore||''Double''. Sets or gets the StateTimeRestore assigned to the resource.
|StateTimeRestore||Sets or gets the StateTimeRestore assigned to the resource. '''Double'''.
|-
|-
|LastInspectedTime||''Double''. Sets or gets the time of last inspection, equivalent to the "Last Inspected" column in a Weibull++ folio with interval censored data.  
|LastInspectedTime||Sets or gets the time of last inspection, equivalent to the "Last Inspected" column in a Weibull++ folio with interval censored data. '''Double'''.
|-
|-
|NumberInState||''Double''. Sets or gets the number of data points in a group, equivalent to the "Number in State" column in a Weibull++ folio with grouped data.  
|NumberInState||Sets or gets the number of data points in a group, equivalent to the "Number in State" column in a Weibull++ folio with grouped data. '''Double'''.
|-
|-
|FailureMode||''String''. Sets or gets the failure mode, equivalent to the Failure Mode field in an XFRACAS incident.  
|FailureMode||Sets or gets the failure mode, equivalent to the Failure Mode field in an XFRACAS incident. '''String'''.
|}
|}


Line 32: Line 32:
{| {{APITable}}
{| {{APITable}}
|-
|-
| style="width: 170px;"|IncidentAction||''String''. Sets or gets the IncidentAction the resource belongs to and allows the user to see what action occurred within the incident to a part or resource.
| style="width: 170px;"|IncidentAction||Sets or gets the IncidentAction the resource belongs to and allows the user to see what action occurred within the incident to a part or resource. '''String'''.
|-
|-
|IncidentEntityDisplayID||''String''. Sets or gets the IncidentEntityDisplayID the resource belongs to by showing the incident record prefix along with the incident display ID.  
|IncidentEntityDisplayID||Sets or gets the IncidentEntityDisplayID the resource belongs to by showing the incident record prefix along with the incident display ID. '''String'''.
|-
|-
|IncidentID||''Integer''. Sets or gets the incident ID of this RawData; equivalent to the Incident ID field in an XFRACAS incident.  
|IncidentID||Sets or gets the incident ID of this RawData; equivalent to the Incident ID field in an XFRACAS incident. '''Integer'''.
|-
|-
|IncidentOccurrenceDate||''Date''.  Sets or gets the incident occurrence date of this RawData; equivalent to the Occurrence Date field in an XFRACAS incident.
|IncidentOccurrenceDate||Sets or gets the incident occurrence date of this RawData; equivalent to the Occurrence Date field in an XFRACAS incident. '''Date'''.
|-
|-
|IncidentRepairDate||''Date''.  Sets or gets the incident repair date of this RawData; equivalent to the Repair Date field in an XFRACAS incident.  
|IncidentRepairDate||Sets or gets the incident repair date of this RawData; equivalent to the Repair Date field in an XFRACAS incident. '''Date'''.
|-
|-
|IncidentResolution||''String''. Sets or gets the incident resolution of this RawData; equivalent to the Incident Resolution field in an XFRACAS incident.  
|IncidentResolution||Sets or gets the incident resolution of this RawData; equivalent to the Incident Resolution field in an XFRACAS incident. '''String'''.
|}
|}


Line 49: Line 49:
{| {{APITable}}
{| {{APITable}}
|-
|-
| style="width: 170px;"|ParentPartID||''Integer''. Sets or gets the part's parent ID of this RawData; equivalent to the Part Part ID field in an XFRACAS system.  
| style="width: 170px;"|ParentPartID||Sets or gets the part's parent ID of this RawData; equivalent to the Part Part ID field in an XFRACAS system. '''Integer'''.
|-
|-
|ParentPartName||''String''. Sets or gets the part's parent's name of this RawData; equivalent to the ParentParentName field in an XFRACAS incident.  
|ParentPartName||Sets or gets the part's parent's name of this RawData; equivalent to the ParentParentName field in an XFRACAS incident. '''String'''.
|-
|-
|ParentPartNumber||''String''. Sets or gets the part's parent part number of this RawData; equivalent to the Parent Part Number field in an XFRACAS system.  
|ParentPartNumber||Sets or gets the part's parent part number of this RawData; equivalent to the Parent Part Number field in an XFRACAS system. '''String'''.
|-
|-
|ParentPartVersion||''String''. Sets or gets the part's parent part version of this RawData; equivalent to the Parent Part Version field in an XFRACAS system.  
|ParentPartVersion||Sets or gets the part's parent part version of this RawData; equivalent to the Parent Part Version field in an XFRACAS system. '''String'''.
|}
|}


Line 62: Line 62:
{| {{APITable}}
{| {{APITable}}
|-
|-
| style="width: 170px;"|PartHID||''Integer''. Sets or gets the part hierarchy identification number of this RawData; equivalent to the HID field in XFRACAS system information.  
| style="width: 170px;"|PartHID||Sets or gets the part hierarchy identification number of this RawData; equivalent to the HID field in XFRACAS system information. '''Integer'''.
|-
|-
|PartID||''Integer''. Sets or gets the part ID the of this RawData; equivalent to the Part ID field in an XFRACAS incident.  
|PartID||Sets or gets the part ID the of this RawData; equivalent to the Part ID field in an XFRACAS incident. '''Integer'''.
|-
|-
|PartName||''String''. Sets or gets the part name of this RawData; equivalent to the Part Name field in an XFRACAS incident.  
|PartName||Sets or gets the part name of this RawData; equivalent to the Part Name field in an XFRACAS incident. '''String'''.
|-
|-
|PartNumber||''String''. Sets or gets the part number of this RawData; equivalent to the Part Number field in an XFRACAS incident.  
|PartNumber||Sets or gets the part number of this RawData; equivalent to the Part Number field in an XFRACAS incident. '''String'''.
|-
|-
|PartOrder||''Integer''. Sets or gets the part order of this RawData; equivalent to the Part Order field in an XFRACAS incident.  
|PartOrder||Sets or gets the part order of this RawData; equivalent to the Part Order field in an XFRACAS incident. '''Integer'''.
|-
|-
|PartSerialHID||''Integer''. Sets or gets the part hierarchy identification number of this RawData; equivalent to the HID field in XFRACAS system information.  
|PartSerialHID||Sets or gets the part hierarchy identification number of this RawData; equivalent to the HID field in XFRACAS system information. '''Integer'''.
|-
|-
|PartSerialMfgCd||''String''. Sets or gets the serialized part's manufacturing code of this RawData; equivalent to the Manufacturing Code field in an XFRACAS serialized system's Edit Serialized Part dialog box, that can be opened by clicking on the Edit Serialized (default text) button in the Parts section of System.  
|PartSerialMfgCd||Sets or gets the serialized part's manufacturing code of this RawData; equivalent to the Manufacturing Code field in an XFRACAS serialized system's Edit Serialized Part dialog box, that can be opened by clicking on the Edit Serialized (default text) button in the Parts section of System. '''String'''.
|-
|-
|PartSerialNumber||''String''. Sets or gets the part serial number of this RawData; equivalent to the Part Serial Number field in an XFRACAS incident.  
|PartSerialNumber||Sets or gets the part serial number of this RawData; equivalent to the Part Serial Number field in an XFRACAS incident. '''String'''.
|-
|-
|PartVersion||''String''. Sets or gets the part version of this RawData; equivalent to the Version field in an XFRACAS incident.  
|PartVersion||Sets or gets the part version of this RawData; equivalent to the Version field in an XFRACAS incident. '''String'''.
|}
|}


Line 85: Line 85:
{| {{APITable}}
{| {{APITable}}
|-
|-
| style="width: 170px;"|TopLevelCommissionDate||''Date''. Sets or gets the selected part/resource's top level commission date.  
| style="width: 170px;"|TopLevelCommissionDate||Sets or gets the selected part/resource's top level commission date. '''Date'''.
|-
|-
|TopLevelPartID||''Integer''. Sets or gets the part's top level part ID the of this RawData; equivalent to the Top Level Part ID field in an XFRACAS system.  
|TopLevelPartID||Sets or gets the part's top level part ID the of this RawData; equivalent to the Top Level Part ID field in an XFRACAS system. '''Integer'''.
|-
|-
|TopLevelPartName||''String''. Sets or returns the top level parent name of this RawData; equivalent to the Top Level Part Name field in an XFRACAS incident.  
|TopLevelPartName||Sets or returns the top level parent name of this RawData; equivalent to the Top Level Part Name field in an XFRACAS incident. '''String'''.
|-
|-
|TopLevelPartNumber||''String''. Sets or returns the part's top level parent number of this RawData; equivalent to the Top Level Part Number field in an XFRACAS incident.  
|TopLevelPartNumber||Sets or returns the part's top level parent number of this RawData; equivalent to the Top Level Part Number field in an XFRACAS incident. '''String'''.
|-
|-
|TopLevelPartVersion||''String''. Sets or returns the part's top level parent version of this RawData; equivalent to the Top Level Part Version field in an XFRACAS incident.  
|TopLevelPartVersion||Sets or returns the part's top level parent version of this RawData; equivalent to the Top Level Part Version field in an XFRACAS incident. '''String'''.
|-
|-
|TopLevelSerialHID||''Integer''. The part hierarchy serial number (HID) of the top level parent. This is used by RGA to distinguish the system's HID in that the failure occurred and in Weibull to distinguish the potentially different Top Level system HIDs in that the failure state (State FS) occurred. This property is equivalent to the part's parent's serial HID in an XFRACAS system.  
|TopLevelSerialHID||The part hierarchy serial number (HID) of the top level parent. This is used by RGA to distinguish the system's HID in that the failure occurred and in Weibull to distinguish the potentially different Top Level system HIDs in that the failure state (State FS) occurred. This property is equivalent to the part's parent's serial HID in an XFRACAS system. '''Integer'''.
|-
|-
|TopLevelSerialNumber||''String''. The part serial number of the top level parent. This is used by RGA to distinguish the system in that the failure occurred and in Weibull to distinguish the potentially different Top Level systems in that the failure state (State FS) occurred. This property is equivalent to the part's parent's serial number in an XFRACAS system.  
|TopLevelSerialNumber||The part serial number of the top level parent. This is used by RGA to distinguish the system in that the failure occurred and in Weibull to distinguish the potentially different Top Level systems in that the failure state (State FS) occurred. This property is equivalent to the part's parent's serial number in an XFRACAS system. '''String'''.
|}
|}


Line 104: Line 104:
{| {{APITable}}
{| {{APITable}}
|-
|-
| style="width: 170px;"|DateUDF1||''Date''. Sets or gets a user-defined date field of this RawData row; equivalent to one of the configurable settings fields in XFRACAS.  
| style="width: 170px;"|DateUDF1||Sets or gets a user-defined date field of this RawData row; equivalent to one of the configurable settings fields in XFRACAS. '''Date'''.
|-
|-
|DateUDF2||''Date''. Sets or gets a user-defined date field of this RawData row; equivalent to one of the configurable settings fields in XFRACAS.  
|DateUDF2||Sets or gets a user-defined date field of this RawData row; equivalent to one of the configurable settings fields in XFRACAS. '''Date'''.
|-
|-
|DateUDF3||''Date''. Sets or gets a user-defined date field of this RawData row; equivalent to one of the configurable settings fields in XFRACAS.  
|DateUDF3||Sets or gets a user-defined date field of this RawData row; equivalent to one of the configurable settings fields in XFRACAS. '''Date'''.
|-
|-
|NumberUDF1||''Double''. Sets or gets the number user defined field (UDF) of this RawData; equivalent to the configurable settings fields in XFRACAS.  
|NumberUDF1||Sets or gets the number user defined field (UDF) of this RawData; equivalent to the configurable settings fields in XFRACAS. '''Double'''.
|-
|-
|NumberUDF2||''Double''. Sets or gets the number user defined field (UDF) of this RawData; equivalent to the configurable settings fields in XFRACAS.
|NumberUDF2||Sets or gets the number user defined field (UDF) of this RawData; equivalent to the configurable settings fields in XFRACAS. '''Double'''.
|-
|-
|NumberUDF3||''Double''. Sets or gets the number user defined field (UDF) of this RawData; equivalent to the configurable settings fields in XFRACAS.
|NumberUDF3||Sets or gets the number user defined field (UDF) of this RawData; equivalent to the configurable settings fields in XFRACAS. '''Double'''.
|-
|-
|StringUDF1||''String''. Sets or gets the string user defined field (UDF) of this RawData; equivalent to the configurable settings fields in XFRACAS.  
|StringUDF1||Sets or gets the string user defined field (UDF) of this RawData; equivalent to the configurable settings fields in XFRACAS. '''String'''.
|-
|-
|StringUDF2||''String''. Sets or gets the string user defined field (UDF) of this RawData; equivalent to the configurable settings fields in XFRACAS.  
|StringUDF2||Sets or gets the string user defined field (UDF) of this RawData; equivalent to the configurable settings fields in XFRACAS. '''String'''.
|-
|-
|StringUDF3||''String''. Sets or gets the string user defined field (UDF) of this RawData; equivalent to the configurable settings fields in XFRACAS.  
|StringUDF3||Sets or gets the string user defined field (UDF) of this RawData; equivalent to the configurable settings fields in XFRACAS. '''String'''.
|}
|}


Line 127: Line 127:
{| {{APITable}}
{| {{APITable}}
|-
|-
| style="width: 170px;"|AddressLocation||''String''. Sets or gets the Address Location of this RawData; equivalent to the Address Location field in an XFRACAS Contact.
| style="width: 170px;"|AddressLocation||Sets or gets the Address Location of this RawData; equivalent to the Address Location field in an XFRACAS Contact. '''String'''.
|-
|-
|Category||''String''. Sets or gets the category of this RawData; equivalent to the Category field in an XFRACAS incident.  
|Category||Sets or gets the category of this RawData; equivalent to the Category field in an XFRACAS incident. '''String'''.
|-
|-
|Chargeable||''Integer''. Sets or gets the chargeable code value (0,1) for this RawData; equivalent to the Category Chargeable and Category Non-Chargeable Lookup Lists in the XFRACAS Admin configuration List. This is to be used to calculate the failure state (StateFS). XFRACAS categories can also be viewed within an XFRACAS Incident.  
|Chargeable||Sets or gets the chargeable code value (0,1) for this RawData; equivalent to the Category Chargeable and Category Non-Chargeable Lookup Lists in the XFRACAS Admin configuration List. This is to be used to calculate the failure state (StateFS). XFRACAS categories can also be viewed within an XFRACAS Incident. '''Integer'''.
|-
|-
|CompanyOwner||''String''. Sets or gets the company owner of this RawData; equivalent to the Company filed in an XFRACAS Contact.
|CompanyOwner||Sets or gets the company owner of this RawData; equivalent to the Company filed in an XFRACAS Contact. '''String'''.
|-
|-
|IsLRU||''Integer''. Sets or gets the line replaceable unit (LRU) of this RawData.  
|IsLRU||Sets or gets the line replaceable unit (LRU) of this RawData. '''Integer'''.
|-
|-
|ReportType||''String''. Sets or gets the report type the of this RawData; equivalent to the Report Type field in an XFRACAS incident.  
|ReportType||Sets or gets the report type the of this RawData; equivalent to the Report Type field in an XFRACAS incident. '''String'''.
|-
|-
|RootCause||''String''. Sets or gets the RootCause assigned to the resource.  
|RootCause||Sets or gets the RootCause assigned to the resource. '''String'''.
|-
|-
|TimeMetric||''Integer''. Sets or gets the TimeMetric code value of RawData; equivalent to the Time Metric fields in an XFRACAS incident.  
|TimeMetric||Sets or gets the TimeMetric code value of RawData; equivalent to the Time Metric fields in an XFRACAS incident. '''Integer'''.
|}
|}



Revision as of 16:55, 7 August 2015

APIWiki.png


Member of: SynthesisAPI


Represents a single data point in a RawDataSet object.

Constructor

Name Description
RawData Creates an instance of the RawData class.


Properties

Failure Data

Name Description
StateFS Sets or gets whether the data point is a failure ("F") or suspension ("S"), equivalent to the "State F or S" column in a Weibull++ folio with suspensions. String.
StateTime Sets or gets the failure/suspension time, equivalent to the "Time to F or S" or "Time Failed" columns in a Weibull++ folio. Double.
StateTimeRestore Sets or gets the StateTimeRestore assigned to the resource. Double.
LastInspectedTime Sets or gets the time of last inspection, equivalent to the "Last Inspected" column in a Weibull++ folio with interval censored data. Double.
NumberInState Sets or gets the number of data points in a group, equivalent to the "Number in State" column in a Weibull++ folio with grouped data. Double.
FailureMode Sets or gets the failure mode, equivalent to the Failure Mode field in an XFRACAS incident. String.


Incident

Name Description
IncidentAction Sets or gets the IncidentAction the resource belongs to and allows the user to see what action occurred within the incident to a part or resource. String.
IncidentEntityDisplayID Sets or gets the IncidentEntityDisplayID the resource belongs to by showing the incident record prefix along with the incident display ID. String.
IncidentID Sets or gets the incident ID of this RawData; equivalent to the Incident ID field in an XFRACAS incident. Integer.
IncidentOccurrenceDate Sets or gets the incident occurrence date of this RawData; equivalent to the Occurrence Date field in an XFRACAS incident. Date.
IncidentRepairDate Sets or gets the incident repair date of this RawData; equivalent to the Repair Date field in an XFRACAS incident. Date.
IncidentResolution Sets or gets the incident resolution of this RawData; equivalent to the Incident Resolution field in an XFRACAS incident. String.


Parent Part

Name Description
ParentPartID Sets or gets the part's parent ID of this RawData; equivalent to the Part Part ID field in an XFRACAS system. Integer.
ParentPartName Sets or gets the part's parent's name of this RawData; equivalent to the ParentParentName field in an XFRACAS incident. String.
ParentPartNumber Sets or gets the part's parent part number of this RawData; equivalent to the Parent Part Number field in an XFRACAS system. String.
ParentPartVersion Sets or gets the part's parent part version of this RawData; equivalent to the Parent Part Version field in an XFRACAS system. String.


Part

Name Description
PartHID Sets or gets the part hierarchy identification number of this RawData; equivalent to the HID field in XFRACAS system information. Integer.
PartID Sets or gets the part ID the of this RawData; equivalent to the Part ID field in an XFRACAS incident. Integer.
PartName Sets or gets the part name of this RawData; equivalent to the Part Name field in an XFRACAS incident. String.
PartNumber Sets or gets the part number of this RawData; equivalent to the Part Number field in an XFRACAS incident. String.
PartOrder Sets or gets the part order of this RawData; equivalent to the Part Order field in an XFRACAS incident. Integer.
PartSerialHID Sets or gets the part hierarchy identification number of this RawData; equivalent to the HID field in XFRACAS system information. Integer.
PartSerialMfgCd Sets or gets the serialized part's manufacturing code of this RawData; equivalent to the Manufacturing Code field in an XFRACAS serialized system's Edit Serialized Part dialog box, that can be opened by clicking on the Edit Serialized (default text) button in the Parts section of System. String.
PartSerialNumber Sets or gets the part serial number of this RawData; equivalent to the Part Serial Number field in an XFRACAS incident. String.
PartVersion Sets or gets the part version of this RawData; equivalent to the Version field in an XFRACAS incident. String.


Top Level

Name Description
TopLevelCommissionDate Sets or gets the selected part/resource's top level commission date. Date.
TopLevelPartID Sets or gets the part's top level part ID the of this RawData; equivalent to the Top Level Part ID field in an XFRACAS system. Integer.
TopLevelPartName Sets or returns the top level parent name of this RawData; equivalent to the Top Level Part Name field in an XFRACAS incident. String.
TopLevelPartNumber Sets or returns the part's top level parent number of this RawData; equivalent to the Top Level Part Number field in an XFRACAS incident. String.
TopLevelPartVersion Sets or returns the part's top level parent version of this RawData; equivalent to the Top Level Part Version field in an XFRACAS incident. String.
TopLevelSerialHID The part hierarchy serial number (HID) of the top level parent. This is used by RGA to distinguish the system's HID in that the failure occurred and in Weibull to distinguish the potentially different Top Level system HIDs in that the failure state (State FS) occurred. This property is equivalent to the part's parent's serial HID in an XFRACAS system. Integer.
TopLevelSerialNumber The part serial number of the top level parent. This is used by RGA to distinguish the system in that the failure occurred and in Weibull to distinguish the potentially different Top Level systems in that the failure state (State FS) occurred. This property is equivalent to the part's parent's serial number in an XFRACAS system. String.


User-Defined Fields

Name Description
DateUDF1 Sets or gets a user-defined date field of this RawData row; equivalent to one of the configurable settings fields in XFRACAS. Date.
DateUDF2 Sets or gets a user-defined date field of this RawData row; equivalent to one of the configurable settings fields in XFRACAS. Date.
DateUDF3 Sets or gets a user-defined date field of this RawData row; equivalent to one of the configurable settings fields in XFRACAS. Date.
NumberUDF1 Sets or gets the number user defined field (UDF) of this RawData; equivalent to the configurable settings fields in XFRACAS. Double.
NumberUDF2 Sets or gets the number user defined field (UDF) of this RawData; equivalent to the configurable settings fields in XFRACAS. Double.
NumberUDF3 Sets or gets the number user defined field (UDF) of this RawData; equivalent to the configurable settings fields in XFRACAS. Double.
StringUDF1 Sets or gets the string user defined field (UDF) of this RawData; equivalent to the configurable settings fields in XFRACAS. String.
StringUDF2 Sets or gets the string user defined field (UDF) of this RawData; equivalent to the configurable settings fields in XFRACAS. String.
StringUDF3 Sets or gets the string user defined field (UDF) of this RawData; equivalent to the configurable settings fields in XFRACAS. String.


Miscellaneous

Name Description
AddressLocation Sets or gets the Address Location of this RawData; equivalent to the Address Location field in an XFRACAS Contact. String.
Category Sets or gets the category of this RawData; equivalent to the Category field in an XFRACAS incident. String.
Chargeable Sets or gets the chargeable code value (0,1) for this RawData; equivalent to the Category Chargeable and Category Non-Chargeable Lookup Lists in the XFRACAS Admin configuration List. This is to be used to calculate the failure state (StateFS). XFRACAS categories can also be viewed within an XFRACAS Incident. Integer.
CompanyOwner Sets or gets the company owner of this RawData; equivalent to the Company filed in an XFRACAS Contact. String.
IsLRU Sets or gets the line replaceable unit (LRU) of this RawData. Integer.
ReportType Sets or gets the report type the of this RawData; equivalent to the Report Type field in an XFRACAS incident. String.
RootCause Sets or gets the RootCause assigned to the resource. String.
TimeMetric Sets or gets the TimeMetric code value of RawData; equivalent to the Time Metric fields in an XFRACAS incident. Integer.


Example

This example demonstrates how to create a simple raw data set and add it to a repository's Synthesis Data Warehouse (SDW).

VB

 'Create two data points: 
 Dim DataPoint1 As New RawData
 Dim DataPoint2 As New RawData
 DataPoint1.StateFS = "F"
 DataPoint1.StateTime = "100"
 DataPoint2.StateFS = "F"
 DataPoint2.StateTime = "120"

 'Create an SDW data collection. Name it "New Collection" and specify that it is for use with Weibull++. 
 Dim SDW As New RawDataSet
 SDW.ExtractedName = "New Collection"
 SDW.ExtractedType = RawDataSetType_Weibull

 'Add the two data points to the SDW data collection. 
 Call SDW.AddDataRow(DataPoint1)
 Call SDW.AddDataRow(DataPoint2)
 
 'Add code to connect to a Synthesis repository. 
 Dim MyRepository As New Repository
  ... 

 'Save the data collection to the Synthesis repository. 
 Call MyRepository.DataWarehouse.SaveRawDataSet(SDW)
VB.NET

 'Create two data points: 
 Dim DataPoint1 As New RawData
 Dim DataPoint2 As New RawData
 DataPoint1.StateFS = "F"
 DataPoint1.StateTime = "100"
 DataPoint2.StateFS = "F"
 DataPoint2.StateTime = "120"

 'Create an SDW data collection. Name it "New Collection" and specify that it is for use with Weibull++. 
 Dim SDW As New RawDataSet
 SDW.ExtractedName = "New Collection"
 SDW.ExtractedType = RawDataSetType.Weibull

 'Add the two data points to the SDW data collection. 
 SDW.AddDataRow(DataPoint1)
 SDW.AddDataRow(DataPoint2)

 'Add code to connect to a Synthesis repository. 
  Dim MyRepository As New Repository
  ... 
  
 'Save the data collection to the Synthesis repository. 
 MyRepository.DataWarehouse.SaveRawDataSet(SDW)