Repository.XFRACAS.AddSystemMetric1: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:APIClass|Repository Class|Repository}}
{{Template:API}}{{Template:APIBreadcrumb|.[[Repository Class|Repository]]}}
{{Template:Repository.AddSystemMetric1.Cmt}}
 
 
<onlyinclude>Inserts the time/usage value reported on a particular date for a particular serialized system (Metric 1 only).</onlyinclude>


== Syntax ==
== Syntax ==
*Repository.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. 


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


:''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 was reported.

Latest revision as of 23:03, 30 November 2017

APIWiki.png


Member of: SynthesisAPI.Repository


Inserts the time/usage value reported on a particular date for a particular serialized system (Metric 1 only).

Syntax

AddSystemMetric1(serialHID, metric1Value, metricDate)

Parameters

serialHID

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

metric1Value

Required. Double. The value reported for Metric 1.

metricDate

Required. Date. The date when the value was reported.