Difference between revisions of "Repository.XFRACAS.AddSystemMetric2"

From ReliaWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{Template:API}}{{Template:APIBreadcrumb|.[[Repository Class|Repository]]}}
 
{{Template:API}}{{Template:APIBreadcrumb|.[[Repository Class|Repository]]}}
  
 
+
<onlyinclude>Inserts the time/usage reported on a particular date for a particular part in a serialized system.</onlyinclude>
<onlyinclude>Inserts the run hours and number of starts that have been reported for the unit at the time of the incident, and the date of the report.</onlyinclude>
 
  
 
== Syntax ==
 
== Syntax ==
Line 14: Line 13:
 
''metric1Value''
 
''metric1Value''
  
:Required. Double. The total run hours.
+
:Required. Double. The time/usage value reported for Metric1.
  
 
''metric2Value''
 
''metric2Value''
  
:Required. Double. The number of starts.
+
:Required. Double. The time/usage value reported for Metric2.
  
 
''metricDate''
 
''metricDate''
  
:Required. Date. The date the metrics were reported.
+
:Required. Date. The date when the value(s) were reported.

Revision as of 17:45, 30 November 2017

APIWiki.png


Member of: SynthesisAPI.Repository

Inserts the time/usage reported on a particular date for a particular part in a serialized system.

Syntax

AddSystemMetric2(serialHID, metric1Value, metric2Value, metricDate)

Parameters

serialHID

Required. Integer. The system hierarchy ID number of the part that was repaired or replaced during the incident.

metric1Value

Required. Double. The time/usage value reported for Metric1.

metric2Value

Required. Double. The time/usage value reported for Metric2.

metricDate

Required. Date. The date when the value(s) were reported.