Repository.XFRACAS.AddSystemMetric3: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:APIClass|Repository Class|Repository}}
{{Template:API}}{{Template:APIBreadcrumb|.[[Repository Class|Repository]]}}
{{Template:Repository.AddSystemMetric3.Cmt}}
 
<onlyinclude>Inserts the time/usage values reported on a particular date for a particular serialized system (Metric 1, 2 and 3).</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 of the part. 
 
''metric1Value''
 
:Required. Double. The value reported for Metric 1.
 
''metric2Value''


:Required. Double. The value reported for Metric 2.


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 value reported for Metric 3.


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


:''metricDate'': Date of the reported metrics.
:Required. Date. The date when the value(s) were reported.

Latest revision as of 23:04, 30 November 2017

APIWiki.png


Member of: SynthesisAPI.Repository

Inserts the time/usage values reported on a particular date for a particular serialized system (Metric 1, 2 and 3).

Syntax

AddSystemMetric3(serialHID, metric1Value, metric2Value, metric3Value, metricDate)

Parameters

serialHID

Required. Integer. The system hierarchy ID of the part.

metric1Value

Required. Double. The value reported for Metric 1.

metric2Value

Required. Double. The value reported for Metric 2.

metric3Value

Required. Double. The value reported for Metric 3.

metricDate

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