Repository.XFRACAS.AddSystemMetric3: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
Line 3: Line 3:


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





Revision as of 16:08, 27 May 2015


Version 10 Only - This can be used to insert reported run hours, number of starts, kw run hours, and the date.

Syntax

  • AddSystemMetric2(ByVal SerialHID As Integer,ByVal metric1Value As Double,ByVal metric2Value As Double,ByVal metric3Value As Double,ByVal metricDate As Date)


Parameters 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
metric3Value: Value to insert into the column ReportedRunHrs.kw_run_hrs
metricDate: Date of the reported metrics.