public class CreateFBlock_Instance_FBrd extends Write_FBlock_FBwr
Modifier and Type | Field and Description |
---|---|
private FBlock_Type_FBcl |
fbt |
dtypeMapping, fbOrig, stateCopy
fb
Constructor and Description |
---|
CreateFBlock_Instance_FBrd(FBlock_FBcl fb) |
CreateFBlock_Instance_FBrd(FBlock_Type_FBcl fbt,
java.lang.String name,
Module_FBcl inModule) |
Modifier and Type | Method and Description |
---|---|
private void |
copyDependingDatatypes() |
static CreateFBlock_Instance_FBrd |
createFBlockInstance(FBlock_Type_FBcl fbt,
java.lang.String name,
Write_Module_FBwr mdlwr,
int zEvInpin,
int zInpins,
int zOutpins)
Create a FBlock_FBcl in the module with given Type.
|
private void |
set(Write_Module_FBwr mdlwr,
int zEvInConnections,
int zInpinsGiven,
int zOutpinsGiven) |
addConnIn, addConnOut, addEventIn, addEventOut, getEvin, getEvinByName, getEvout, getPinin, getPinInByName, getPinout, getPinOutByName, isRewired, iterPinin, setDataTypeMapping, setDataTypeMapping, setRewired, toString
changeKind, clone_dtypes, createDataTypes, getConnInArray, getConnOutArray, getEvInArray, getEvOutArray, setDataTypes, setSteptime
private final FBlock_Type_FBcl fbt
CreateFBlock_Instance_FBrd(FBlock_Type_FBcl fbt, java.lang.String name, Module_FBcl inModule)
public CreateFBlock_Instance_FBrd(FBlock_FBcl fb)
public static CreateFBlock_Instance_FBrd createFBlockInstance(FBlock_Type_FBcl fbt, java.lang.String name, Write_Module_FBwr mdlwr, int zEvInpin, int zInpins, int zOutpins)
fbt
- The given typename
- mdlwr
- necessary because of Dout_FBcl#setLocalVar(org.vishia.fbcl.fblock.Module_FBcl.Create)
may be necessary.
It registers the necessity of a module instance variable here.zEvInpin
- 0 or number of variable number of event inputs.
It is possible that the type has lesser pins, supports multiple inputs of adequate type.zInpins
- 0 or number of variable number of data inputs.zOutpins
- 0 or number of variable number of data outputs of adequate type.private void set(Write_Module_FBwr mdlwr, int zEvInConnections, int zInpinsGiven, int zOutpinsGiven)
private void copyDependingDatatypes()