RawData Class: Difference between revisions
Jump to navigation
Jump to search
Kate Racaza (talk | contribs) m (→Properties) |
Kate Racaza (talk | contribs) No edit summary |
||
Line 18: | Line 18: | ||
|- | |- | ||
|AddressLocation||Gets or sets the | |AddressLocation||Gets or sets the location of the owner of the system. '''String'''. | ||
|- | |- | ||
|Category|| | |Category||Gets or sets the incident category. '''String'''. | ||
|- | |- | ||
|Chargeable|| | |Chargeable||Gets or sets the chargeable code value (0,1). '''Integer'''. | ||
|- | |- | ||
|CompanyOwner|| | |CompanyOwner||Gets or sets the owner of the system. '''String'''. | ||
|- | |- | ||
|DateUDF1||Gets or sets | |DateUDF1||Gets or sets the first user-defined date field. '''Date'''. | ||
|- | |- | ||
|DateUDF2||Gets or sets | |DateUDF2||Gets or sets the second user-defined date field. '''Date'''. | ||
|- | |- | ||
|DateUDF3||Gets or gets | |DateUDF3||Gets or gets the third user-defined date field. '''Date'''. | ||
|- | |- | ||
|FailureMode||Gets or sets the description of the failure mode. '''String'''. | |FailureMode||Gets or sets the description of the failure mode associated with the incident. '''String'''. | ||
|- | |- | ||
|IncidentAction|| | |IncidentAction||Gets or sets the description of the action taken to address the incident. '''String'''. | ||
|- | |- | ||
|IncidentEntityDisplayID|| | |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'''. | ||
|- | |- | ||
|IncidentID|| | |IncidentID||Gets or sets the database ID of the incident. '''Integer'''. | ||
|- | |- | ||
|IncidentOccurrenceDate|| | |IncidentOccurrenceDate||Gets or sets the date when the incident occurred. '''Date'''. | ||
|- | |- | ||
|IncidentRepairDate|| | |IncidentRepairDate||Gets or sets the date that the part repair or replacement was completed. '''Date'''. | ||
|- | |- | ||
|IncidentResolution|| | |IncidentResolution||Gets or sets the description of the incident resolution. '''String'''. | ||
|- | |- | ||
|IsLRU|| | |IsLRU||Gets or sets the line replaceable unit (LRU). '''Integer'''. | ||
|- | |- | ||
|LastInspectedTime||For interval or left-censored data | |LastInspectedTime||Gets or sets the time of last inspection. (For interval or left-censored data.) '''Double'''. | ||
|- | |- | ||
|NumberInState|| | |NumberInState||Gets or sets the number of failed units in the group. (For grouped failure data.) ''Double'''. | ||
|- | |- | ||
|NumberUDF1||Gets or sets | |NumberUDF1||Gets or sets the first user-defined number field. '''Double'''. | ||
|- | |- | ||
|NumberUDF2||Gets or sets | |NumberUDF2||Gets or sets the second user-defined number field. '''Double'''. | ||
|- | |- | ||
|NumberUDF3||Gets or sets | |NumberUDF3||Gets or sets the third user-defined number field. '''Double'''. | ||
|- | |- | ||
|ParentPartID|| | |ParentPartID||Gets or sets the database identification number of the part's parent. '''Integer'''. | ||
|- | |- | ||
|ParentPartName|| | |ParentPartName||Gets or sets the part name of the part's parent. '''String'''. | ||
|- | |- | ||
|ParentPartNumber|| | |ParentPartNumber||Gets or sets the part number of the part's parent. '''String'''. | ||
|- | |- | ||
|ParentPartVersion|| | |ParentPartVersion||Gets or sets the part version of the part's parent. '''String'''. | ||
|- | |- | ||
|PartHID|| | |PartHID||Gets or sets the part’s hierarchy identification number. '''Integer'''. | ||
|- | |- | ||
|PartID|| | |PartID||Gets or sets the part’s database identification number. '''Integer'''. | ||
|- | |- | ||
|PartName|| | |PartName||Gets or sets the part's name. '''String'''. | ||
|- | |- | ||
|PartNumber|| | |PartNumber||Gets or sets the part number. '''String'''. | ||
|- | |- | ||
|PartOrder|| | |PartOrder||Gets or sets the order in which the part was replaced. '''Integer'''. | ||
|- | |- | ||
|PartSerialHID|| | |PartSerialHID||Gets or sets the part’s serial hierarchy identification number. '''Integer'''. | ||
|- | |- | ||
|PartSerialMfgCd|| | |PartSerialMfgCd||Gets or sets the serialized part's manufacturing code. '''String'''. | ||
|- | |- | ||
|PartSerialNumber|| | |PartSerialNumber||Gets or sets the part's serial number. '''String'''. | ||
|- | |- | ||
|PartVersion|| | |PartVersion||Gets or sets the part version. '''String'''. | ||
|- | |- | ||
|ReportType|| | |ReportType||Gets or sets the description of how the incident was reported. '''String'''. | ||
|- | |- | ||
|RootCause|| | |RootCause||Gets or sets the description of the root cause of the incident. '''String'''. | ||
|- | |- | ||
|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 | |StateTime||Gets or sets the time value for the incident. '''Double'''. | ||
|- | |- | ||
|StateTimeRestore|| | |StateTimeRestore||Gets or sets the amount of time required for the repair. '''Double'''. | ||
|- | |- | ||
|StringUDF1||Gets or sets | |StringUDF1||Gets or sets the first user-defined text field. '''String'''. | ||
|- | |- | ||
|StringUDF2||Gets or sets | |StringUDF2||Gets or sets the second user-defined text field. '''String'''. | ||
|- | |- | ||
|StringUDF3||Gets or sets | |StringUDF3||Gets or sets the third user-defined text field. '''String'''. | ||
|- | |- | ||
|TimeMetric|| | |TimeMetric||Gets or sets the calculated time metric that is in use. '''Integer'''. | ||
|- | |- | ||
|TopLevelCommissionDate|| | |TopLevelCommissionDate||Gets or sets the commission date of the top level part in the system. '''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'''. | |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'''. |
Revision as of 23:35, 8 October 2015
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,1). Integer. |
CompanyOwner | Gets or sets the owner of the system. String. |
DateUDF1 | Gets or sets the first user-defined date field. Date. |
DateUDF2 | Gets or sets the second user-defined date field. Date. |
DateUDF3 | Gets or gets 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. 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. |
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 interval or left-censored data.) Double. |
NumberInState | Gets or sets the number of failed units in the group. (For grouped failure data.) Double'. |
NumberUDF1 | Gets or sets the first user-defined number field. Double. |
NumberUDF2 | Gets or sets the second user-defined number field. Double. |
NumberUDF3 | Gets or sets 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 incident. 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. |
StateTimeRestore | Gets or sets the amount of time required for the repair. Double. |
StringUDF1 | Gets or sets the first user-defined text field. String. |
StringUDF2 | Gets or sets the second user-defined text field. String. |
StringUDF3 | Gets or sets 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 | 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. |
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 '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)