Difference between revisions of "Repository.XFRACAS.AddSystemMetric1"

From ReliaWiki
Jump to navigation Jump to search
Line 1: Line 1:
{{Template:APIClass|Repository Class|Repository}}
+
{{InProgress}}{{DISPLAYTITLE:Repository.XFRACAS.AddSystemMetric1 Method}}{{Template:API}}{{Template:APIBreadcrumb|10|.[[Repository Class|Repository]]}}
{{Template:Repository.AddSystemMetric1.Cmt}}
+
 
 +
 
 +
<onlyinclude>Inserts the reported run hours and date of the reported run hours. </onlyinclude>
  
 
== Syntax ==
 
== Syntax ==
*AddSystemMetric1(<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> metricDate<font color=blue> As Date</font>)
+
'''AddSystemMetric1'''(''serialHID'', ''metric1Value'', ''metricDate'')
 +
 
 +
===Parameters===
 +
''serialHID''
  
 +
:Required. Integer. The system hierarchy ID number of the part that was repaired or replaced during an incident. 
  
Parameters
+
''metric1Value''
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 reported run hours.
  
:''metric3Value'': Value to insert into the column ReportedRunHrs.kw_run_hrs
+
''metricDate''
  
:''metricDate'': Date of the reported metrics.
+
:Required. Date. The date of the reported run hours.

Revision as of 23:34, 28 October 2015

DRAFT GRAY.png

WORK IN PROGRESS
Repository.XFRACAS.AddSystemMetric1

DRAFT GRAY.png
APIWiki.png


Member of: SynthesisAPI10.Repository


Inserts the reported run hours and date of the reported run hours.

Syntax

AddSystemMetric1(serialHID, metric1Value, metricDate)

Parameters

serialHID

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

metric1Value

Required. Double. The reported run hours.

metricDate

Required. Date. The date of the reported run hours.