/**
* @author Martin Karkowski
* @email m.karkowski@zema.de
* @create date 2020-07-16 10:52:45
* @modify date 2020-07-16 10:52:45
* @desc [description]
*/
const GENERIC_TEMPLATES: {
[index: string]: string;
} = {
// Template to Define new Types.
//
// Requires the following Input:
// {
// structName: string,
// structId: '{uuid}',
// structDefinitionCode: string
// }
structTemplate: `
`,
// Template to define the Places.
//
// Requires the following Input:
// {
// structId: '{uuid}',
// places: [ {id: string} ],
// }
statesStructTemplate: `
`,
// Template to define the Places in a GVL.
//
// Requires the following Input:
// {
// gvlId: '{uuid}',
// }
statesGVLTemplate:
`
`,
// Template to define a Functionblock.
//
// Requires the following Input:
// {
// fBId: '{uuid}',
// fbName: string,
// // String Containing the Declaration Part
// fbDeclaration: string,
// // String Containing the Implementation of the FB
// fbImplementation: string,
// // String Containing the Implementation of the Functions
// fbMethods: [{
// functionName: string,
// // Contains the Returnvalue.
// functionReturnValue: string,
// // Containing the Inputs
// functionInputs: string,
// // Containing the Implementation
// functionImplementation: string
// }],
// }
fbHeaderTemplate: `` +
`
{{#each fbMethods}}
{{> Methods}}
{{/each}}
`,
// Template to define a Method on a Function-Block.
//
// Requires the following Input:
// {
// functionId: '{uuid}',
// functionName: string,
// // Contains the Returnvalue.
// functionReturnValue: string,
// // Containing the Inputs
// functionInputs: string,
// // Containing the Implementation
// functionImplementation: string
// }
fbFunctionTemplate: `` + `
`
};