UNPKG

@citrineos/data

Version:

The OCPP data module which includes all persistence layer implementation.

28 lines (27 loc) 1.25 kB
import type { ChargingStationNetworkProfileDto, TenantDto } from '@citrineos/base'; import { Model } from 'sequelize-typescript'; import { ServerNetworkProfile } from './ServerNetworkProfile.js'; import { SetNetworkProfile } from './SetNetworkProfile.js'; export declare class ChargingStationNetworkProfile extends Model implements ChargingStationNetworkProfileDto { static readonly MODEL_NAME: string; stationId: string; /** * Possible values for a particular station found in device model: * OCPPCommCtrlr.NetworkConfigurationPriority.VariableCharacteristics.valuesList */ configurationSlot: number; setNetworkProfileId: number; setNetworkProfile: SetNetworkProfile; /** * If present, the websocket server that correlates to this configuration slot. * The ws url in the network profile may not match the configured host, for example in the cloud the * configured host will likely be behind a load balancer and a custom DNS name. * */ websocketServerConfigId?: string; websocketServerConfig?: ServerNetworkProfile; tenantId: number; tenant?: TenantDto; static setDefaultTenant(instance: ChargingStationNetworkProfile): void; constructor(...args: any[]); }