nope/modules/generic-plc/assembly/manual-assembly.ts
Martin Karkowski 838d910c2f adding gojs
2020-12-01 13:05:35 +01:00

54 lines
1.3 KiB
TypeScript

/**
* @author Martin Karkowski
* @email m.karkowski@zema.de
* @create date 2018-07-03 07:37:59
* @modify date 2020-12-01 10:02:07
* @desc [description]
*/
import { IModuleDescription } from "../../mod-Assembly-Builder/type/interfaces";
import { GenericPLC } from "../src/generic.plc.module";
import { RawPLCModuleBase } from "../src/RawPLCModuleBase";
import { RawPLCModuleFactory } from "../src/RawPLCModuleFactory";
import { TYPES } from "../type/types";
export const DESCRIPTION: IModuleDescription<typeof TYPES> = {
AUTOSTART: {
plc: []
},
DEFAULT_INSTANCES: ["plc"],
NAME: "PLC",
PROVIDED_CLASSES: [
{
selector: TYPES.RawPLCModule,
factorySelector: TYPES.RawPLCModuleFactory,
type: RawPLCModuleBase
},
{
selector: TYPES.ModuleFactory,
type: RawPLCModuleFactory,
options: {
scope: "inSingletonScope"
}
},
{
selector: TYPES.GenericPLC,
factorySelector: TYPES.GenericPLCFactory,
type: GenericPLC,
options: {
scope: "inSingletonScope"
}
}
],
PROVIDED_FUNCTIONS: [],
REQURIES: ["PUBSUB"],
TYPES,
ACTIVATIONHANDLERS: []
};
export default DESCRIPTION;
/** Export the Type */
export type PLC = GenericPLC;
export type SmartBuffer = RawPLCModuleBase;