add prediction to all temps
This commit is contained in:
		| @ -152,6 +152,12 @@ void taskMetrics(void *pvParameters) | ||||
|         aMetrics[u16MetricCounter].fMetricValue = getInletFlowTemperature().average60s.fValue; | ||||
|         u16MetricCounter++; | ||||
|  | ||||
|         // Inlet Flow Temperature Predict 60s | ||||
|         strcpy(aMetrics[u16MetricCounter].caMetricName, "inlet_flow_temperature_pred60"); | ||||
|         aMetrics[u16MetricCounter].type = FLOAT; | ||||
|         aMetrics[u16MetricCounter].fMetricValue = getInletFlowTemperature().predict60s.fValue; | ||||
|         u16MetricCounter++; | ||||
|  | ||||
|         // Outdoor Temperature | ||||
|         strcpy(aMetrics[u16MetricCounter].caMetricName, "outdoor_temperature"); | ||||
|         aMetrics[u16MetricCounter].type = FLOAT; | ||||
| @ -170,6 +176,12 @@ void taskMetrics(void *pvParameters) | ||||
|         aMetrics[u16MetricCounter].fMetricValue = getOutdoorTemperature().average60s.fValue; | ||||
|         u16MetricCounter++; | ||||
|  | ||||
|         // Outdoor Temperature Predict 60s | ||||
|         strcpy(aMetrics[u16MetricCounter].caMetricName, "outdoor_temperature_pred60"); | ||||
|         aMetrics[u16MetricCounter].type = FLOAT; | ||||
|         aMetrics[u16MetricCounter].fMetricValue = getOutdoorTemperature().predict60s.fValue; | ||||
|         u16MetricCounter++; | ||||
|  | ||||
|         // Return Flow Temperature | ||||
|         strcpy(aMetrics[u16MetricCounter].caMetricName, "return_flow_temperature"); | ||||
|         aMetrics[u16MetricCounter].type = FLOAT; | ||||
| @ -188,6 +200,12 @@ void taskMetrics(void *pvParameters) | ||||
|         aMetrics[u16MetricCounter].fMetricValue = getReturnFlowTemperature().average60s.fValue; | ||||
|         u16MetricCounter++; | ||||
|  | ||||
|         // Return Flow Temperature Predict 60s | ||||
|         strcpy(aMetrics[u16MetricCounter].caMetricName, "return_flow_temperature_pred60"); | ||||
|         aMetrics[u16MetricCounter].type = FLOAT; | ||||
|         aMetrics[u16MetricCounter].fMetricValue = getReturnFlowTemperature().predict60s.fValue; | ||||
|         u16MetricCounter++; | ||||
|  | ||||
|         // Sensor State | ||||
|         sSensorSanityCheck aChecks[NUMBER_OF_SENSOR_SANITY_CHECKS]; | ||||
|         getSensorSanityStates(aChecks); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user