UNPKG

@munit-solutions/ocpp

Version:
16 lines (12 loc) 361 B
import Call from '../Call'; import ResetType from '../../enum/ResetType'; import ClientCommand from '../../enum/ClientCommand'; export type ResetPayload = { type: ResetType; }; export default class Reset extends Call { constructor(public uniqueId: string = '', public payload?: ResetPayload) { super(); this.action = ClientCommand.Reset; } }