From ReliaWiki
Revision as of 17:16, 21 April 2015 by John Leavitt (talk | contribs) (Created page with '{{Template:APIClass|Repository Class|Repository}} {{Template:Repository.AddSystemMetric2.Cmt}} == Syntax == *Repository.AddSystemMetric2(<font color=blue>ByVal</font> SerialHID<…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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


  • Repository.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.