X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2F1.6%2FTransaction.ts;h=13d6df642d365fb2468a6cd97750b9f550f0e4dd;hb=f0f65a6223ab14e6b7071ba6ec68c87c38de4c8c;hp=bf2377778bb21e0c6096cb1f33267672f5fe8444;hpb=c3ee95af4edd541595e3873c8aa4c93d38e59474;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/1.6/Transaction.ts b/src/types/ocpp/1.6/Transaction.ts index bf237777..13d6df64 100644 --- a/src/types/ocpp/1.6/Transaction.ts +++ b/src/types/ocpp/1.6/Transaction.ts @@ -13,7 +13,7 @@ export enum OCPP16StopTransactionReason { REMOTE = 'Remote', SOFT_RESET = 'SoftReset', UNLOCK_COMMAND = 'UnlockCommand', - DE_AUTHORIZED = 'DeAuthorized' + DE_AUTHORIZED = 'DeAuthorized', } export enum OCPP16AuthorizationStatus { @@ -21,7 +21,7 @@ export enum OCPP16AuthorizationStatus { BLOCKED = 'Blocked', EXPIRED = 'Expired', INVALID = 'Invalid', - CONCURRENT_TX = 'ConcurrentTx' + CONCURRENT_TX = 'ConcurrentTx', } export interface IdTagInfo extends JsonType { @@ -30,7 +30,7 @@ export interface IdTagInfo extends JsonType { expiryDate?: Date; } -export interface AuthorizeRequest extends JsonType { +export interface OCPP16AuthorizeRequest extends JsonType { idTag: string; } @@ -38,7 +38,7 @@ export interface OCPP16AuthorizeResponse extends JsonType { idTagInfo: IdTagInfo; } -export interface StartTransactionRequest extends JsonType { +export interface OCPP16StartTransactionRequest extends JsonType { connectorId: number; idTag: string; meterStart: number; @@ -51,7 +51,7 @@ export interface OCPP16StartTransactionResponse extends JsonType { transactionId: number; } -export interface StopTransactionRequest extends JsonType { +export interface OCPP16StopTransactionRequest extends JsonType { idTag?: string; meterStop: number; timestamp: string;