Repository.XFRACAS.AddSystemMetric3: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{Template:APIClass|Repository Class|Repository}}
{{InProgress}}{{DISPLAYTITLE:Repository.XFRACAS.AddSystemMetric3 Method}}{{Template:API}}{{Template:APIBreadcrumb|10|.[[Repository Class|Repository]]}}
{{Template:Repository.AddSystemMetric3.Cmt}}
 
 
<onlyinclude>Inserts the run hours, number of starts and kilowatt run hours that have been reported for the unit at the time of the incident, and the date of the report. </onlyinclude>


== Syntax ==
== Syntax ==
*AddSystemMetric3(<font color=blue>ByVal</font> SerialHID<font color=blue> As Integer</font>,<font color=blue>ByVal</font> metric1Value<font color=blue> As Double</font>,<font color=blue>ByVal</font> metric2Value<font color=blue> As Double</font>,<font color=blue>ByVal</font> metric3Value<font color=blue> As Double</font>,<font color=blue>ByVal</font> metricDate<font color=blue> As Date</font>)
'''AddSystemMetric3'''(''serialHID'', ''metric1Value'', ''metric2Value'', ''metric3Value'', ''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 total run hours.
 
''metric2Value''


:Required. Double. The number of starts.


Parameters
''metric3Value''
SerialHID = ID corresponding to the serial_hid column in the SerialHierarchy table
:''metric1Value'': Value to insert into the column ReportedRunHrs.run_hrs


:''metric2Value'': Value to insert into the column ReportedRunHrs.nr_of_starts
:Required. Double. The kilowatt run hours for the unit.


:''metric3Value'': Value to insert into the column ReportedRunHrs.kw_run_hrs
''metricDate''


:''metricDate'': Date of the reported metrics.
:Required. Date. The date the metrics were reported.

Revision as of 17:51, 29 October 2015

Template:InProgress

APIWiki.png


Member of: SynthesisAPI10.Repository


Inserts the run hours, number of starts and kilowatt run hours that have been reported for the unit at the time of the incident, and the date of the report.

Syntax

AddSystemMetric3(serialHID, metric1Value, metric2Value, metric3Value, 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 total run hours.

metric2Value

Required. Double. The number of starts.

metric3Value

Required. Double. The kilowatt run hours for the unit.

metricDate

Required. Date. The date the metrics were reported.