UNPKG

@p2olab/pimad-core

Version:

PiMAd (Process-industry-Modular-Automation-description) High level access to automation of modular plants.

23 lines (22 loc) 887 B
import { Importer } from '../Converter/Importer/Importer'; import { Backbone } from '../Backbone'; import PiMAdResponse = Backbone.PiMAdResponse; /** * This interface describes the functions of PEAPool, which can be called from backend */ export interface PEAPool { addPEA(instructions: object, callback: (response: PiMAdResponse) => void): void; deletePEA(identifier: string, callback: (response: PiMAdResponse) => void): void; getPEA(identifier: string, callback: (response: PiMAdResponse) => void): void; getAllPEAs(callback: (response: PiMAdResponse) => void): void; initialize(firstChainElement: Importer): boolean; initializeMTPFreeze202001Importer(): boolean; } export interface PEAPoolFactory { create(): PEAPool; } export declare class PEAPoolVendor { private dependencyPEAPoolFactory; constructor(); buyDependencyPEAPool(): PEAPool; }