@citrineos/data
Version:
The OCPP data module which includes all persistence layer implementation.
34 lines (33 loc) • 1.29 kB
TypeScript
import { OCPPVersion } from '@citrineos/base';
import { Model } from 'sequelize-typescript';
import { Location } from './Location';
import { StatusNotification } from './StatusNotification';
import { SetNetworkProfile } from './SetNetworkProfile';
import { Connector } from './Connector';
/**
* Represents a charging station.
* Currently, this data model is internal to CitrineOS. In the future, it will be analogous to an OCPI ChargingStation.
*/
export declare class ChargingStation extends Model {
static readonly MODEL_NAME: string;
id: string;
isOnline: boolean;
protocol?: OCPPVersion | null;
chargePointVendor?: string | null;
chargePointModel?: string | null;
chargePointSerialNumber?: string | null;
chargeBoxSerialNumber?: string | null;
firmwareVersion?: string | null;
iccid?: string | null;
imsi?: string | null;
meterType?: string | null;
meterSerialNumber?: string | null;
locationId?: number | null;
statusNotifications?: StatusNotification[] | null;
/**
* The business Location of the charging station. Optional in case a charging station is not yet in the field, or retired.
*/
location?: Location;
networkProfiles?: SetNetworkProfile[] | null;
connectors?: Connector[] | null;
}