@citrineos/data
Version:
The OCPP data module which includes all persistence layer implementation.
29 lines (28 loc) • 882 B
TypeScript
import { OCPP2_0_1 } from '@citrineos/base';
import { BaseModelWithTenant } from '../BaseModelWithTenant';
export declare class EventData extends BaseModelWithTenant implements OCPP2_0_1.EventDataType {
static readonly MODEL_NAME: string;
/**
* Fields
*/
stationId: string;
eventId: number;
trigger: OCPP2_0_1.EventTriggerEnumType;
cause?: number | null;
timestamp: string;
actualValue: string;
techCode?: string | null;
techInfo?: string | null;
cleared?: boolean | null;
transactionId?: string | null;
variableMonitoringId?: number | null;
eventNotificationType: OCPP2_0_1.EventNotificationEnumType;
/**
* Relations
*/
variable: OCPP2_0_1.VariableType;
variableId?: number;
component: OCPP2_0_1.ComponentType;
componentId?: number;
customData?: OCPP2_0_1.CustomDataType | null;
}