RawData Class

Properties
Failure Data
 * StateFS (as string)
 * StateTime (as double)
 * StateTimeRestore (as double)
 * LastInspectedTime (as double)
 * NumberInState (as double)
 * FailureMode (as string)

Incident
 * IncidentAction (as string)
 * IncidentEntityDisplayID (as string)
 * IncidentID (as integer)
 * IncidentOccurrenceDate (as date)
 * IncidentRepairDate (as date)
 * IncidentResolution (as string)

Parent Part
 * ParentPartID (as integer)
 * ParentPartName (as string)
 * ParentPartNumber (as string)
 * ParentPartVersion (as string)

Part
 * PartHID (as integer)
 * PartID (as integer)
 * PartName (as string)
 * PartNumber (as string)
 * PartOrder (as integer)
 * PartSerialHID (as integer)
 * PartSerialMfgCd (as string)
 * PartSerialNumber (as string)
 * PartVersion (as string)

Top Level
 * TopLevelCommissionDate (as date)
 * TopLevelPartID (as integer)
 * TopLevelPartName (as string)
 * TopLevelPartNumber (as string)
 * TopLevelPartVersion (as string)
 * TopLevelSerialHID (as integer)
 * TopLevelSerialNumber (as string)

User-Defined Fields
 * DateUDF1 (as date)
 * DateUDF2 (as date)
 * DateUDF3 (as date)
 * NumberUDF1 (as double)
 * NumberUDF2 (as double)
 * NumberUDF3 (as double)
 * StringUDF1 (as string)
 * StringUDF2 (as string)
 * StringUDF3 (as string)

Miscellaneous
 * AddressLocation (as string)
 * Category (as string)
 * Chargeable (as integer)
 * CompanyOwner (as string)
 * IsLRU (as integer)
 * ReportType (as string)
 * RootCause (as string)
 * TimeMetric (as 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.

Dim rawDS As New RawDataSet rawDS.ExtractedName = "Example for RDW" rawDS.ExtractedType = RawDataSetType.Weibull Dim row1 As New RawData row1.StateFS = "F" row1.StateTime = "100" Dim row2 As New RawData row2.StateFS = "F" row2.StateTime = "120" rawDS.AddDataRow(row1) rawDS.AddDataRow(row2) Dim MyRepository As New Repository MyRepository.ConnectToRepository("C:\Users\ckahn\Documents\ReliaSoft\Files\APITesting.rsr9") MyRepository.SaveRawDataSet(rawDS) MyRepository.DisconnectFromRepository