38 lines
1.1 KiB
TypeScript
38 lines
1.1 KiB
TypeScript
|
/**
|
||
|
* @author Martin Karkowski
|
||
|
* @email m.karkowski@zema.de
|
||
|
* @create date 2020-03-02 15:47:08
|
||
|
* @modify date 2020-08-25 15:32:28
|
||
|
* @desc [description]
|
||
|
*/
|
||
|
|
||
|
import { IDescriptor } from "../../mod-Assembly-Builder/type/interfaces";
|
||
|
import { IPLCModuleFactory } from "../../mod-Generic-PLC-Interface/type/interfaces";
|
||
|
import { TYPES as _PLCTYPES } from "../../mod-Generic-PLC-Interface/type/types";
|
||
|
import { BeckhoffPLCModule } from "../src/BeckhoffPLCModule";
|
||
|
import { BeckhoffPLCModuleFactory } from "../src/BeckhoffPLCModuleFactory";
|
||
|
import { TYPES as _TYPES } from "../type/types";
|
||
|
|
||
|
export type BeckhoffInterface = BeckhoffPLCModule;
|
||
|
export type BeckhoffInterfaceFactory = IPLCModuleFactory;
|
||
|
export const TYPES = _TYPES;
|
||
|
|
||
|
export const EXPORT: Array<IDescriptor> = [
|
||
|
{
|
||
|
selector: TYPES.BeckhoffPLCModule,
|
||
|
factorySelector: TYPES.BeckhoffPLCModuleFactory,
|
||
|
type: BeckhoffPLCModule
|
||
|
},
|
||
|
{
|
||
|
selector: _PLCTYPES.ModuleFactory,
|
||
|
type: BeckhoffPLCModuleFactory,
|
||
|
options: {
|
||
|
scope: "inSingletonScope"
|
||
|
}
|
||
|
}
|
||
|
];
|
||
|
|
||
|
export const REQUIRE = ["PUBSUB", "LOGGING", "PLC"];
|
||
|
|
||
|
export const NAME = "BECKHOF";
|