UNPKG

@citrineos/data

Version:

The OCPP data module which includes all persistence layer implementation.

48 lines (47 loc) 1.71 kB
import { OCPP2_0_1 } from '@citrineos/base'; import { ServerNetworkProfile } from './ServerNetworkProfile'; import { BaseModelWithTenant } from '../BaseModelWithTenant'; /** * The CallMessage model can be extended with new optional fields, * e.g. chargingProfileId, for other correlationId related lookups. */ export declare class SetNetworkProfile extends BaseModelWithTenant { static readonly MODEL_NAME: string; stationId: string; correlationId: string; websocketServerConfigId?: string; websocketServerConfig?: ServerNetworkProfile; configurationSlot: number; ocppVersion: OCPP2_0_1.OCPPVersionEnumType; ocppTransport: OCPP2_0_1.OCPPTransportEnumType; /** * Communication_ Function. OCPP_ Central_ System_ URL. URI * urn:x-oca:ocpp:uid:1:569357 * URL of the CSMS(s) that this Charging Station communicates with. * */ ocppCsmsUrl: string; /** * Duration in seconds before a message send by the Charging Station via this network connection times-out. * The best setting depends on the underlying network and response times of the CSMS. * If you are looking for a some guideline: use 30 seconds as a starting point. * */ messageTimeout: number; /** * This field specifies the security profile used when connecting to the CSMS with this NetworkConnectionProfile. * */ securityProfile: number; ocppInterface: OCPP2_0_1.OCPPInterfaceEnumType; /** * Stringified JSON of {@link OCPP2_0_1.APNType} for display purposes only * */ apn?: string; /** * Stringified JSON of {@link OCPP2_0_1.VPNType} for display purposes only * */ vpn?: string; }