UNPKG

@citrineos/data

Version:

The OCPP data module which includes all persistence layer implementation.

34 lines (33 loc) 1.12 kB
import { OCPP2_0_1 } from '@citrineos/base'; import { Boot } from '../Boot'; import { VariableStatus } from './VariableStatus'; import { ChargingStation } from '../Location'; import { BaseModelWithTenant } from '../BaseModelWithTenant'; export declare class VariableAttribute extends BaseModelWithTenant implements OCPP2_0_1.VariableAttributeType { static readonly MODEL_NAME: string; /** * Fields */ stationId: string; chargingStation: ChargingStation; type?: OCPP2_0_1.AttributeEnumType | null; dataType: OCPP2_0_1.DataEnumType; value?: string | null; mutability?: OCPP2_0_1.MutabilityEnumType | null; persistent?: boolean | null; constant?: boolean | null; generatedAt: string; /** * Relations */ variable: OCPP2_0_1.VariableType; variableId?: number | null; component: OCPP2_0_1.ComponentType; componentId?: number | null; evse?: OCPP2_0_1.EVSEType; evseDatabaseId?: number | null; statuses?: VariableStatus[]; bootConfig?: Boot; bootConfigId?: string | null; customData?: OCPP2_0_1.CustomDataType | null; }