Repository.XFRACAS.AddSystemMetric1: Difference between revisions
Jump to navigation
Jump to search
John Leavitt (talk | contribs) (Created page with '{{Template:APIClass|Repository Class|Repository}} {{Template:Repository.AddSystemMetric1.Cmt}} == Syntax == *Repository.AddSystemMetric1(<font color=blue>ByVal</font> SerialHID<…') |
John Leavitt (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
== 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>) | *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>) | ||
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. |
Revision as of 17:17, 21 April 2015
Version 10 Only - This can be used to insert reported run hours and the date of the reported run hours.
Syntax
- Repository.AddSystemMetric1(ByVal SerialHID As Integer,ByVal metric1Value 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.