File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11package core
22
33import (
4- "github.com/lorenzodonini/ocpp-go/ocpp1.6/types"
54 "reflect"
5+
6+ "github.com/lorenzodonini/ocpp-go/ocpp1.6/types"
67)
78
8- // -------------------- Heartbeat (CP -> CS) --------------------
9+ // -------------------- MeterValues (CP -> CS) --------------------
910
1011const MeterValuesFeatureName = "MeterValues"
1112
1213// The field definition of the MeterValues request payload sent by the Charge Point to the Central System.
1314type MeterValuesRequest struct {
1415 ConnectorId int `json:"connectorId" validate:"gte=0"`
15- TransactionId * int `json:"reservationId ,omitempty"`
16+ TransactionId * int `json:"transactionId ,omitempty"`
1617 MeterValue []types.MeterValue `json:"meterValue" validate:"required,min=1,dive"`
1718}
1819
You can’t perform that action at this time.
0 commit comments