1.0.2 • Published 2 years ago

ocpp-messages-ts v1.0.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

Typescript data types for OCPP

OCPP versions supported:

  • 2.0.1

Usage:

// Example using the MeterValueType in one of the types in my app

import { MeterValueType } from "ocpp-messages-ts/types/TransactionEventRequest";

type MyTransactionType = {
    DeviceId                 :string;
    EnergyTransferInProgress :bool;
    EnergyTransferStarted    :string;
    EnergyTransferStopped    :string;
    MeterValues              :MeterValueType[];
};