We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9517ab6 commit bf7b631Copy full SHA for bf7b631
ocpp1.6/core/meter_values.go
@@ -1,18 +1,19 @@
1
package core
2
3
import (
4
- "github.com/lorenzodonini/ocpp-go/ocpp1.6/types"
5
"reflect"
+
6
+ "github.com/lorenzodonini/ocpp-go/ocpp1.6/types"
7
)
8
-// -------------------- Heartbeat (CP -> CS) --------------------
9
+// -------------------- MeterValues (CP -> CS) --------------------
10
11
const MeterValuesFeatureName = "MeterValues"
12
13
// The field definition of the MeterValues request payload sent by the Charge Point to the Central System.
14
type MeterValuesRequest struct {
15
ConnectorId int `json:"connectorId" validate:"gte=0"`
- TransactionId *int `json:"reservationId,omitempty"`
16
+ TransactionId *int `json:"transactionId,omitempty"`
17
MeterValue []types.MeterValue `json:"meterValue" validate:"required,min=1,dive"`
18
}
19
0 commit comments