RawData Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 22: Line 22:
|Category||Gets or sets the incident category. '''String'''.
|Category||Gets or sets the incident category. '''String'''.
|-
|-
|Chargeable||Gets or sets the chargeable code value (0,1). '''Integer'''.
|Chargeable||Gets or sets the chargeable code value (0 = non-chargeable, 1 = chargeable). '''Integer'''.
|-
|-
|CompanyOwner||Gets or sets the owner of the system. '''String'''.
|CompanyOwner||Gets or sets the owner of the system. '''String'''.
Line 34: Line 34:
|FailureMode||Gets or sets the description of the failure mode associated with the incident. '''String'''.
|FailureMode||Gets or sets the description of the failure mode associated with the incident. '''String'''.
|-
|-
|IncidentAction||Gets or sets the description of the action taken to address the incident. '''String'''.
|IncidentAction||Gets or sets the description of the action taken to address the incident (whether a part was removed or installed). '''String'''.
|-
|-
|IncidentEntityDisplayID||Gets or sets the incident number assigned by XFRACAS, which includes the prefix for the entity that it is associated with (e.g., E1-201). '''String'''.
|IncidentEntityDisplayID||Gets or sets the incident number assigned by XFRACAS. It includes the prefix for the entity that the incident is associated with (e.g., E1-201). '''String'''.
|-
|-
|IncidentID||Gets or sets the database ID of the incident. '''Integer'''.
|IncidentID||Gets or sets the database ID of the incident. '''Integer'''.
Line 48: Line 48:
|IsLRU||Gets or sets the line replaceable unit (LRU). '''Integer'''.
|IsLRU||Gets or sets the line replaceable unit (LRU). '''Integer'''.
|-
|-
|LastInspectedTime||Gets or sets the time of last inspection. (For interval or left-censored data.) '''Double'''.
|LastInspectedTime||Gets or sets the time of last inspection. For exporting XFRACAS data sets to Weibull++, this is equal to the state time for the data row. For exporting XFRACAS data sets to RGA, it is the amount of time the system has accrued at the last reported incident. '''Double'''.
|-
|-
|NumberInState||Gets or sets the number of failed units in the group. (For grouped failure data.) '''Double'''.
|NumberInState||Gets or sets the number of failed units in the group. (For grouped failure data.) '''Double'''.
Line 90: Line 90:
|StateFS||Gets or sets whether the data point is a failure (F) or suspension (S). '''String'''.   
|StateFS||Gets or sets whether the data point is a failure (F) or suspension (S). '''String'''.   
|-
|-
|StateTime||Gets or sets the time value for the incident. '''Double'''.  
|StateTime||Gets or sets the amount of time accrued on the part. '''Double'''.  
|-
|-
|StateTimeRestore||Gets or sets the amount of time required for the repair (repair duration). '''Double'''.
|StateTimeRestore||Gets or sets the amount of time required for the repair (repair duration). '''Double'''.
Line 114: Line 114:
|TopLevelSerialHID||Gets or sets the serial hierarchy identification number of the top level part in the serialized system. '''Integer'''.
|TopLevelSerialHID||Gets or sets the serial hierarchy identification number of the top level part in the serialized system. '''Integer'''.
|-
|-
|TopLevelSerialNumber||Gets or sets the serial number of the top level part in the system. '''String'''.
|TopLevelSerialNumber||Gets or sets the serial number of the top level part in the serialized system. '''String'''.
|}
|}
<!--
== Example ==
This example demonstrates how to use the RawData object to create a simple data set. The data set is saved into an SDW data collection, which can then be exported to a repository's Synthesis Data Warehouse (SDW).
'''VB'''
{{APIComment|'Create two data points:}}
  {{APIPrefix|Dim}} DataPoint1 {{APIPrefix|As New}} RawData
  {{APIPrefix|Dim}} DataPoint2 {{APIPrefix|As New}} RawData
  DataPoint1.StateFS = {{APIString|"F"}}
  DataPoint1.StateTime = {{APIString|"100"}}
  DataPoint2.StateFS = {{APIString|"F"}}
  DataPoint2.StateTime = {{APIString|"120"}}
{{APIComment|'Create an SDW data collection. Name it "New Collection" and specify that it is for use with Weibull++.}}
  {{APIPrefix|Dim}} SDW {{APIPrefix|As New}} RawDataSet
  SDW.ExtractedName = {{APIString|"New Collection"}}
  SDW.ExtractedType = RawDataSetType_Weibull
{{APIComment|'Add the two data points to the SDW data collection.}}
  {{APIPrefix|Call}} SDW.AddDataRow(DataPoint1)
  {{APIPrefix|Call}} SDW.AddDataRow(DataPoint2)
 
{{APIComment|'Add code to connect to a Synthesis repository.}}
  {{APIPrefix|Dim}} MyRepository {{APIPrefix|As New}} Repository
  {{APIComment|...}}
{{APIComment|'Save the data collection to the Synthesis repository.}}
  {{APIPrefix|Call}} MyRepository.DataWarehouse.SaveRawDataSet(SDW)
'''VB.NET'''
{{APIComment|'Create two data points:}}
  {{APIPrefix|Dim}} DataPoint1 {{APIPrefix|As New}} RawData
  {{APIPrefix|Dim}} DataPoint2 {{APIPrefix|As New}} RawData
  DataPoint1.StateFS = {{APIString|"F"}}
  DataPoint1.StateTime = {{APIString|"100"}}
  DataPoint2.StateFS = {{APIString|"F"}}
  DataPoint2.StateTime = {{APIString|"120"}}
{{APIComment|'Create an SDW data collection. Name it "New Collection" and specify that it is for use with Weibull++.}}
  {{APIPrefix|Dim}} SDW {{APIPrefix|As New}} RawDataSet
  SDW.ExtractedName = {{APIString|"New Collection"}}
  SDW.ExtractedType = RawDataSetType.Weibull
{{APIComment|'Add the two data points to the SDW data collection.}}
  SDW.AddDataRow(DataPoint1)
  SDW.AddDataRow(DataPoint2)
{{APIComment|'Add code to connect to a Synthesis repository.}}
  {{APIPrefix|Dim}} MyRepository {{APIPrefix|As New}} Repository
  {{APIComment|...}}
 
{{APIComment|'Save the data collection to the Synthesis repository.}}
  MyRepository.DataWarehouse.SaveRawDataSet(SDW)
-->

Revision as of 21:00, 2 November 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

Name Description
AddressLocation Gets or sets the location of the owner of the system. String.
Category Gets or sets the incident category. String.
Chargeable Gets or sets the chargeable code value (0 = non-chargeable, 1 = chargeable). Integer.
CompanyOwner Gets or sets the owner of the system. String.
DateUDF1 Gets or sets the date in the first user-defined date field. Date.
DateUDF2 Gets or sets the date in the second user-defined date field. Date.
DateUDF3 Gets or gets the date in the third user-defined date field. Date.
FailureMode Gets or sets the description of the failure mode associated with the incident. String.
IncidentAction Gets or sets the description of the action taken to address the incident (whether a part was removed or installed). String.
IncidentEntityDisplayID Gets or sets the incident number assigned by XFRACAS. It includes the prefix for the entity that the incident is associated with (e.g., E1-201). String.
IncidentID Gets or sets the database ID of the incident. Integer.
IncidentOccurrenceDate Gets or sets the date when the incident occurred. Date.
IncidentRepairDate Gets or sets the date that the part repair or replacement was completed. Date.
IncidentResolution Gets or sets the description of the incident resolution. String.
IsLRU Gets or sets the line replaceable unit (LRU). Integer.
LastInspectedTime Gets or sets the time of last inspection. For exporting XFRACAS data sets to Weibull++, this is equal to the state time for the data row. For exporting XFRACAS data sets to RGA, it is the amount of time the system has accrued at the last reported incident. Double.
NumberInState Gets or sets the number of failed units in the group. (For grouped failure data.) Double.
NumberUDF1 Gets or sets the value in the first user-defined number field. Double.
NumberUDF2 Gets or sets the value in the second user-defined number field. Double.
NumberUDF3 Gets or sets the value in the third user-defined number field. Double.
ParentPartID Gets or sets the database identification number of the part's parent. Integer.
ParentPartName Gets or sets the part name of the part's parent. String.
ParentPartNumber Gets or sets the part number of the part's parent. String.
ParentPartVersion Gets or sets the part version of the part's parent. String.
PartHID Gets or sets the part’s hierarchy identification number. Integer.
PartID Gets or sets the part’s database identification number. Integer.
PartName Gets or sets the part's name. String.
PartNumber Gets or sets the part number. String.
PartOrder Gets or sets the order in which the part was replaced. Integer.
PartSerialHID Gets or sets the part’s serial hierarchy identification number. Integer.
PartSerialMfgCd Gets or sets the serialized part's manufacturing code. String.
PartSerialNumber Gets or sets the part's serial number. String.
PartVersion Gets or sets the part version. String.
ReportType Gets or sets the description of how the incident was reported. String.
RootCause Gets or sets the description of the root cause of the failure mode. String.
StateFS Gets or sets whether the data point is a failure (F) or suspension (S). String.
StateTime Gets or sets the amount of time accrued on the part. Double.
StateTimeRestore Gets or sets the amount of time required for the repair (repair duration). Double.
StringUDF1 Gets or sets the text in the first user-defined text field. String.
StringUDF2 Gets or sets the text in the second user-defined text field. String.
StringUDF3 Gets or sets the text in the third user-defined text field. String.
TimeMetric Gets or sets the calculated time metric that is in use. Integer.
TopLevelCommissionDate Gets or sets the commission date of the top level part in the system. Date.
TopLevelPartID Gets or sets the part ID of the top level part in the system. Integer.
TopLevelPartName Gets or sets the part name of the top level part in the system. String.
TopLevelPartNumber Gets or sets the part number of the top level part in the system. String.
TopLevelPartVersion Gets or sets the part version of the top level part in the system. String.
TopLevelSerialHID Gets or sets the serial hierarchy identification number of the top level part in the serialized system. Integer.
TopLevelSerialNumber Gets or sets the serial number of the top level part in the serialized system. String.