From d08ed1d9cd67e706ba9715aaac0bdb858b798762 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Sat, 21 Feb 2026 14:25:43 +0000
Subject: [PATCH 1/3] Initial plan
From 25e643cdaff2e27f09f2a810774405a1b6309ebe Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Sat, 21 Feb 2026 14:37:56 +0000
Subject: [PATCH 2/3] Add DoubleCarrierTest in C# and TypeScript; fix
TypeScript undefined output
Co-authored-by: jogibear9988 <364896+jogibear9988@users.noreply.github.com>
---
TiaCodeGen.Tests/SampleTests.cs | 1170 +++++++++--------
TiaCodegen-ts/dist/Blocks/Block.d.ts | 21 +
TiaCodegen-ts/dist/Blocks/Block.d.ts.map | 1 +
TiaCodegen-ts/dist/Blocks/Block.js | 89 ++
TiaCodegen-ts/dist/Blocks/Block.js.map | 1 +
TiaCodegen-ts/dist/Blocks/CodeBlock.d.ts | 7 +
TiaCodegen-ts/dist/Blocks/CodeBlock.d.ts.map | 1 +
TiaCodegen-ts/dist/Blocks/CodeBlock.js | 13 +
TiaCodegen-ts/dist/Blocks/CodeBlock.js.map | 1 +
TiaCodegen-ts/dist/Blocks/Network.d.ts | 10 +
TiaCodegen-ts/dist/Blocks/Network.d.ts.map | 1 +
TiaCodegen-ts/dist/Blocks/Network.js | 33 +
TiaCodegen-ts/dist/Blocks/Network.js.map | 1 +
TiaCodegen-ts/dist/CodeGen/KopCodeHelper.d.ts | 27 +
.../dist/CodeGen/KopCodeHelper.d.ts.map | 1 +
TiaCodegen-ts/dist/CodeGen/KopCodeHelper.js | 903 +++++++++++++
.../dist/CodeGen/KopCodeHelper.js.map | 1 +
TiaCodegen-ts/dist/Commands/And.d.ts | 6 +
TiaCodegen-ts/dist/Commands/And.d.ts.map | 1 +
TiaCodegen-ts/dist/Commands/And.js | 11 +
TiaCodegen-ts/dist/Commands/And.js.map | 1 +
.../dist/Commands/BaseOperationOrSignal.d.ts | 20 +
.../Commands/BaseOperationOrSignal.d.ts.map | 1 +
.../dist/Commands/BaseOperationOrSignal.js | 62 +
.../Commands/BaseOperationOrSignal.js.map | 1 +
.../dist/Commands/Coils/BaseCoil.d.ts | 18 +
.../dist/Commands/Coils/BaseCoil.d.ts.map | 1 +
TiaCodegen-ts/dist/Commands/Coils/BaseCoil.js | 37 +
.../dist/Commands/Coils/BaseCoil.js.map | 1 +
.../dist/Commands/Coils/BaseNPCoil.d.ts | 8 +
.../dist/Commands/Coils/BaseNPCoil.d.ts.map | 1 +
.../dist/Commands/Coils/BaseNPCoil.js | 15 +
.../dist/Commands/Coils/BaseNPCoil.js.map | 1 +
TiaCodegen-ts/dist/Commands/Coils/Coil.d.ts | 7 +
.../dist/Commands/Coils/Coil.d.ts.map | 1 +
TiaCodegen-ts/dist/Commands/Coils/Coil.js | 11 +
TiaCodegen-ts/dist/Commands/Coils/Coil.js.map | 1 +
TiaCodegen-ts/dist/Commands/Coils/PCoil.d.ts | 7 +
.../dist/Commands/Coils/PCoil.d.ts.map | 1 +
TiaCodegen-ts/dist/Commands/Coils/PCoil.js | 11 +
.../dist/Commands/Coils/PCoil.js.map | 1 +
TiaCodegen-ts/dist/Commands/Coils/RCoil.d.ts | 7 +
.../dist/Commands/Coils/RCoil.d.ts.map | 1 +
TiaCodegen-ts/dist/Commands/Coils/RCoil.js | 11 +
.../dist/Commands/Coils/RCoil.js.map | 1 +
TiaCodegen-ts/dist/Commands/Coils/SCoil.d.ts | 7 +
.../dist/Commands/Coils/SCoil.d.ts.map | 1 +
TiaCodegen-ts/dist/Commands/Coils/SCoil.js | 11 +
.../dist/Commands/Coils/SCoil.js.map | 1 +
.../Commands/Comparisons/CompareOperator.d.ts | 6 +
.../Comparisons/CompareOperator.d.ts.map | 1 +
.../Commands/Comparisons/CompareOperator.js | 11 +
.../Comparisons/CompareOperator.js.map | 1 +
.../dist/Commands/Comparisons/Eq.d.ts | 6 +
.../dist/Commands/Comparisons/Eq.d.ts.map | 1 +
TiaCodegen-ts/dist/Commands/Comparisons/Eq.js | 11 +
.../dist/Commands/Comparisons/Eq.js.map | 1 +
.../dist/Commands/Comparisons/Ge.d.ts | 6 +
.../dist/Commands/Comparisons/Ge.d.ts.map | 1 +
TiaCodegen-ts/dist/Commands/Comparisons/Ge.js | 11 +
.../dist/Commands/Comparisons/Ge.js.map | 1 +
.../dist/Commands/Comparisons/Gt.d.ts | 6 +
.../dist/Commands/Comparisons/Gt.d.ts.map | 1 +
TiaCodegen-ts/dist/Commands/Comparisons/Gt.js | 11 +
.../dist/Commands/Comparisons/Gt.js.map | 1 +
.../Commands/Comparisons/InRangeCall.d.ts | 6 +
.../Commands/Comparisons/InRangeCall.d.ts.map | 1 +
.../dist/Commands/Comparisons/InRangeCall.js | 22 +
.../Commands/Comparisons/InRangeCall.js.map | 1 +
.../dist/Commands/Comparisons/Le.d.ts | 6 +
.../dist/Commands/Comparisons/Le.d.ts.map | 1 +
TiaCodegen-ts/dist/Commands/Comparisons/Le.js | 11 +
.../dist/Commands/Comparisons/Le.js.map | 1 +
.../dist/Commands/Comparisons/Lt.d.ts | 6 +
.../dist/Commands/Comparisons/Lt.d.ts.map | 1 +
TiaCodegen-ts/dist/Commands/Comparisons/Lt.js | 11 +
.../dist/Commands/Comparisons/Lt.js.map | 1 +
.../dist/Commands/Comparisons/Ne.d.ts | 6 +
.../dist/Commands/Comparisons/Ne.d.ts.map | 1 +
TiaCodegen-ts/dist/Commands/Comparisons/Ne.js | 11 +
.../dist/Commands/Comparisons/Ne.js.map | 1 +
.../Commands/Comparisons/OutRangeCall.d.ts | 6 +
.../Comparisons/OutRangeCall.d.ts.map | 1 +
.../dist/Commands/Comparisons/OutRangeCall.js | 22 +
.../Commands/Comparisons/OutRangeCall.js.map | 1 +
TiaCodegen-ts/dist/Commands/Convert.d.ts | 7 +
TiaCodegen-ts/dist/Commands/Convert.d.ts.map | 1 +
TiaCodegen-ts/dist/Commands/Convert.js | 11 +
TiaCodegen-ts/dist/Commands/Convert.js.map | 1 +
TiaCodegen-ts/dist/Commands/Distributor.d.ts | 7 +
.../dist/Commands/Distributor.d.ts.map | 1 +
TiaCodegen-ts/dist/Commands/Distributor.js | 20 +
.../dist/Commands/Distributor.js.map | 1 +
.../dist/Commands/Functions/AckGlCall.d.ts | 6 +
.../Commands/Functions/AckGlCall.d.ts.map | 1 +
.../dist/Commands/Functions/AckGlCall.js | 23 +
.../dist/Commands/Functions/AckGlCall.js.map | 1 +
.../Functions/Arithmetic/AddCall.d.ts | 6 +
.../Functions/Arithmetic/AddCall.d.ts.map | 1 +
.../Commands/Functions/Arithmetic/AddCall.js | 70 +
.../Functions/Arithmetic/AddCall.js.map | 1 +
.../Functions/Arithmetic/ArithmeticCall.d.ts | 7 +
.../Arithmetic/ArithmeticCall.d.ts.map | 1 +
.../Functions/Arithmetic/ArithmeticCall.js | 12 +
.../Arithmetic/ArithmeticCall.js.map | 1 +
.../Functions/Arithmetic/DivCall.d.ts | 6 +
.../Functions/Arithmetic/DivCall.d.ts.map | 1 +
.../Commands/Functions/Arithmetic/DivCall.js | 22 +
.../Functions/Arithmetic/DivCall.js.map | 1 +
.../Functions/Arithmetic/ModCall.d.ts | 6 +
.../Functions/Arithmetic/ModCall.d.ts.map | 1 +
.../Commands/Functions/Arithmetic/ModCall.js | 22 +
.../Functions/Arithmetic/ModCall.js.map | 1 +
.../Functions/Arithmetic/MulCall.d.ts | 6 +
.../Functions/Arithmetic/MulCall.d.ts.map | 1 +
.../Commands/Functions/Arithmetic/MulCall.js | 70 +
.../Functions/Arithmetic/MulCall.js.map | 1 +
.../Functions/Arithmetic/SubCall.d.ts | 6 +
.../Functions/Arithmetic/SubCall.d.ts.map | 1 +
.../Commands/Functions/Arithmetic/SubCall.js | 22 +
.../Functions/Arithmetic/SubCall.js.map | 1 +
.../Arithmetic/VariableArithmeticCall.d.ts | 6 +
.../VariableArithmeticCall.d.ts.map | 1 +
.../Arithmetic/VariableArithmeticCall.js | 11 +
.../Arithmetic/VariableArithmeticCall.js.map | 1 +
.../Functions/Base/FunctionBlockCall.d.ts | 7 +
.../Functions/Base/FunctionBlockCall.d.ts.map | 1 +
.../Functions/Base/FunctionBlockCall.js | 12 +
.../Functions/Base/FunctionBlockCall.js.map | 1 +
.../Commands/Functions/Base/FunctionCall.d.ts | 25 +
.../Functions/Base/FunctionCall.d.ts.map | 1 +
.../Commands/Functions/Base/FunctionCall.js | 39 +
.../Functions/Base/FunctionCall.js.map | 1 +
.../Base/SystemFunctionBlockCall.d.ts | 9 +
.../Base/SystemFunctionBlockCall.d.ts.map | 1 +
.../Functions/Base/SystemFunctionBlockCall.js | 14 +
.../Base/SystemFunctionBlockCall.js.map | 1 +
.../Functions/Base/SystemFunctionCall.d.ts | 6 +
.../Base/SystemFunctionCall.d.ts.map | 1 +
.../Functions/Base/SystemFunctionCall.js | 11 +
.../Functions/Base/SystemFunctionCall.js.map | 1 +
.../dist/Commands/Functions/CTUCall.d.ts | 6 +
.../dist/Commands/Functions/CTUCall.d.ts.map | 1 +
.../dist/Commands/Functions/CTUCall.js | 25 +
.../dist/Commands/Functions/CTUCall.js.map | 1 +
.../dist/Commands/Functions/CTUDCall.d.ts | 6 +
.../dist/Commands/Functions/CTUDCall.d.ts.map | 1 +
.../dist/Commands/Functions/CTUDCall.js | 28 +
.../dist/Commands/Functions/CTUDCall.js.map | 1 +
.../dist/Commands/Functions/FDBACKCall.d.ts | 6 +
.../Commands/Functions/FDBACKCall.d.ts.map | 1 +
.../dist/Commands/Functions/FDBACKCall.js | 29 +
.../dist/Commands/Functions/FDBACKCall.js.map | 1 +
.../dist/Commands/Functions/FTrigCall.d.ts | 6 +
.../Commands/Functions/FTrigCall.d.ts.map | 1 +
.../dist/Commands/Functions/FTrigCall.js | 19 +
.../dist/Commands/Functions/FTrigCall.js.map | 1 +
.../dist/Commands/Functions/NTrigCall.d.ts | 8 +
.../Commands/Functions/NTrigCall.d.ts.map | 1 +
.../dist/Commands/Functions/NTrigCall.js | 12 +
.../dist/Commands/Functions/NTrigCall.js.map | 1 +
.../dist/Commands/Functions/PTrigCall.d.ts | 8 +
.../Commands/Functions/PTrigCall.d.ts.map | 1 +
.../dist/Commands/Functions/PTrigCall.js | 12 +
.../dist/Commands/Functions/PTrigCall.js.map | 1 +
.../dist/Commands/Functions/RTrigCall.d.ts | 6 +
.../Commands/Functions/RTrigCall.d.ts.map | 1 +
.../dist/Commands/Functions/RTrigCall.js | 19 +
.../dist/Commands/Functions/RTrigCall.js.map | 1 +
.../dist/Commands/Functions/TOFCall.d.ts | 6 +
.../dist/Commands/Functions/TOFCall.d.ts.map | 1 +
.../dist/Commands/Functions/TOFCall.js | 29 +
.../dist/Commands/Functions/TOFCall.js.map | 1 +
.../dist/Commands/Functions/TONCall.d.ts | 6 +
.../dist/Commands/Functions/TONCall.d.ts.map | 1 +
.../dist/Commands/Functions/TONCall.js | 29 +
.../dist/Commands/Functions/TONCall.js.map | 1 +
.../dist/Commands/Functions/TONRCall.d.ts | 6 +
.../dist/Commands/Functions/TONRCall.d.ts.map | 1 +
.../dist/Commands/Functions/TONRCall.js | 30 +
.../dist/Commands/Functions/TONRCall.js.map | 1 +
.../dist/Commands/Functions/TPCall.d.ts | 6 +
.../dist/Commands/Functions/TPCall.d.ts.map | 1 +
.../dist/Commands/Functions/TPCall.js | 29 +
.../dist/Commands/Functions/TPCall.js.map | 1 +
TiaCodegen-ts/dist/Commands/Move.d.ts | 9 +
TiaCodegen-ts/dist/Commands/Move.d.ts.map | 1 +
TiaCodegen-ts/dist/Commands/Move.js | 17 +
TiaCodegen-ts/dist/Commands/Move.js.map | 1 +
TiaCodegen-ts/dist/Commands/NCoil.d.ts | 7 +
TiaCodegen-ts/dist/Commands/NCoil.d.ts.map | 1 +
TiaCodegen-ts/dist/Commands/NCoil.js | 11 +
TiaCodegen-ts/dist/Commands/NCoil.js.map | 1 +
TiaCodegen-ts/dist/Commands/Not.d.ts | 15 +
TiaCodegen-ts/dist/Commands/Not.d.ts.map | 1 +
TiaCodegen-ts/dist/Commands/Not.js | 26 +
TiaCodegen-ts/dist/Commands/Not.js.map | 1 +
TiaCodegen-ts/dist/Commands/Or.d.ts | 7 +
TiaCodegen-ts/dist/Commands/Or.d.ts.map | 1 +
TiaCodegen-ts/dist/Commands/Or.js | 20 +
TiaCodegen-ts/dist/Commands/Or.js.map | 1 +
TiaCodegen-ts/dist/Commands/S_Move.d.ts | 9 +
TiaCodegen-ts/dist/Commands/S_Move.d.ts.map | 1 +
TiaCodegen-ts/dist/Commands/S_Move.js | 17 +
TiaCodegen-ts/dist/Commands/S_Move.js.map | 1 +
.../dist/Commands/Signals/FixedSignal.d.ts | 2 +
.../Commands/Signals/FixedSignal.d.ts.map | 1 +
.../dist/Commands/Signals/FixedSignal.js | 8 +
.../dist/Commands/Signals/FixedSignal.js.map | 1 +
.../dist/Commands/Signals/Signal.d.ts | 30 +
.../dist/Commands/Signals/Signal.d.ts.map | 1 +
TiaCodegen-ts/dist/Commands/Signals/Signal.js | 373 ++++++
.../dist/Commands/Signals/Signal.js.map | 1 +
TiaCodegen-ts/dist/Enums/Direction.d.ts | 8 +
TiaCodegen-ts/dist/Enums/Direction.d.ts.map | 1 +
TiaCodegen-ts/dist/Enums/Direction.js | 12 +
TiaCodegen-ts/dist/Enums/Direction.js.map | 1 +
TiaCodegen-ts/dist/Enums/SignalType.d.ts | 28 +
TiaCodegen-ts/dist/Enums/SignalType.d.ts.map | 1 +
TiaCodegen-ts/dist/Enums/SignalType.js | 32 +
TiaCodegen-ts/dist/Enums/SignalType.js.map | 1 +
.../dist/Extensions/NaturalComparer.d.ts | 5 +
.../dist/Extensions/NaturalComparer.d.ts.map | 1 +
.../dist/Extensions/NaturalComparer.js | 45 +
.../dist/Extensions/NaturalComparer.js.map | 1 +
.../OperationOrSignalExtensions.d.ts | 3 +
.../OperationOrSignalExtensions.d.ts.map | 1 +
.../Extensions/OperationOrSignalExtensions.js | 13 +
.../OperationOrSignalExtensions.js.map | 1 +
TiaCodegen-ts/dist/Interfaces/ICoil.d.ts | 3 +
TiaCodegen-ts/dist/Interfaces/ICoil.d.ts.map | 1 +
TiaCodegen-ts/dist/Interfaces/ICoil.js | 3 +
TiaCodegen-ts/dist/Interfaces/ICoil.js.map | 1 +
.../dist/Interfaces/IFunctionOperation.d.ts | 3 +
.../Interfaces/IFunctionOperation.d.ts.map | 1 +
.../dist/Interfaces/IFunctionOperation.js | 3 +
.../dist/Interfaces/IFunctionOperation.js.map | 1 +
.../dist/Interfaces/IOperationOrSignal.d.ts | 12 +
.../Interfaces/IOperationOrSignal.d.ts.map | 1 +
.../dist/Interfaces/IOperationOrSignal.js | 3 +
.../dist/Interfaces/IOperationOrSignal.js.map | 1 +
.../IOperationOrSignalDirectionWrapper.d.ts | 11 +
...OperationOrSignalDirectionWrapper.d.ts.map | 1 +
.../IOperationOrSignalDirectionWrapper.js | 13 +
.../IOperationOrSignalDirectionWrapper.js.map | 1 +
TiaCodegen-ts/dist/Interfaces/IPartName.d.ts | 4 +
.../dist/Interfaces/IPartName.d.ts.map | 1 +
TiaCodegen-ts/dist/Interfaces/IPartName.js | 3 +
.../dist/Interfaces/IPartName.js.map | 1 +
.../dist/Internal/IEnumerableExtensions.d.ts | 2 +
.../Internal/IEnumerableExtensions.d.ts.map | 1 +
.../dist/Internal/IEnumerableExtensions.js | 9 +
.../Internal/IEnumerableExtensions.js.map | 1 +
TiaCodegen-ts/dist/index.d.ts | 64 +
TiaCodegen-ts/dist/index.d.ts.map | 1 +
TiaCodegen-ts/dist/index.js | 138 ++
TiaCodegen-ts/dist/index.js.map | 1 +
TiaCodegen-ts/dist/utils/StringBuilder.d.ts | 8 +
.../dist/utils/StringBuilder.d.ts.map | 1 +
TiaCodegen-ts/dist/utils/StringBuilder.js | 24 +
TiaCodegen-ts/dist/utils/StringBuilder.js.map | 1 +
TiaCodegen-ts/package-lock.json | 1 +
TiaCodegen-ts/src/Blocks/Block.ts | 6 +-
TiaCodegen-ts/src/CodeGen/KopCodeHelper.ts | 4 +-
TiaCodegen-ts/tests/SampleTests.test.ts | 36 +-
265 files changed, 4100 insertions(+), 574 deletions(-)
create mode 100644 TiaCodegen-ts/dist/Blocks/Block.d.ts
create mode 100644 TiaCodegen-ts/dist/Blocks/Block.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Blocks/Block.js
create mode 100644 TiaCodegen-ts/dist/Blocks/Block.js.map
create mode 100644 TiaCodegen-ts/dist/Blocks/CodeBlock.d.ts
create mode 100644 TiaCodegen-ts/dist/Blocks/CodeBlock.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Blocks/CodeBlock.js
create mode 100644 TiaCodegen-ts/dist/Blocks/CodeBlock.js.map
create mode 100644 TiaCodegen-ts/dist/Blocks/Network.d.ts
create mode 100644 TiaCodegen-ts/dist/Blocks/Network.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Blocks/Network.js
create mode 100644 TiaCodegen-ts/dist/Blocks/Network.js.map
create mode 100644 TiaCodegen-ts/dist/CodeGen/KopCodeHelper.d.ts
create mode 100644 TiaCodegen-ts/dist/CodeGen/KopCodeHelper.d.ts.map
create mode 100644 TiaCodegen-ts/dist/CodeGen/KopCodeHelper.js
create mode 100644 TiaCodegen-ts/dist/CodeGen/KopCodeHelper.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/And.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/And.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/And.js
create mode 100644 TiaCodegen-ts/dist/Commands/And.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.js
create mode 100644 TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/BaseCoil.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/BaseCoil.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/BaseCoil.js
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/BaseCoil.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.js
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/Coil.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/Coil.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/Coil.js
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/Coil.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/PCoil.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/PCoil.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/PCoil.js
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/PCoil.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/RCoil.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/RCoil.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/RCoil.js
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/RCoil.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/SCoil.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/SCoil.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/SCoil.js
create mode 100644 TiaCodegen-ts/dist/Commands/Coils/SCoil.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.js
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Eq.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Eq.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Eq.js
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Eq.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Ge.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Ge.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Ge.js
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Ge.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Gt.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Gt.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Gt.js
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Gt.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Le.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Le.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Le.js
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Le.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Lt.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Lt.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Lt.js
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Lt.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Ne.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Ne.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Ne.js
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Ne.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Convert.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Convert.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Convert.js
create mode 100644 TiaCodegen-ts/dist/Commands/Convert.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Distributor.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Distributor.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Distributor.js
create mode 100644 TiaCodegen-ts/dist/Commands/Distributor.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/AckGlCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/AckGlCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/AckGlCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/AckGlCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/CTUCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/CTUCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/CTUCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/CTUCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/CTUDCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/CTUDCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/CTUDCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/CTUDCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/FTrigCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/FTrigCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/FTrigCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/FTrigCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/NTrigCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/NTrigCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/NTrigCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/NTrigCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/PTrigCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/PTrigCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/PTrigCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/PTrigCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/RTrigCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/RTrigCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/RTrigCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/RTrigCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/TOFCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/TOFCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/TOFCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/TOFCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/TONCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/TONCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/TONCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/TONCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/TONRCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/TONRCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/TONRCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/TONRCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/TPCall.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/TPCall.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/TPCall.js
create mode 100644 TiaCodegen-ts/dist/Commands/Functions/TPCall.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Move.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Move.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Move.js
create mode 100644 TiaCodegen-ts/dist/Commands/Move.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/NCoil.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/NCoil.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/NCoil.js
create mode 100644 TiaCodegen-ts/dist/Commands/NCoil.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Not.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Not.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Not.js
create mode 100644 TiaCodegen-ts/dist/Commands/Not.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Or.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Or.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Or.js
create mode 100644 TiaCodegen-ts/dist/Commands/Or.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/S_Move.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/S_Move.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/S_Move.js
create mode 100644 TiaCodegen-ts/dist/Commands/S_Move.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Signals/FixedSignal.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Signals/FixedSignal.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Signals/FixedSignal.js
create mode 100644 TiaCodegen-ts/dist/Commands/Signals/FixedSignal.js.map
create mode 100644 TiaCodegen-ts/dist/Commands/Signals/Signal.d.ts
create mode 100644 TiaCodegen-ts/dist/Commands/Signals/Signal.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Commands/Signals/Signal.js
create mode 100644 TiaCodegen-ts/dist/Commands/Signals/Signal.js.map
create mode 100644 TiaCodegen-ts/dist/Enums/Direction.d.ts
create mode 100644 TiaCodegen-ts/dist/Enums/Direction.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Enums/Direction.js
create mode 100644 TiaCodegen-ts/dist/Enums/Direction.js.map
create mode 100644 TiaCodegen-ts/dist/Enums/SignalType.d.ts
create mode 100644 TiaCodegen-ts/dist/Enums/SignalType.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Enums/SignalType.js
create mode 100644 TiaCodegen-ts/dist/Enums/SignalType.js.map
create mode 100644 TiaCodegen-ts/dist/Extensions/NaturalComparer.d.ts
create mode 100644 TiaCodegen-ts/dist/Extensions/NaturalComparer.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Extensions/NaturalComparer.js
create mode 100644 TiaCodegen-ts/dist/Extensions/NaturalComparer.js.map
create mode 100644 TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.d.ts
create mode 100644 TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.js
create mode 100644 TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.js.map
create mode 100644 TiaCodegen-ts/dist/Interfaces/ICoil.d.ts
create mode 100644 TiaCodegen-ts/dist/Interfaces/ICoil.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Interfaces/ICoil.js
create mode 100644 TiaCodegen-ts/dist/Interfaces/ICoil.js.map
create mode 100644 TiaCodegen-ts/dist/Interfaces/IFunctionOperation.d.ts
create mode 100644 TiaCodegen-ts/dist/Interfaces/IFunctionOperation.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Interfaces/IFunctionOperation.js
create mode 100644 TiaCodegen-ts/dist/Interfaces/IFunctionOperation.js.map
create mode 100644 TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.d.ts
create mode 100644 TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.js
create mode 100644 TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.js.map
create mode 100644 TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.d.ts
create mode 100644 TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.js
create mode 100644 TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.js.map
create mode 100644 TiaCodegen-ts/dist/Interfaces/IPartName.d.ts
create mode 100644 TiaCodegen-ts/dist/Interfaces/IPartName.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Interfaces/IPartName.js
create mode 100644 TiaCodegen-ts/dist/Interfaces/IPartName.js.map
create mode 100644 TiaCodegen-ts/dist/Internal/IEnumerableExtensions.d.ts
create mode 100644 TiaCodegen-ts/dist/Internal/IEnumerableExtensions.d.ts.map
create mode 100644 TiaCodegen-ts/dist/Internal/IEnumerableExtensions.js
create mode 100644 TiaCodegen-ts/dist/Internal/IEnumerableExtensions.js.map
create mode 100644 TiaCodegen-ts/dist/index.d.ts
create mode 100644 TiaCodegen-ts/dist/index.d.ts.map
create mode 100644 TiaCodegen-ts/dist/index.js
create mode 100644 TiaCodegen-ts/dist/index.js.map
create mode 100644 TiaCodegen-ts/dist/utils/StringBuilder.d.ts
create mode 100644 TiaCodegen-ts/dist/utils/StringBuilder.d.ts.map
create mode 100644 TiaCodegen-ts/dist/utils/StringBuilder.js
create mode 100644 TiaCodegen-ts/dist/utils/StringBuilder.js.map
diff --git a/TiaCodeGen.Tests/SampleTests.cs b/TiaCodeGen.Tests/SampleTests.cs
index c161b39..dac9d01 100644
--- a/TiaCodeGen.Tests/SampleTests.cs
+++ b/TiaCodeGen.Tests/SampleTests.cs
@@ -1,568 +1,602 @@
-using NUnit.Framework;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.Linq;
-using System.Text;
-using TiaCodegen.Blocks;
-using TiaCodegen.Commands;
-using TiaCodegen.Commands.Coils;
-using TiaCodegen.Commands.Comparisons;
-using TiaCodegen.Commands.Functions;
-using TiaCodegen.Commands.Functions.Base;
-using TiaCodegen.Commands.Signals;
-using TiaCodegen.Enums;
-using TiaCodegen.Interfaces;
-
-namespace TiaCodegen.Samples
-{
- [TestFixture]
- public class SampleTests
- {
- const string TestInterface = @"
-
-
-
-
-
- Initial call of this OB
-
-
-
-
- =True, if remanent data are available
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-";
-
- [Test]
- public void CreateBlock1()
- {
- var codeblock = new CodeBlock();
- var nw = new Network("Test1", "Test1en");
-
- nw.Add(
- new And(
- new Signal("#Bool1"),
- new Distributor
- (
- new RCoil(new Signal("#Bool2")),
- new Coil(new Signal("#Bool3"))
- )));
-
- codeblock.Add(nw);
-
- var block = new Block("Test", "blabla", codeblock);
- block.Interface = TestInterface;
- var xml = block.GetCode();
- }
-
- [Test]
- public void CreateBlock2()
- {
- var codeblock = new CodeBlock();
-
- var nw = new Network("Test2", "Test2en");
- nw.Add(
- new And(
- new Signal("#Bool1"),
- new Signal("#Bool2"),
- new Convert(
- new Signal("#Real1", SignalType.Real),
- new Signal("#Dint2", SignalType.DInt)
- ),
- new Distributor(
- new And(
- new Move(
- new Signal("#Real3"),
- new Signal("#Real4")
- ),
- new SCoil(new Signal("#Bool3"))
- ),
- new And(
- new Gt(
- new Signal("#Real1", SignalType.Real),
- new Signal("#Real2", SignalType.Real)
- ),
- new SCoil(new Signal("#Bool4"))
- )
- )
- )
- );
-
- codeblock.Add(nw);
-
- var block = new Block("Test", "blabla", codeblock);
- var xml = block.GetCode();
- block.Interface = TestInterface;
- }
-
- [Test]
- public void CreateBlock3()
- {
- var codeblock = new CodeBlock();
-
- var nw = new Network("Test2", "Test2en");
- nw.Add(
- new Coil(
- new Signal("#Bool1"),
- new And(
- new Signal("#Bool2"),
- new Or(
- new Signal("#Bool3"),
- new And(
- new Signal("#Bool1"),
- new Signal("#Bool4")
- )
- )
- )
- )
- );
-
- codeblock.Add(nw);
-
- var block = new Block("Test", "blabla", codeblock);
- block.Interface = TestInterface;
- var xml = block.GetCode();
- }
-
- [Test]
- public void DynamicSample1()
- {
- var codeblock = new CodeBlock();
-
- var signals = new List() { "#Bool1", "#Bool2", "#Bool3" };
- var and = new And();
- foreach (var s in signals)
- and.Add(new Signal(s));
-
- var nw = new Network("Test2", "test2en");
- nw.Add(
- new Coil(
- new Signal("#Bool4"),
- and
- )
- );
-
- codeblock.Add(nw);
-
- var block = new Block("Test", "blabla", codeblock);
- block.Interface = TestInterface;
- var xml = block.GetCode();
- }
-
- [Test]
- public void TestCallWithOr()
- {
- var codeblock = new CodeBlock();
-
- var nw = new Network("Test2", "Test2en");
-
- var f = new FunctionBlockCall("CheckContour", "CheckContourInstance");
- f.Interface["BoolPar"] = new IOperationOrSignalDirectionWrapper(new Or(new Signal("P1"), new Signal("P2")), Direction.InOut);
- f.Children.AddRange(f.Interface.Values.Where(x => x.OperationOrSignal != null).Select(x => x.OperationOrSignal));
- nw.Add(f);
-
- codeblock.Add(nw);
-
- var block = new Block("Test", "blabla", codeblock);
- block.Interface = TestInterface;
- var xml = block.GetCode();
- }
-
- [Test]
- public void TestDistributor()
- {
- var codeblock = new CodeBlock();
-
- var nw = new Network("Test2", "Test2en");
- nw.Add(
- new And(
- new Not(new Signal("Tag_9")),
- new Distributor(
- new And(
- new Coil(new Signal("#monitoringSignal"))
- ),
- new And(
- new TONCall("OnDelaySafetyDoorSDA11N13", pt: new Signal("T#60s", SignalType.ConstantTime), q: null)
- )
- )
- )
- );
-
- codeblock.Add(nw);
-
- var block = new Block("Test", "blabla", codeblock);
- block.Interface = TestInterface;
- var xml = block.GetCode();
- }
-
- [Test]
- public void TestCallWithInRange()
- {
- var codeblock = new CodeBlock();
-
- var nw = new Network("Test2", "Test2en");
-
- var f = new InRangeCall(new Signal(1), new Signal(2), new Signal(3), new Coil(new Signal("MW0", SignalType.Int)));
- nw.Add(f);
-
- codeblock.Add(nw);
-
- var block = new Block("Test", "blabla", codeblock);
- block.Interface = TestInterface;
- var xml = block.GetCode();
- }
-
- [Test]
- public void TestCallWithTOn()
- {
- var codeblock = new CodeBlock() { Safety = true };
-
- var nw = new Network("Test2", "Test2en");
-
- var f = new TONCall("Hallo", pt: new Signal("T#4m", SignalType.ConstantTime));
- nw.Add(f);
-
- codeblock.Add(nw);
-
- var block = new Block("Test", "blabla", codeblock);
- block.Interface = TestInterface;
- var xml = block.GetCode();
- }
-
- [Test]
- public void TestCallWithCTU()
- {
- var codeblock = new CodeBlock() { Safety = false };
-
- var nw = new Network("Test2", "Test2en");
-
- var f = new And(new Signal("aa"), new CTUCall("Hallo", r: new Signal("bbb", SignalType.Bool), pv: new Signal("2", SignalType.ConstantInt), q: new Coil(new Signal("ccc", SignalType.Bool))));
- nw.Add(f);
-
- codeblock.Add(nw);
-
- var block = new Block("Test", "blabla", codeblock);
- block.Interface = TestInterface;
- var xml = block.GetCode();
- }
-
- [Test]
- public void TestCallWithTPAndDistributor()
- {
- var codeblock = new CodeBlock() { Safety = false };
-
- var nw = new Network("Test2", "Test2en");
- var and =
- new And(
- new Signal("#aaa"),
- new TPCall("PulseStartPrint",
- pt: new Signal("T#100ms", SignalType.ConstantTime),
- q: new Distributor(
- new Coil(new Signal("#bbbb")),
- new RCoil(new Signal("#cccc")),
- new SCoil(new Signal("#dddd"))
- )
- )
- );
-
- nw.Add(and);
-
- codeblock.Add(nw);
-
- var block = new Block("Test", "blabla", codeblock);
- block.Interface = TestInterface;
- var xml = block.GetCode();
- }
-
- [Test]
- public void DistributorWithOr()
- {
- var codeblock = new CodeBlock() { Safety = false };
-
- var nw = new Network("Test2", "Test2en");
- nw.Add(
- new And(
- new Signal("asd"),
- new Distributor(
- new SCoil(new Signal("x")),
- new And(
- new Or(
- new And(
- new Signal("a"),
- new Signal("h")
- ),
- new And(
- new Signal("b"),
- new Signal("f")
- )
- ),
- new SCoil(new Signal("c"))
- )
- )
- )
- );
-
- codeblock.Add(nw);
-
- var block = new Block("Test", "blabla", codeblock);
- block.Interface = TestInterface;
- var xml = block.GetCode();
- }
-
- [Test]
- public void MultipleOr()
- {
- var codeblock = new CodeBlock() { Safety = false };
-
- var nw = new Network("Test2", "Test2en");
- nw.Add(
- new Coil(
- new Signal("a"),
- new And(
- new Signal("1"),
- new Or(
- new And(
- new Or(
- new Signal("b"),
- new Signal("c")
- ),
- new Signal("d")
- ),
- new Signal("e")
- )
- )
- )
- );
-
- codeblock.Add(nw);
-
- var block = new Block("Test", "blabla", codeblock);
- block.Interface = TestInterface;
- var xml = block.GetCode();
- }
-
- [Test]
- public void PeripheryFixedSignal()
- {
- var codeblock = new CodeBlock() { Safety = false };
-
- var nw = new Network("Test3", "Test3en");
- nw.Add(
- new Coil(
- new FixedPeripherySignal("=PBG10.6+FBG11-BV1:4"),
- new And(
- new Signal("1")
- )
- )
- );
-
- codeblock.Add(nw);
-
- var block = new Block("Test", "blabla", codeblock);
- block.Interface = TestInterface;
- var xml = block.GetCode();
- }
-
- [Test]
- public void ComplexVariableAccessTest1()
- {
- var sb = new StringBuilder();
- var s = new Signal("#A.B.C[#D.E.F, 1]");
- s.AddXmlToStringBuilder(1, sb);
- var xml = sb.ToString();
- Assert.AreEqual("\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nDInt\r\n1\r\n\r\n\r\n\r\n\r\n\r\n".Replace("\n", "").Replace("\r", ""), xml.Replace("\n", "").Replace("\r", ""));
- }
-
- [Test]
- public void ComplexVariableAccessTest2()
- {
- var sb = new StringBuilder();
- var s = new Signal("#A.B.C[#D.E.F, #G.H.I]");
- s.AddXmlToStringBuilder(1, sb);
- var xml = sb.ToString();
- Assert.AreEqual("\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n".Replace("\n", "").Replace("\r", ""), xml.Replace("\n", "").Replace("\r", ""));
- }
-
- [Test]
- public void TestConstant()
- {
- var sb = new StringBuilder();
- var s = new Signal("AAA", SignalType.Constant);
- s.AddXmlToStringBuilder(1, sb);
- var xml = sb.ToString();
- Assert.AreEqual("\r\n\r\n\r\n\r\n".Replace("\n", "").Replace("\r", ""), xml.Replace("\n", "").Replace("\r", ""));
- }
-
- [Test]
- public void SystemFunctionDPXX_DAT()
- {
- var codeblock = new CodeBlock() { Safety = false };
-
- var nw = new Network("TestDPXX_DAT", "TestDPXX_DATen");
-
- var sf1 = new SystemFunctionCall("DPRD_DAT");
- sf1.Interface["LADDR"] = new IOperationOrSignalDirectionWrapper(new Signal("#Configuration.GeneralMoviC.ModuleHardwareID"), Direction.Input);
- sf1.Interface["RET_VAL"] = new IOperationOrSignalDirectionWrapper(new Signal("#retVal"), Direction.Output);
- sf1.Interface["RECORD"] = new IOperationOrSignalDirectionWrapper(new Signal("#PeripheryInputsMoviC"), Direction.Output);
- sf1.Children.AddRange(sf1.Interface.Values.Where(x => x.OperationOrSignal != null).Select(x => x.OperationOrSignal));
-
- nw.Add(sf1);
-
- codeblock.Add(nw);
-
- var block = new Block("Test", "blabla", codeblock);
- block.Interface = TestInterface;
- var xml = block.GetCode();
-
- //Assert.AreEqual("\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nDInt\r\n1\r\n\r\n\r\n\r\n\r\n\r\n".Replace("\n", "").Replace("\r", ""), xml.Replace("\n", "").Replace("\r", ""));
- }
-
- [Test]
- public void ComplexOr()
- {
- var codeblock = new CodeBlock() { Safety = false };
-
- var nw = new Network("T1", "T1");
-
- nw.Add(
- new Coil(
- new Signal("Test11"),
- new Or(
- new And(
- new Signal("Test1"),
- new Or(
- new And(
- new Signal("Test2"),
- new Or(
- new Signal("Test3"),
- new Signal("Test4")
- )
- { DebugInfo = "aaa" }
- ),
- new Signal("Test5")
- )
- { DebugInfo = "bbb" }
- ),
- new And(
- new Signal("Test6"),
- new Or(
- new And(
- new Signal("Test7"),
- new Or(
- new Signal("Test8"),
- new Signal("Test9")
- )
- { DebugInfo = "ccc" }
- ),
- new Signal("Test10")
- )
- { DebugInfo = "ddd" }
- )
- )
- { DebugInfo = "eee" }
- )
- );
- codeblock.Add(nw);
-
- var block = new Block("Test", "blabla", codeblock);
- block.Interface = TestInterface;
- var xml = block.GetCode();
- }
-
- [Test]
- public void ComplexOr2()
- {
- var codeblock = new CodeBlock() { Safety = false };
-
- var nw = new Network("T1", "T1");
-
- nw.Add(
- new Coil(
- new Signal("Test11"),
- new Or(
- new Signal("Test12"),
- new Or(
- new And(
- new Signal("Test1"),
- new Or(
- new And(
- new Signal("Test2"),
- new Or(
- new Signal("Test3"),
- new Signal("Test4")
- )
- ),
- new Signal("Test5")
- )
- ),
- new And(
- new Signal("Test6"),
- new Or(
- new And(
- new Signal("Test7"),
- new Or(
- new Signal("Test8"),
- new Signal("Test9")
- )
- ),
- new Signal("Test10")
- )
- )
- )
- )
- )
- );
- codeblock.Add(nw);
-
- var block = new Block("Test", "blabla", codeblock);
- block.Interface = TestInterface;
- var xml = block.GetCode();
- }
-
-
- [Test]
- public void Complex3()
- {
- var codeblock = new CodeBlock() { Safety = false };
-
- var nw = new Network("T1", "T1");
-
- nw.Add(
- new Coil(
- new Signal("Test11"),
- new And(
- new Signal("Test1"),
- new Or(
- new Signal("Test2")
- )
- )
- )
- );
- codeblock.Add(nw);
-
- var block = new Block("Test", "blabla", codeblock);
- block.Interface = TestInterface;
- var xml = block.GetCode();
- }
- }
-}
+using NUnit.Framework;
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Linq;
+using System.Text;
+using TiaCodegen.Blocks;
+using TiaCodegen.Commands;
+using TiaCodegen.Commands.Coils;
+using TiaCodegen.Commands.Comparisons;
+using TiaCodegen.Commands.Functions;
+using TiaCodegen.Commands.Functions.Base;
+using TiaCodegen.Commands.Signals;
+using TiaCodegen.Enums;
+using TiaCodegen.Interfaces;
+
+namespace TiaCodegen.Samples
+{
+ [TestFixture]
+ public class SampleTests
+ {
+ const string TestInterface = @"
+
+
+
+
+
+ Initial call of this OB
+
+
+
+
+ =True, if remanent data are available
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+";
+
+ [Test]
+ public void CreateBlock1()
+ {
+ var codeblock = new CodeBlock();
+ var nw = new Network("Test1", "Test1en");
+
+ nw.Add(
+ new And(
+ new Signal("#Bool1"),
+ new Distributor
+ (
+ new RCoil(new Signal("#Bool2")),
+ new Coil(new Signal("#Bool3"))
+ )));
+
+ codeblock.Add(nw);
+
+ var block = new Block("Test", "blabla", codeblock);
+ block.Interface = TestInterface;
+ var xml = block.GetCode();
+ }
+
+ [Test]
+ public void CreateBlock2()
+ {
+ var codeblock = new CodeBlock();
+
+ var nw = new Network("Test2", "Test2en");
+ nw.Add(
+ new And(
+ new Signal("#Bool1"),
+ new Signal("#Bool2"),
+ new Convert(
+ new Signal("#Real1", SignalType.Real),
+ new Signal("#Dint2", SignalType.DInt)
+ ),
+ new Distributor(
+ new And(
+ new Move(
+ new Signal("#Real3"),
+ new Signal("#Real4")
+ ),
+ new SCoil(new Signal("#Bool3"))
+ ),
+ new And(
+ new Gt(
+ new Signal("#Real1", SignalType.Real),
+ new Signal("#Real2", SignalType.Real)
+ ),
+ new SCoil(new Signal("#Bool4"))
+ )
+ )
+ )
+ );
+
+ codeblock.Add(nw);
+
+ var block = new Block("Test", "blabla", codeblock);
+ var xml = block.GetCode();
+ block.Interface = TestInterface;
+ }
+
+ [Test]
+ public void CreateBlock3()
+ {
+ var codeblock = new CodeBlock();
+
+ var nw = new Network("Test2", "Test2en");
+ nw.Add(
+ new Coil(
+ new Signal("#Bool1"),
+ new And(
+ new Signal("#Bool2"),
+ new Or(
+ new Signal("#Bool3"),
+ new And(
+ new Signal("#Bool1"),
+ new Signal("#Bool4")
+ )
+ )
+ )
+ )
+ );
+
+ codeblock.Add(nw);
+
+ var block = new Block("Test", "blabla", codeblock);
+ block.Interface = TestInterface;
+ var xml = block.GetCode();
+ }
+
+ [Test]
+ public void DynamicSample1()
+ {
+ var codeblock = new CodeBlock();
+
+ var signals = new List() { "#Bool1", "#Bool2", "#Bool3" };
+ var and = new And();
+ foreach (var s in signals)
+ and.Add(new Signal(s));
+
+ var nw = new Network("Test2", "test2en");
+ nw.Add(
+ new Coil(
+ new Signal("#Bool4"),
+ and
+ )
+ );
+
+ codeblock.Add(nw);
+
+ var block = new Block("Test", "blabla", codeblock);
+ block.Interface = TestInterface;
+ var xml = block.GetCode();
+ }
+
+ [Test]
+ public void TestCallWithOr()
+ {
+ var codeblock = new CodeBlock();
+
+ var nw = new Network("Test2", "Test2en");
+
+ var f = new FunctionBlockCall("CheckContour", "CheckContourInstance");
+ f.Interface["BoolPar"] = new IOperationOrSignalDirectionWrapper(new Or(new Signal("P1"), new Signal("P2")), Direction.InOut);
+ f.Children.AddRange(f.Interface.Values.Where(x => x.OperationOrSignal != null).Select(x => x.OperationOrSignal));
+ nw.Add(f);
+
+ codeblock.Add(nw);
+
+ var block = new Block("Test", "blabla", codeblock);
+ block.Interface = TestInterface;
+ var xml = block.GetCode();
+ }
+
+ [Test]
+ public void TestDistributor()
+ {
+ var codeblock = new CodeBlock();
+
+ var nw = new Network("Test2", "Test2en");
+ nw.Add(
+ new And(
+ new Not(new Signal("Tag_9")),
+ new Distributor(
+ new And(
+ new Coil(new Signal("#monitoringSignal"))
+ ),
+ new And(
+ new TONCall("OnDelaySafetyDoorSDA11N13", pt: new Signal("T#60s", SignalType.ConstantTime), q: null)
+ )
+ )
+ )
+ );
+
+ codeblock.Add(nw);
+
+ var block = new Block("Test", "blabla", codeblock);
+ block.Interface = TestInterface;
+ var xml = block.GetCode();
+ }
+
+ [Test]
+ public void TestCallWithInRange()
+ {
+ var codeblock = new CodeBlock();
+
+ var nw = new Network("Test2", "Test2en");
+
+ var f = new InRangeCall(new Signal(1), new Signal(2), new Signal(3), new Coil(new Signal("MW0", SignalType.Int)));
+ nw.Add(f);
+
+ codeblock.Add(nw);
+
+ var block = new Block("Test", "blabla", codeblock);
+ block.Interface = TestInterface;
+ var xml = block.GetCode();
+ }
+
+ [Test]
+ public void TestCallWithTOn()
+ {
+ var codeblock = new CodeBlock() { Safety = true };
+
+ var nw = new Network("Test2", "Test2en");
+
+ var f = new TONCall("Hallo", pt: new Signal("T#4m", SignalType.ConstantTime));
+ nw.Add(f);
+
+ codeblock.Add(nw);
+
+ var block = new Block("Test", "blabla", codeblock);
+ block.Interface = TestInterface;
+ var xml = block.GetCode();
+ }
+
+ [Test]
+ public void TestCallWithCTU()
+ {
+ var codeblock = new CodeBlock() { Safety = false };
+
+ var nw = new Network("Test2", "Test2en");
+
+ var f = new And(new Signal("aa"), new CTUCall("Hallo", r: new Signal("bbb", SignalType.Bool), pv: new Signal("2", SignalType.ConstantInt), q: new Coil(new Signal("ccc", SignalType.Bool))));
+ nw.Add(f);
+
+ codeblock.Add(nw);
+
+ var block = new Block("Test", "blabla", codeblock);
+ block.Interface = TestInterface;
+ var xml = block.GetCode();
+ }
+
+ [Test]
+ public void TestCallWithTPAndDistributor()
+ {
+ var codeblock = new CodeBlock() { Safety = false };
+
+ var nw = new Network("Test2", "Test2en");
+ var and =
+ new And(
+ new Signal("#aaa"),
+ new TPCall("PulseStartPrint",
+ pt: new Signal("T#100ms", SignalType.ConstantTime),
+ q: new Distributor(
+ new Coil(new Signal("#bbbb")),
+ new RCoil(new Signal("#cccc")),
+ new SCoil(new Signal("#dddd"))
+ )
+ )
+ );
+
+ nw.Add(and);
+
+ codeblock.Add(nw);
+
+ var block = new Block("Test", "blabla", codeblock);
+ block.Interface = TestInterface;
+ var xml = block.GetCode();
+ }
+
+ [Test]
+ public void DistributorWithOr()
+ {
+ var codeblock = new CodeBlock() { Safety = false };
+
+ var nw = new Network("Test2", "Test2en");
+ nw.Add(
+ new And(
+ new Signal("asd"),
+ new Distributor(
+ new SCoil(new Signal("x")),
+ new And(
+ new Or(
+ new And(
+ new Signal("a"),
+ new Signal("h")
+ ),
+ new And(
+ new Signal("b"),
+ new Signal("f")
+ )
+ ),
+ new SCoil(new Signal("c"))
+ )
+ )
+ )
+ );
+
+ codeblock.Add(nw);
+
+ var block = new Block("Test", "blabla", codeblock);
+ block.Interface = TestInterface;
+ var xml = block.GetCode();
+ }
+
+ [Test]
+ public void MultipleOr()
+ {
+ var codeblock = new CodeBlock() { Safety = false };
+
+ var nw = new Network("Test2", "Test2en");
+ nw.Add(
+ new Coil(
+ new Signal("a"),
+ new And(
+ new Signal("1"),
+ new Or(
+ new And(
+ new Or(
+ new Signal("b"),
+ new Signal("c")
+ ),
+ new Signal("d")
+ ),
+ new Signal("e")
+ )
+ )
+ )
+ );
+
+ codeblock.Add(nw);
+
+ var block = new Block("Test", "blabla", codeblock);
+ block.Interface = TestInterface;
+ var xml = block.GetCode();
+ }
+
+ [Test]
+ public void PeripheryFixedSignal()
+ {
+ var codeblock = new CodeBlock() { Safety = false };
+
+ var nw = new Network("Test3", "Test3en");
+ nw.Add(
+ new Coil(
+ new FixedPeripherySignal("=PBG10.6+FBG11-BV1:4"),
+ new And(
+ new Signal("1")
+ )
+ )
+ );
+
+ codeblock.Add(nw);
+
+ var block = new Block("Test", "blabla", codeblock);
+ block.Interface = TestInterface;
+ var xml = block.GetCode();
+ }
+
+ [Test]
+ public void ComplexVariableAccessTest1()
+ {
+ var sb = new StringBuilder();
+ var s = new Signal("#A.B.C[#D.E.F, 1]");
+ s.AddXmlToStringBuilder(1, sb);
+ var xml = sb.ToString();
+ Assert.AreEqual("\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nDInt\r\n1\r\n\r\n\r\n\r\n\r\n\r\n".Replace("\n", "").Replace("\r", ""), xml.Replace("\n", "").Replace("\r", ""));
+ }
+
+ [Test]
+ public void ComplexVariableAccessTest2()
+ {
+ var sb = new StringBuilder();
+ var s = new Signal("#A.B.C[#D.E.F, #G.H.I]");
+ s.AddXmlToStringBuilder(1, sb);
+ var xml = sb.ToString();
+ Assert.AreEqual("\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n".Replace("\n", "").Replace("\r", ""), xml.Replace("\n", "").Replace("\r", ""));
+ }
+
+ [Test]
+ public void TestConstant()
+ {
+ var sb = new StringBuilder();
+ var s = new Signal("AAA", SignalType.Constant);
+ s.AddXmlToStringBuilder(1, sb);
+ var xml = sb.ToString();
+ Assert.AreEqual("\r\n\r\n\r\n\r\n".Replace("\n", "").Replace("\r", ""), xml.Replace("\n", "").Replace("\r", ""));
+ }
+
+ [Test]
+ public void SystemFunctionDPXX_DAT()
+ {
+ var codeblock = new CodeBlock() { Safety = false };
+
+ var nw = new Network("TestDPXX_DAT", "TestDPXX_DATen");
+
+ var sf1 = new SystemFunctionCall("DPRD_DAT");
+ sf1.Interface["LADDR"] = new IOperationOrSignalDirectionWrapper(new Signal("#Configuration.GeneralMoviC.ModuleHardwareID"), Direction.Input);
+ sf1.Interface["RET_VAL"] = new IOperationOrSignalDirectionWrapper(new Signal("#retVal"), Direction.Output);
+ sf1.Interface["RECORD"] = new IOperationOrSignalDirectionWrapper(new Signal("#PeripheryInputsMoviC"), Direction.Output);
+ sf1.Children.AddRange(sf1.Interface.Values.Where(x => x.OperationOrSignal != null).Select(x => x.OperationOrSignal));
+
+ nw.Add(sf1);
+
+ codeblock.Add(nw);
+
+ var block = new Block("Test", "blabla", codeblock);
+ block.Interface = TestInterface;
+ var xml = block.GetCode();
+
+ //Assert.AreEqual("\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nDInt\r\n1\r\n\r\n\r\n\r\n\r\n\r\n".Replace("\n", "").Replace("\r", ""), xml.Replace("\n", "").Replace("\r", ""));
+ }
+
+ [Test]
+ public void ComplexOr()
+ {
+ var codeblock = new CodeBlock() { Safety = false };
+
+ var nw = new Network("T1", "T1");
+
+ nw.Add(
+ new Coil(
+ new Signal("Test11"),
+ new Or(
+ new And(
+ new Signal("Test1"),
+ new Or(
+ new And(
+ new Signal("Test2"),
+ new Or(
+ new Signal("Test3"),
+ new Signal("Test4")
+ )
+ { DebugInfo = "aaa" }
+ ),
+ new Signal("Test5")
+ )
+ { DebugInfo = "bbb" }
+ ),
+ new And(
+ new Signal("Test6"),
+ new Or(
+ new And(
+ new Signal("Test7"),
+ new Or(
+ new Signal("Test8"),
+ new Signal("Test9")
+ )
+ { DebugInfo = "ccc" }
+ ),
+ new Signal("Test10")
+ )
+ { DebugInfo = "ddd" }
+ )
+ )
+ { DebugInfo = "eee" }
+ )
+ );
+ codeblock.Add(nw);
+
+ var block = new Block("Test", "blabla", codeblock);
+ block.Interface = TestInterface;
+ var xml = block.GetCode();
+ }
+
+ [Test]
+ public void ComplexOr2()
+ {
+ var codeblock = new CodeBlock() { Safety = false };
+
+ var nw = new Network("T1", "T1");
+
+ nw.Add(
+ new Coil(
+ new Signal("Test11"),
+ new Or(
+ new Signal("Test12"),
+ new Or(
+ new And(
+ new Signal("Test1"),
+ new Or(
+ new And(
+ new Signal("Test2"),
+ new Or(
+ new Signal("Test3"),
+ new Signal("Test4")
+ )
+ ),
+ new Signal("Test5")
+ )
+ ),
+ new And(
+ new Signal("Test6"),
+ new Or(
+ new And(
+ new Signal("Test7"),
+ new Or(
+ new Signal("Test8"),
+ new Signal("Test9")
+ )
+ ),
+ new Signal("Test10")
+ )
+ )
+ )
+ )
+ )
+ );
+ codeblock.Add(nw);
+
+ var block = new Block("Test", "blabla", codeblock);
+ block.Interface = TestInterface;
+ var xml = block.GetCode();
+ }
+
+
+ [Test]
+ public void Complex3()
+ {
+ var codeblock = new CodeBlock() { Safety = false };
+
+ var nw = new Network("T1", "T1");
+
+ nw.Add(
+ new Coil(
+ new Signal("Test11"),
+ new And(
+ new Signal("Test1"),
+ new Or(
+ new Signal("Test2")
+ )
+ )
+ )
+ );
+ codeblock.Add(nw);
+
+ var block = new Block("Test", "blabla", codeblock);
+ block.Interface = TestInterface;
+ var xml = block.GetCode();
+ }
+
+ [Test]
+ public void DoubleCarrierTest()
+ {
+ var codeblock = new CodeBlock() { Safety = false };
+ var nw = new Network("Test", "Testen");
+
+ nw.Add(
+ new And(
+ new Eq(new Signal("#Configuration.General.SingleDoubleCarrier", SignalType.Int), new Signal(2)),
+ new Distributor(
+ new And(
+ new Or(
+ new Signal("#DoubleCarrier.Sensors.V[#Configuration.General.CoordinationAxisConveyor, 1]"),
+ new Signal("#DoubleCarrier.Sensors.R[#Configuration.General.CoordinationAxisConveyor, 1]")
+ ),
+ new Coil(new Signal("#CarrierGeneral.States.CarriageOccupied[2]"))
+ ),
+ new And(
+ new Signal("#DoubleCarrierData.MOrder.DataPresent"),
+ new Coil(new Signal("#CarrierGeneral.States.CarriageDataPresent[2]"))
+ )
+ )
+ )
+ );
+
+ codeblock.Add(nw);
+
+ var block = new Block("Test", "blabla", codeblock);
+ var xml = block.GetCode();
+
+ var expectedXml = @" General 1.0 Optimized Test LAD DInt2DInt2DInt1DInt1Int2Int2 LADde-DEen-GBde-DETesten-GBTesten de-DE blabla en-GB de-DE en-GB ";
+ Assert.AreEqual(expectedXml.Replace("\n", "").Replace("\r", ""), xml.Replace("\n", "").Replace("\r", ""));
+ }
+ }
+}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/Block.d.ts b/TiaCodegen-ts/dist/Blocks/Block.d.ts
new file mode 100644
index 0000000..ce8547f
--- /dev/null
+++ b/TiaCodegen-ts/dist/Blocks/Block.d.ts
@@ -0,0 +1,21 @@
+import { CodeBlock } from './CodeBlock';
+export declare class Block {
+ name: string;
+ number: number;
+ private codeBlock;
+ title: string | undefined;
+ titleEnglish: string | undefined;
+ comment: string | undefined;
+ commentEnglish: string | undefined;
+ author: string | undefined;
+ blockInterface: string;
+ constructor(name: string, title: string, codeBlock: CodeBlock);
+ getCode(): string;
+ getBlockHeader(idRef: {
+ value: number;
+ }): string;
+ getBlockFooter(idRef: {
+ value: number;
+ }): string;
+}
+//# sourceMappingURL=Block.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/Block.d.ts.map b/TiaCodegen-ts/dist/Blocks/Block.d.ts.map
new file mode 100644
index 0000000..b817bf7
--- /dev/null
+++ b/TiaCodegen-ts/dist/Blocks/Block.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"Block.d.ts","sourceRoot":"","sources":["../../src/Blocks/Block.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,qBAAa,KAAK;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAK;IACnB,OAAO,CAAC,SAAS,CAAY;IAC7B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;gBAEX,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS;IAqB7D,OAAO,IAAI,MAAM;IAQjB,cAAc,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM;IAiBhD,cAAc,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM;CAsCnD"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/Block.js b/TiaCodegen-ts/dist/Blocks/Block.js
new file mode 100644
index 0000000..1c0add3
--- /dev/null
+++ b/TiaCodegen-ts/dist/Blocks/Block.js
@@ -0,0 +1,89 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.Block = void 0;
+const KopCodeHelper_1 = require("../CodeGen/KopCodeHelper");
+class Block {
+ constructor(name, title, codeBlock) {
+ this.number = 0;
+ this.name = name;
+ this.title = title;
+ this.codeBlock = codeBlock;
+ this.blockInterface = `
+
+
+
+
+
+
+
+
+
+
+`;
+ }
+ getCode() {
+ const idRef = { value: 0 };
+ let code = this.getBlockHeader(idRef);
+ code += new KopCodeHelper_1.KopCodeHelper(this.codeBlock).getXml(idRef);
+ code += this.getBlockFooter(idRef);
+ return code;
+ }
+ getBlockHeader(idRef) {
+ const header = `
+
+
+ ${this.author !== undefined && this.author !== null ? '' + this.author + '' : ''}
+ General
+ 1.0
+ Optimized
+ ${this.name}
+ ${this.number !== 0 ? '' + this.number + '' : ''}
+
+ LAD
+
+ `;
+ return header;
+ }
+ getBlockFooter(idRef) {
+ const footer = `
+
+
+
+
+ de-DE
+ ${this.title}
+
+
+
+
+ en-GB
+ ${this.titleEnglish ?? ''}
+
+
+
+
+
+
+
+
+ de-DE
+ ${this.comment ?? ''}
+
+
+
+
+ en-GB
+ ${this.commentEnglish ?? ''}
+
+
+
+
+
+ `;
+ return footer;
+ }
+}
+exports.Block = Block;
+//# sourceMappingURL=Block.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/Block.js.map b/TiaCodegen-ts/dist/Blocks/Block.js.map
new file mode 100644
index 0000000..f1c7ffa
--- /dev/null
+++ b/TiaCodegen-ts/dist/Blocks/Block.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"Block.js","sourceRoot":"","sources":["../../src/Blocks/Block.ts"],"names":[],"mappings":";;;AACA,4DAAyD;AAEzD,MAAa,KAAK;IAWd,YAAY,IAAY,EAAE,KAAa,EAAE,SAAoB;QAT7D,WAAM,GAAW,CAAC,CAAC;QAUf,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAE3B,IAAI,CAAC,cAAc,GAAG;;;;;;;;;;;;;CAa7B,CAAC;IACE,CAAC;IAED,OAAO;QACH,MAAM,KAAK,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;QAC3B,IAAI,IAAI,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QACtC,IAAI,IAAI,IAAI,6BAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACxD,IAAI,IAAI,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,cAAc,CAAC,KAAwB;QACnC,MAAM,MAAM,GAAG;oBACH,KAAK,CAAC,KAAK,EAAE;;QAEzB,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,gBAAgB,GAAG,IAAI,CAAC,MAAM,GAAG,iBAAiB,CAAC,CAAC,CAAC,EAAE;;;;cAIrG,IAAI,CAAC,IAAI;GACpB,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,UAAU,GAAG,IAAI,CAAC,MAAM,GAAG,WAAW,CAAC,CAAC,CAAC,EAAE;;;;iBAIjD,CAAC;QACV,OAAO,MAAM,CAAC;IAClB,CAAC;IAED,cAAc,CAAC,KAAwB;QACnC,MAAM,MAAM,GAAG;8BACO,KAAK,CAAC,KAAK,EAAE;;sCAEL,KAAK,CAAC,KAAK,EAAE;;;sBAG7B,IAAI,CAAC,KAAK;;;sCAGM,KAAK,CAAC,KAAK,EAAE;;;sBAG7B,IAAI,CAAC,YAAY,IAAI,EAAE;;;;;8BAKf,KAAK,CAAC,KAAK,EAAE;;sCAEL,KAAK,CAAC,KAAK,EAAE;;;sBAG7B,IAAI,CAAC,OAAO,IAAI,EAAE;;;sCAGF,KAAK,CAAC,KAAK,EAAE;;;sBAG7B,IAAI,CAAC,cAAc,IAAI,EAAE;;;;;;kBAM7B,CAAC;QACX,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AA/FD,sBA+FC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/CodeBlock.d.ts b/TiaCodegen-ts/dist/Blocks/CodeBlock.d.ts
new file mode 100644
index 0000000..dffe45c
--- /dev/null
+++ b/TiaCodegen-ts/dist/Blocks/CodeBlock.d.ts
@@ -0,0 +1,7 @@
+import { BaseOperationOrSignal } from '../Commands/BaseOperationOrSignal';
+export declare class CodeBlock extends BaseOperationOrSignal {
+ name: string;
+ safety: boolean;
+ constructor(name?: string);
+}
+//# sourceMappingURL=CodeBlock.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/CodeBlock.d.ts.map b/TiaCodegen-ts/dist/Blocks/CodeBlock.d.ts.map
new file mode 100644
index 0000000..23646af
--- /dev/null
+++ b/TiaCodegen-ts/dist/Blocks/CodeBlock.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"CodeBlock.d.ts","sourceRoot":"","sources":["../../src/Blocks/CodeBlock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAE1E,qBAAa,SAAU,SAAQ,qBAAqB;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,CAAS;gBAEZ,IAAI,GAAE,MAAW;CAIhC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/CodeBlock.js b/TiaCodegen-ts/dist/Blocks/CodeBlock.js
new file mode 100644
index 0000000..e0b89e5
--- /dev/null
+++ b/TiaCodegen-ts/dist/Blocks/CodeBlock.js
@@ -0,0 +1,13 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.CodeBlock = void 0;
+const BaseOperationOrSignal_1 = require("../Commands/BaseOperationOrSignal");
+class CodeBlock extends BaseOperationOrSignal_1.BaseOperationOrSignal {
+ constructor(name = '') {
+ super();
+ this.safety = false;
+ this.name = name;
+ }
+}
+exports.CodeBlock = CodeBlock;
+//# sourceMappingURL=CodeBlock.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/CodeBlock.js.map b/TiaCodegen-ts/dist/Blocks/CodeBlock.js.map
new file mode 100644
index 0000000..22c4680
--- /dev/null
+++ b/TiaCodegen-ts/dist/Blocks/CodeBlock.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"CodeBlock.js","sourceRoot":"","sources":["../../src/Blocks/CodeBlock.ts"],"names":[],"mappings":";;;AAAA,6EAA0E;AAE1E,MAAa,SAAU,SAAQ,6CAAqB;IAIhD,YAAY,OAAe,EAAE;QACzB,KAAK,EAAE,CAAC;QAHZ,WAAM,GAAY,KAAK,CAAC;QAIpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;CACJ;AARD,8BAQC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/Network.d.ts b/TiaCodegen-ts/dist/Blocks/Network.d.ts
new file mode 100644
index 0000000..1ec87c0
--- /dev/null
+++ b/TiaCodegen-ts/dist/Blocks/Network.d.ts
@@ -0,0 +1,10 @@
+import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
+import { BaseOperationOrSignal } from '../Commands/BaseOperationOrSignal';
+export declare class Network extends BaseOperationOrSignal {
+ networkTitle: string | undefined;
+ description: string | undefined;
+ networkTitleEnglish: string | undefined;
+ descriptionEnglish: string | undefined;
+ constructor(networkTitleOrOp?: string | IOperationOrSignal, networkTitleEnglishOrOp?: string | IOperationOrSignal, ...operationOrSignals: IOperationOrSignal[]);
+}
+//# sourceMappingURL=Network.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/Network.d.ts.map b/TiaCodegen-ts/dist/Blocks/Network.d.ts.map
new file mode 100644
index 0000000..9190053
--- /dev/null
+++ b/TiaCodegen-ts/dist/Blocks/Network.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"Network.d.ts","sourceRoot":"","sources":["../../src/Blocks/Network.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAE1E,qBAAa,OAAQ,SAAQ,qBAAqB;IAC9C,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;gBAGnC,gBAAgB,CAAC,EAAE,MAAM,GAAG,kBAAkB,EAC9C,uBAAuB,CAAC,EAAE,MAAM,GAAG,kBAAkB,EACrD,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;CAwBlD"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/Network.js b/TiaCodegen-ts/dist/Blocks/Network.js
new file mode 100644
index 0000000..9d33a51
--- /dev/null
+++ b/TiaCodegen-ts/dist/Blocks/Network.js
@@ -0,0 +1,33 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.Network = void 0;
+const BaseOperationOrSignal_1 = require("../Commands/BaseOperationOrSignal");
+class Network extends BaseOperationOrSignal_1.BaseOperationOrSignal {
+ constructor(networkTitleOrOp, networkTitleEnglishOrOp, ...operationOrSignals) {
+ super();
+ if (typeof networkTitleOrOp === 'string') {
+ this.networkTitle = networkTitleOrOp;
+ this.networkTitleEnglish = typeof networkTitleEnglishOrOp === 'string'
+ ? networkTitleEnglishOrOp
+ : undefined;
+ if (networkTitleEnglishOrOp !== undefined && typeof networkTitleEnglishOrOp !== 'string') {
+ this.children.push(networkTitleEnglishOrOp);
+ }
+ for (const op of operationOrSignals) {
+ this.children.push(op);
+ }
+ }
+ else {
+ if (networkTitleOrOp !== undefined)
+ this.children.push(networkTitleOrOp);
+ if (networkTitleEnglishOrOp !== undefined && typeof networkTitleEnglishOrOp !== 'string') {
+ this.children.push(networkTitleEnglishOrOp);
+ }
+ for (const op of operationOrSignals) {
+ this.children.push(op);
+ }
+ }
+ }
+}
+exports.Network = Network;
+//# sourceMappingURL=Network.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/Network.js.map b/TiaCodegen-ts/dist/Blocks/Network.js.map
new file mode 100644
index 0000000..3bd43ea
--- /dev/null
+++ b/TiaCodegen-ts/dist/Blocks/Network.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"Network.js","sourceRoot":"","sources":["../../src/Blocks/Network.ts"],"names":[],"mappings":";;;AACA,6EAA0E;AAE1E,MAAa,OAAQ,SAAQ,6CAAqB;IAM9C,YACI,gBAA8C,EAC9C,uBAAqD,EACrD,GAAG,kBAAwC;QAE3C,KAAK,EAAE,CAAC;QACR,IAAI,OAAO,gBAAgB,KAAK,QAAQ,EAAE,CAAC;YACvC,IAAI,CAAC,YAAY,GAAG,gBAAgB,CAAC;YACrC,IAAI,CAAC,mBAAmB,GAAG,OAAO,uBAAuB,KAAK,QAAQ;gBAClE,CAAC,CAAC,uBAAuB;gBACzB,CAAC,CAAC,SAAS,CAAC;YAChB,IAAI,uBAAuB,KAAK,SAAS,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;gBACvF,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;YAChD,CAAC;YACD,KAAK,MAAM,EAAE,IAAI,kBAAkB,EAAE,CAAC;gBAClC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YAC3B,CAAC;QACL,CAAC;aAAM,CAAC;YACJ,IAAI,gBAAgB,KAAK,SAAS;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;YACzE,IAAI,uBAAuB,KAAK,SAAS,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;gBACvF,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;YAChD,CAAC;YACD,KAAK,MAAM,EAAE,IAAI,kBAAkB,EAAE,CAAC;gBAClC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YAC3B,CAAC;QACL,CAAC;IACL,CAAC;CACJ;AAjCD,0BAiCC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.d.ts b/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.d.ts
new file mode 100644
index 0000000..fc1abc7
--- /dev/null
+++ b/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.d.ts
@@ -0,0 +1,27 @@
+import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
+import { CodeBlock } from '../Blocks/CodeBlock';
+export declare class KopCodeHelper {
+ static flattenOrdered(e: T[], f: (t: T) => T[]): T[];
+ private _currentId;
+ private _block;
+ private _sb;
+ constructor(block: CodeBlock);
+ private addSignalDefinitions;
+ private checkAndAndOr;
+ private printTree;
+ private addContactDefinitions;
+ private static readonly debug;
+ private addWires;
+ private addPowerrails;
+ private fixChildAndsAndSingleOr;
+ private escapeForXml;
+ private printTreeParent;
+ private setParent;
+ getXml(idRef: {
+ value: number;
+ }): string;
+ getAllOrSignals(sng: IOperationOrSignal): IOperationOrSignal[];
+ private isIPartName;
+ private isIFunctionOperation;
+}
+//# sourceMappingURL=KopCodeHelper.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.d.ts.map b/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.d.ts.map
new file mode 100644
index 0000000..78a5038
--- /dev/null
+++ b/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"KopCodeHelper.d.ts","sourceRoot":"","sources":["../../src/CodeGen/KopCodeHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAOtE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AA8BhD,qBAAa,aAAa;IACtB,MAAM,CAAC,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,CAAC,EAAE;IAWvD,OAAO,CAAC,UAAU,CAAc;IAChC,OAAO,CAAC,MAAM,CAAY;IAC1B,OAAO,CAAC,GAAG,CAAgB;gBAEf,KAAK,EAAE,SAAS;IAK5B,OAAO,CAAC,oBAAoB;IAc5B,OAAO,CAAC,aAAa;IAWrB,OAAO,CAAC,SAAS;IAOjB,OAAO,CAAC,qBAAqB;IA6R7B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAuB;IAEpD,OAAO,CAAC,QAAQ;IAwQhB,OAAO,CAAC,aAAa;IAmFrB,OAAO,CAAC,uBAAuB;IA8B/B,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,eAAe;IAavB,OAAO,CAAC,SAAS;IAcjB,MAAM,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM;IA6ExC,eAAe,CAAC,GAAG,EAAE,kBAAkB,GAAG,kBAAkB,EAAE;IAiB9D,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,oBAAoB;CAI/B"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.js b/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.js
new file mode 100644
index 0000000..7954d0c
--- /dev/null
+++ b/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.js
@@ -0,0 +1,903 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.KopCodeHelper = void 0;
+const StringBuilder_1 = require("../utils/StringBuilder");
+const IEnumerableExtensions_1 = require("../Internal/IEnumerableExtensions");
+const NaturalComparer_1 = require("../Extensions/NaturalComparer");
+const CodeBlock_1 = require("../Blocks/CodeBlock");
+const Network_1 = require("../Blocks/Network");
+const And_1 = require("../Commands/And");
+const Or_1 = require("../Commands/Or");
+const Not_1 = require("../Commands/Not");
+const Distributor_1 = require("../Commands/Distributor");
+const Move_1 = require("../Commands/Move");
+const Convert_1 = require("../Commands/Convert");
+const S_Move_1 = require("../Commands/S_Move");
+const Signal_1 = require("../Commands/Signals/Signal");
+const BaseCoil_1 = require("../Commands/Coils/BaseCoil");
+const BaseNPCoil_1 = require("../Commands/Coils/BaseNPCoil");
+const Coil_1 = require("../Commands/Coils/Coil");
+const SCoil_1 = require("../Commands/Coils/SCoil");
+const RCoil_1 = require("../Commands/Coils/RCoil");
+const BaseOperationOrSignal_1 = require("../Commands/BaseOperationOrSignal");
+const CompareOperator_1 = require("../Commands/Comparisons/CompareOperator");
+const InRangeCall_1 = require("../Commands/Comparisons/InRangeCall");
+const OutRangeCall_1 = require("../Commands/Comparisons/OutRangeCall");
+const FunctionCall_1 = require("../Commands/Functions/Base/FunctionCall");
+const FunctionBlockCall_1 = require("../Commands/Functions/Base/FunctionBlockCall");
+const SystemFunctionCall_1 = require("../Commands/Functions/Base/SystemFunctionCall");
+const SystemFunctionBlockCall_1 = require("../Commands/Functions/Base/SystemFunctionBlockCall");
+const ArithmeticCall_1 = require("../Commands/Functions/Arithmetic/ArithmeticCall");
+const VariableArithmeticCall_1 = require("../Commands/Functions/Arithmetic/VariableArithmeticCall");
+const AckGlCall_1 = require("../Commands/Functions/AckGlCall");
+const CTUCall_1 = require("../Commands/Functions/CTUCall");
+const CTUDCall_1 = require("../Commands/Functions/CTUDCall");
+const OperationOrSignalExtensions_1 = require("../Extensions/OperationOrSignalExtensions");
+class KopCodeHelper {
+ static flattenOrdered(e, f) {
+ const result = [];
+ for (const el of e) {
+ for (const el2 of KopCodeHelper.flattenOrdered(f(el), f)) {
+ result.push(el2);
+ }
+ result.push(el);
+ }
+ return result;
+ }
+ constructor(block) {
+ this._currentId = 21;
+ this._block = block;
+ this._sb = new StringBuilder_1.StringBuilder();
+ }
+ addSignalDefinitions(network) {
+ const allChildren = (0, IEnumerableExtensions_1.flatten)(network.children, x => x.children);
+ const signals = allChildren
+ .filter((x) => x instanceof Signal_1.Signal)
+ .slice()
+ .sort((a, b) => new NaturalComparer_1.NaturalComparer().compare(a.name, b.name));
+ for (const signal of signals) {
+ signal.addXmlToStringBuilder(this._currentId, this._sb);
+ signal.signalId = this._currentId;
+ this._currentId++;
+ }
+ }
+ checkAndAndOr(block, network) {
+ const allChildren = (0, IEnumerableExtensions_1.flatten)(network.children, x => x.children);
+ const ors = allChildren.filter((x) => x instanceof Or_1.Or);
+ for (const or of ors) {
+ if (or.children.length === 0) {
+ throw new Error(`Empty Or im Baustein "${block.name}" Netzwerk "${network.networkTitle}"`);
+ }
+ }
+ }
+ printTree(signal, sb, level = 0) {
+ sb.appendLine(' '.repeat(level * 4) + signal.toString() + ' OP ID: ' + signal.operationId);
+ for (const s of signal.children) {
+ this.printTree(s, sb, level + 1);
+ }
+ }
+ addContactDefinitions(network, block) {
+ const ops = KopCodeHelper.flattenOrdered(network.children, x => x.children)
+ .filter((x) => true);
+ for (const op of ops) {
+ if (op instanceof Signal_1.Signal) {
+ // nothing
+ }
+ else if (op instanceof And_1.And || (op instanceof Or_1.Or && op.children.length === 1)) {
+ // nothing
+ }
+ else {
+ if (op instanceof Or_1.Or && op.children.length > 1) {
+ op.createContactAndFillCardinality(op);
+ }
+ }
+ }
+ for (const op of ops) {
+ if (op instanceof Signal_1.Signal) {
+ if (!(op.parent instanceof BaseCoil_1.BaseCoil) &&
+ !(op.parent instanceof Not_1.Not) &&
+ !(op.parent instanceof FunctionCall_1.FunctionCall) &&
+ !(op.parent instanceof CompareOperator_1.CompareOperator) &&
+ !(op.parent instanceof Move_1.Move) &&
+ !(op.parent instanceof Convert_1.Convert) &&
+ !(op.parent instanceof S_Move_1.S_Move)) {
+ op.operationId = this._currentId;
+ this._currentId++;
+ }
+ }
+ else if (op instanceof And_1.And || (op instanceof Or_1.Or && op.children.length === 1)) {
+ op.operationId = op.children[op.children.length - 1].operationId;
+ }
+ else {
+ op.operationId = this._currentId;
+ if (op instanceof Not_1.Not || op instanceof BaseCoil_1.BaseCoil || op instanceof SystemFunctionBlockCall_1.SystemFunctionBlockCall || op instanceof SystemFunctionCall_1.SystemFunctionCall) {
+ if (op.children.length > 0) {
+ op.children[0].operationId = this._currentId;
+ }
+ }
+ if (op instanceof Or_1.Or && op.children.length > 1) {
+ op.createContactAndFillCardinality(op);
+ }
+ if (!(op instanceof Distributor_1.Distributor) && !op.doNotCreateContact) {
+ this._currentId++;
+ }
+ }
+ }
+ for (const op of ops) {
+ let partname = op.constructor.name;
+ if (this.isIPartName(op)) {
+ partname = op.partName;
+ }
+ if (op instanceof Signal_1.Signal) {
+ if (!(op.parent instanceof BaseCoil_1.BaseCoil) &&
+ !(op.parent instanceof Not_1.Not) &&
+ !(op.parent instanceof FunctionCall_1.FunctionCall) &&
+ !(op.parent instanceof CompareOperator_1.CompareOperator) &&
+ !(op.parent instanceof Move_1.Move) &&
+ !(op.parent instanceof Convert_1.Convert) &&
+ !(op.parent instanceof S_Move_1.S_Move)) {
+ this._sb.appendLine(``);
+ }
+ }
+ else if (op instanceof Or_1.Or && op.children.length > 1) {
+ if (!op.doNotCreateContact) {
+ this._sb.appendLine(``);
+ this._sb.appendLine(`${op.cardinality}`);
+ this._sb.appendLine('');
+ }
+ }
+ else if (op instanceof CompareOperator_1.CompareOperator) {
+ this._sb.appendLine(``);
+ let srctype = op.children[0].signalType.toString();
+ if (srctype.startsWith('Constant'))
+ srctype = srctype.substring(8);
+ this._sb.appendLine(`${srctype}`);
+ this._sb.appendLine('');
+ }
+ else if (op instanceof Convert_1.Convert) {
+ this._sb.appendLine(``);
+ let srctype = op.children[op.children.length - 1].signalType.toString();
+ let desttype = op.children[0].signalType.toString();
+ if (srctype.startsWith('Constant'))
+ srctype = srctype.substring(8);
+ if (desttype.startsWith('Constant'))
+ desttype = desttype.substring(8);
+ this._sb.appendLine(`${srctype}`);
+ this._sb.appendLine(`${desttype}`);
+ this._sb.appendLine('');
+ }
+ else if (op instanceof Move_1.Move) {
+ this._sb.appendLine(``);
+ this._sb.appendLine(`${op.cardinality}`);
+ this._sb.appendLine('');
+ }
+ else if (op instanceof S_Move_1.S_Move) {
+ this._sb.appendLine(``);
+ }
+ else if (op instanceof Not_1.Not) {
+ this._sb.appendLine(``);
+ this._sb.appendLine('');
+ this._sb.appendLine('');
+ }
+ else if (op instanceof BaseCoil_1.BaseCoil) {
+ const coil = op;
+ if (coil.negated) {
+ this._sb.appendLine(``);
+ this._sb.appendLine('\t');
+ this._sb.appendLine('');
+ }
+ else {
+ this._sb.appendLine(``);
+ }
+ }
+ else if (op instanceof And_1.And || op instanceof Or_1.Or) {
+ // nothing
+ }
+ else if (op instanceof SystemFunctionBlockCall_1.SystemFunctionBlockCall) {
+ const fc = op;
+ this._sb.appendLine(``);
+ if (fc.additionalInnerXml !== null)
+ this._sb.appendLine(fc.additionalInnerXml);
+ const fb = op;
+ if (fb.instanceName.startsWith('"')) {
+ this._sb.appendLine(``);
+ this._currentId++;
+ this._sb.appendLine(``);
+ this._sb.appendLine('');
+ }
+ else {
+ this._sb.appendLine(``);
+ this._currentId++;
+ for (const part of fb.instanceName.split('.')) {
+ const idx = part.indexOf('[') + 1;
+ if (idx > 0) {
+ this._sb.appendLine(``);
+ const arrays = part.substring(idx, part.length - idx - 1);
+ if (arrays.includes('"')) {
+ this._sb.appendLine('');
+ this._sb.appendLine(``);
+ this._sb.appendLine('');
+ this._sb.appendLine('');
+ }
+ else {
+ for (const arr of arrays.split(',')) {
+ this._sb.appendLine(``);
+ this._currentId++;
+ this._sb.appendLine('');
+ this._sb.appendLine('DInt');
+ this._sb.appendLine(`${arr}`);
+ this._sb.appendLine('');
+ this._sb.appendLine('');
+ }
+ }
+ }
+ else {
+ this._sb.appendLine(``);
+ }
+ this._sb.appendLine('');
+ }
+ this._sb.appendLine('');
+ }
+ if (fc.templateValueName !== null) {
+ this._sb.appendLine(`${fc.templateValue}`);
+ if (fc.safetyTemplateString !== null && (0, OperationOrSignalExtensions_1.tryGetParent)(fc, CodeBlock_1.CodeBlock)?.safety === true) {
+ this._sb.appendLine(fc.safetyTemplateString);
+ }
+ }
+ if (this._block.safety && fc.additionalSafetyTemplateValues !== null) {
+ this._sb.appendLine(fc.additionalSafetyTemplateValues);
+ }
+ this._sb.appendLine('');
+ }
+ else if (op instanceof SystemFunctionCall_1.SystemFunctionCall) {
+ const fc = op;
+ if (fc.functionName === 'Serialize' || fc.functionName === 'Deserialize') {
+ this._sb.appendLine(``);
+ }
+ else {
+ this._sb.appendLine(``);
+ }
+ if (fc.additionalInnerXml !== null)
+ this._sb.appendLine(fc.additionalInnerXml);
+ if (fc instanceof ArithmeticCall_1.ArithmeticCall) {
+ if (fc instanceof VariableArithmeticCall_1.VariableArithmeticCall) {
+ this._sb.appendLine(`${fc.children.length - 1}`);
+ }
+ this._sb.appendLine(`${fc.type}`);
+ }
+ else if (fc instanceof InRangeCall_1.InRangeCall || fc instanceof OutRangeCall_1.OutRangeCall) {
+ let srctype = op.children[0].signalType.toString();
+ if (srctype.startsWith('Constant'))
+ srctype = srctype.substring(8);
+ this._sb.appendLine(`${srctype}`);
+ }
+ else if (fc.functionName === 'DPRD_DAT' || fc.functionName === 'DPWR_DAT') {
+ this._sb.appendLine('Variant');
+ this._sb.appendLine('HW_IO');
+ }
+ this._sb.appendLine('');
+ }
+ else if (op instanceof FunctionCall_1.FunctionCall) {
+ const fc = op;
+ if (op instanceof AckGlCall_1.AckGlCall) {
+ this._sb.appendLine(``);
+ }
+ else if (op instanceof FunctionBlockCall_1.FunctionBlockCall) {
+ this._sb.appendLine(``);
+ this._sb.appendLine(``);
+ }
+ else {
+ this._sb.appendLine(``);
+ this._sb.appendLine(``);
+ }
+ if (op instanceof FunctionBlockCall_1.FunctionBlockCall) {
+ const fb = op;
+ if (fb.instanceName.startsWith('"')) {
+ this._sb.appendLine(``);
+ }
+ else {
+ this._sb.appendLine(``);
+ }
+ this._currentId++;
+ for (const part of fb.instanceName.split('.')) {
+ let instanceNamePart;
+ if (part.startsWith('"')) {
+ instanceNamePart = part.replace(/"/g, '');
+ }
+ else {
+ instanceNamePart = part;
+ }
+ const idx = instanceNamePart.indexOf('[') + 1;
+ if (idx > 0) {
+ this._sb.appendLine(``);
+ const arrays = instanceNamePart.substring(idx, instanceNamePart.length - idx - 1);
+ if (arrays.includes('"')) {
+ this._sb.appendLine('');
+ this._sb.appendLine(``);
+ this._sb.appendLine('');
+ this._sb.appendLine('');
+ }
+ else {
+ for (const arr of arrays.split(',')) {
+ this._sb.appendLine(``);
+ this._currentId++;
+ this._sb.appendLine('');
+ this._sb.appendLine('DInt');
+ this._sb.appendLine(`${arr}`);
+ this._sb.appendLine('');
+ this._sb.appendLine('');
+ }
+ }
+ }
+ else {
+ this._sb.appendLine(``);
+ }
+ this._sb.appendLine('');
+ }
+ this._sb.appendLine('');
+ }
+ if (op instanceof AckGlCall_1.AckGlCall) {
+ this._sb.appendLine('1');
+ this._sb.appendLine('0');
+ this._sb.appendLine('DInt');
+ this._sb.appendLine('');
+ }
+ else {
+ for (const [key, intf] of Object.entries(fc.iface)) {
+ if (intf.direction !== 'Eno') {
+ let type = 'Bool';
+ if (intf.operationOrSignal instanceof Signal_1.Signal) {
+ const sig = intf.operationOrSignal;
+ if (sig.signalType === 'Custom') {
+ type = sig.customType ?? 'Bool';
+ }
+ else {
+ type = sig.signalType.toString();
+ }
+ }
+ if (type !== 'Constant' && type.startsWith('Constant')) {
+ type = type.substring(8);
+ }
+ type = intf.type !== null ? intf.type.toString() : type;
+ if (intf.length > 0) {
+ this._sb.appendLine(``);
+ }
+ else {
+ this._sb.appendLine(``);
+ }
+ }
+ }
+ this._sb.appendLine('');
+ this._sb.appendLine('');
+ }
+ }
+ }
+ }
+ addWires(op) {
+ if (op.children !== null) {
+ for (const lop of op.children) {
+ this.addWires(lop);
+ }
+ }
+ if (op instanceof FunctionCall_1.FunctionCall) {
+ const fc = op;
+ for (const [key, intf] of Object.entries(fc.iface)) {
+ const sng = intf.operationOrSignal;
+ if (fc instanceof ArithmeticCall_1.ArithmeticCall && sng === null) {
+ // skip
+ }
+ else if (sng === null) {
+ this._sb.appendLine(``);
+ this._currentId++;
+ this._sb.appendLine(``);
+ this._sb.appendLine(``);
+ this._currentId++;
+ this._sb.appendLine('');
+ }
+ else if (intf.direction === 'Input' || intf.direction === 'InOut') {
+ this._sb.appendLine(``);
+ if (sng instanceof Signal_1.Signal) {
+ this._sb.appendLine(` `);
+ }
+ else {
+ if (sng instanceof Or_1.Or) {
+ this._sb.appendLine(``);
+ }
+ else {
+ this._sb.appendLine(``);
+ }
+ }
+ this._sb.appendLine(``);
+ this._sb.appendLine('');
+ this._currentId++;
+ }
+ else if (intf.direction === 'Eno') {
+ this._sb.appendLine(``);
+ this._sb.appendLine(``);
+ this._sb.appendLine(``);
+ this._sb.appendLine('');
+ this._currentId++;
+ }
+ else {
+ this._sb.appendLine(``);
+ this._sb.appendLine(``);
+ if (sng instanceof Distributor_1.Distributor) {
+ this._sb.appendLine('');
+ for (const c of sng.children) {
+ if (c instanceof Signal_1.Signal) {
+ this._sb.appendLine(` `);
+ }
+ else if (c instanceof And_1.And && c.children.length > 0 && c.children[0] instanceof Or_1.Or) {
+ for (const chIn of c.children[0].children) {
+ for (const ch of this.getAllOrSignals(chIn)) {
+ const inName = ch instanceof FunctionCall_1.FunctionCall
+ ? ((ch instanceof InRangeCall_1.InRangeCall || ch instanceof OutRangeCall_1.OutRangeCall) ? 'pre' : 'en')
+ : 'in';
+ this._sb.appendLine(``);
+ }
+ }
+ }
+ else {
+ const inName = c instanceof FunctionCall_1.FunctionCall
+ ? ((c instanceof InRangeCall_1.InRangeCall || c instanceof OutRangeCall_1.OutRangeCall) ? 'pre' : 'en')
+ : 'in';
+ this._sb.appendLine(``);
+ }
+ }
+ }
+ else {
+ if (sng instanceof Signal_1.Signal) {
+ this._sb.appendLine(` `);
+ }
+ else {
+ const inName = sng instanceof FunctionCall_1.FunctionCall
+ ? ((sng instanceof InRangeCall_1.InRangeCall || sng instanceof OutRangeCall_1.OutRangeCall) ? 'pre' : 'en')
+ : 'in';
+ this._sb.appendLine(``);
+ }
+ }
+ this._sb.appendLine('');
+ this._currentId++;
+ }
+ }
+ }
+ else if (op instanceof Signal_1.Signal &&
+ !(op.parent instanceof FunctionCall_1.FunctionCall) &&
+ !(op.parent instanceof CompareOperator_1.CompareOperator) &&
+ !(op.parent instanceof Move_1.Move) &&
+ !(op.parent instanceof Convert_1.Convert) &&
+ !(op.parent instanceof S_Move_1.S_Move)) {
+ this._sb.appendLine(``);
+ this._sb.appendLine(` `);
+ let tname = 'operand';
+ if (op.parent instanceof BaseNPCoil_1.BaseNPCoil)
+ tname = 'bit';
+ this._sb.appendLine(` `);
+ this._sb.appendLine('');
+ this._currentId++;
+ }
+ else if (op instanceof Or_1.Or && op.children.length > 1) {
+ let orInputCounter = 1;
+ const importChildOrs = (childOr) => {
+ for (const ch of childOr.children) {
+ if (ch.children.length > 0 && ch.children[ch.children.length - 1] instanceof Or_1.Or) {
+ importChildOrs(ch.children[ch.children.length - 1]);
+ }
+ else {
+ this._sb.appendLine(`${op.debugInfo !== null ? ` ` : ''}`);
+ this._sb.appendLine(` `);
+ this._sb.appendLine(` `);
+ this._sb.appendLine('');
+ orInputCounter++;
+ this._currentId++;
+ }
+ }
+ };
+ if (!op.doNotCreateContact) {
+ importChildOrs(op);
+ }
+ }
+ else if (op instanceof CompareOperator_1.CompareOperator) {
+ let i = 1;
+ for (const ch of op.children) {
+ this._sb.appendLine(``);
+ this._sb.appendLine(` `);
+ this._sb.appendLine(` `);
+ this._sb.appendLine('');
+ i++;
+ this._currentId++;
+ }
+ }
+ else if (op instanceof Move_1.Move || op instanceof S_Move_1.S_Move || op instanceof Convert_1.Convert) {
+ this._sb.appendLine(``);
+ this._sb.appendLine(` `);
+ this._sb.appendLine(` `);
+ this._sb.appendLine('');
+ this._currentId++;
+ if (op instanceof S_Move_1.S_Move) {
+ this._sb.appendLine(``);
+ this._sb.appendLine(` `);
+ this._sb.appendLine(` `);
+ this._sb.appendLine('');
+ this._currentId++;
+ }
+ else if (op instanceof Convert_1.Convert) {
+ this._sb.appendLine(``);
+ this._sb.appendLine(` `);
+ this._sb.appendLine(` `);
+ this._sb.appendLine('');
+ this._currentId++;
+ }
+ else {
+ for (let n = 0; n < op.children.length - 1; n++) {
+ this._sb.appendLine(``);
+ this._sb.appendLine(` `);
+ this._sb.appendLine(` `);
+ this._sb.appendLine('');
+ this._currentId++;
+ }
+ }
+ }
+ else if (op instanceof And_1.And) {
+ for (let n = 0; n < op.children.length - 1; n++) {
+ const ch = op.children[n];
+ const next = op.children[n + 1];
+ if (next instanceof Or_1.Or) {
+ this._sb.appendLine(`${op.debugInfo !== null ? ` ` : ''}`);
+ this._sb.appendLine(`${ch instanceof Signal_1.Signal ? ' ' : ''}`);
+ for (const orSignal of next.children) {
+ for (const os of this.getAllOrSignals(orSignal)) {
+ const opId = os.operationId;
+ let ipName = 'in';
+ if (os instanceof BaseOperationOrSignal_1.BaseOperationOrSignal &&
+ (os.getFirstChildNotAnd() instanceof CompareOperator_1.CompareOperator ||
+ os.getFirstChildNotAnd() instanceof InRangeCall_1.InRangeCall ||
+ os.getFirstChildNotAnd() instanceof OutRangeCall_1.OutRangeCall)) {
+ ipName = 'pre';
+ }
+ this._sb.appendLine(`${os instanceof Signal_1.Signal ? ' ' : ''}`);
+ }
+ }
+ this._sb.appendLine('');
+ this._currentId++;
+ }
+ else {
+ this._sb.appendLine(`${op.debugInfo !== null ? ` ` : ''}`);
+ let outName = 'out';
+ if (ch instanceof FunctionCall_1.FunctionCall || ch instanceof S_Move_1.S_Move || ch instanceof Move_1.Move || ch instanceof Convert_1.Convert)
+ outName = 'eno';
+ const srcName = ch instanceof Signal_1.Signal ? ch.name : ch.constructor.name;
+ const dstName = next instanceof Signal_1.Signal ? next.name : next.constructor.name;
+ this._sb.appendLine(` `);
+ if (next instanceof CompareOperator_1.CompareOperator || next instanceof InRangeCall_1.InRangeCall || next instanceof OutRangeCall_1.OutRangeCall) {
+ this._sb.appendLine(` `);
+ }
+ else if (next instanceof CTUCall_1.CTUCall || next instanceof CTUDCall_1.CTUDCall) {
+ this._sb.appendLine(` `);
+ }
+ else if (next instanceof FunctionCall_1.FunctionCall) {
+ const noEnName = next.hasNoEn ? 'in' : 'en';
+ this._sb.appendLine(` `);
+ }
+ else if (this.isIFunctionOperation(next)) {
+ this._sb.appendLine(` `);
+ }
+ else if (next instanceof Distributor_1.Distributor) {
+ this._sb.appendLine('');
+ for (const c of next.children) {
+ let akC = c;
+ if (c instanceof BaseCoil_1.BaseCoil && c.children.length > 0) {
+ akC = c.children[c.children.length - 1];
+ }
+ else if (c instanceof And_1.And && c.children.length > 0) {
+ akC = c.children[0];
+ }
+ let l = [akC];
+ if (akC instanceof Or_1.Or)
+ l = akC.children;
+ for (const sIn of l) {
+ for (const s of this.getAllOrSignals(sIn)) {
+ if (s instanceof CompareOperator_1.CompareOperator || s instanceof InRangeCall_1.InRangeCall || s instanceof OutRangeCall_1.OutRangeCall) {
+ this._sb.appendLine(` `);
+ }
+ else if (s instanceof FunctionCall_1.FunctionCall) {
+ const noEnName2 = s.hasNoEn ? 'in' : 'en';
+ this._sb.appendLine(` `);
+ }
+ else if (this.isIFunctionOperation(s)) {
+ this._sb.appendLine(` `);
+ }
+ else {
+ this._sb.appendLine(` `);
+ }
+ }
+ }
+ }
+ }
+ else {
+ this._sb.appendLine(` `);
+ }
+ this._sb.appendLine('');
+ this._currentId++;
+ }
+ }
+ }
+ else if (op instanceof BaseCoil_1.BaseCoil) {
+ if (op.children.length > 1) {
+ let ch;
+ if (op.children[1] instanceof Signal_1.Signal) {
+ ch = op.children[1];
+ }
+ else {
+ ch = op.children[1].children[op.children[1].children.length - 1];
+ }
+ if (op.children[1] instanceof Or_1.Or ||
+ op.children[1] instanceof CompareOperator_1.CompareOperator ||
+ op.children[1] instanceof Move_1.Move ||
+ op.children[1] instanceof Convert_1.Convert ||
+ op.children[1] instanceof S_Move_1.S_Move ||
+ op.children[1] instanceof BaseCoil_1.BaseCoil) {
+ ch = op.children[op.children.length - 1];
+ }
+ const sig = op.children[0];
+ let outName = 'out';
+ if (ch instanceof FunctionCall_1.FunctionCall || ch instanceof Move_1.Move || ch instanceof S_Move_1.S_Move || ch instanceof Convert_1.Convert)
+ outName = 'eno';
+ this._sb.appendLine(``);
+ this._sb.appendLine(` `);
+ this._sb.appendLine(` `);
+ this._sb.appendLine('');
+ this._currentId++;
+ }
+ }
+ }
+ addPowerrails(network) {
+ const ops = KopCodeHelper.flattenOrdered(network.children, x => x.children);
+ this._sb.appendLine(``);
+ this._sb.appendLine('');
+ for (const s of ops) {
+ let noPowerRail = false;
+ let p = s;
+ if (s instanceof FunctionCall_1.FunctionCall) {
+ while (p.parent !== null) {
+ const pp = p.parent;
+ if (pp instanceof And_1.And ||
+ pp instanceof CompareOperator_1.CompareOperator ||
+ pp instanceof Convert_1.Convert ||
+ pp instanceof Move_1.Move ||
+ pp instanceof S_Move_1.S_Move) {
+ if (pp.children.indexOf(p) > 0)
+ noPowerRail = true;
+ }
+ p = p.parent;
+ if (noPowerRail)
+ break;
+ }
+ if (!noPowerRail) {
+ if (s instanceof InRangeCall_1.InRangeCall || s instanceof OutRangeCall_1.OutRangeCall) {
+ this._sb.appendLine(` `);
+ }
+ else {
+ this._sb.appendLine(` `);
+ }
+ }
+ noPowerRail = true;
+ }
+ else if (s.parent instanceof FunctionCall_1.FunctionCall) {
+ noPowerRail = true;
+ }
+ else if (s.parent instanceof BaseCoil_1.BaseCoil && s.parent.children.indexOf(p) === 0) {
+ noPowerRail = true;
+ }
+ else if ((s instanceof Coil_1.Coil || s instanceof SCoil_1.SCoil || s instanceof RCoil_1.RCoil) &&
+ s.children.length === 1 &&
+ s.children[0] instanceof Signal_1.Signal &&
+ (s.parent === null || s.parent instanceof Network_1.Network)) {
+ this._sb.appendLine(` `);
+ }
+ else if (s instanceof Signal_1.Signal) {
+ if (p.parent instanceof FunctionCall_1.FunctionCall) {
+ noPowerRail = true;
+ }
+ else {
+ while (p.parent !== null) {
+ const pp = p.parent;
+ if (pp instanceof And_1.And ||
+ pp instanceof CompareOperator_1.CompareOperator ||
+ pp instanceof Convert_1.Convert ||
+ pp instanceof Move_1.Move ||
+ pp instanceof S_Move_1.S_Move) {
+ if (pp.children.indexOf(p) > 0)
+ noPowerRail = true;
+ }
+ else if (pp instanceof FunctionCall_1.FunctionCall) {
+ break;
+ }
+ p = p.parent;
+ if (noPowerRail)
+ break;
+ }
+ }
+ }
+ if (!noPowerRail && s instanceof Signal_1.Signal) {
+ const sng = s;
+ const par = s.parent;
+ if (par instanceof CompareOperator_1.CompareOperator) {
+ this._sb.appendLine(` `);
+ }
+ else if (par instanceof Move_1.Move || par instanceof S_Move_1.S_Move || par instanceof Convert_1.Convert) {
+ this._sb.appendLine(` `);
+ }
+ else {
+ this._sb.appendLine(` `);
+ }
+ }
+ }
+ this._sb.appendLine('');
+ this._currentId++;
+ }
+ fixChildAndsAndSingleOr(s) {
+ let fixAgain = false;
+ const newChildren = [];
+ if (s !== null && s.children !== null) {
+ if (s instanceof BaseCoil_1.BaseCoil && s.children.length === 2 && s.children[1] instanceof Signal_1.Signal) {
+ s.children[1] = new And_1.And(s.children[1]);
+ }
+ else {
+ for (const op of s.children.slice()) {
+ if ((s instanceof And_1.And || s instanceof Or_1.Or) && op instanceof Or_1.Or && op.children.length === 1) {
+ for (const p of op.children) {
+ newChildren.push(p);
+ fixAgain = true;
+ }
+ }
+ else if (s instanceof And_1.And && op instanceof And_1.And) {
+ for (const p of op.children) {
+ newChildren.push(p);
+ s.children.push(p);
+ fixAgain = true;
+ }
+ }
+ else {
+ newChildren.push(op);
+ this.fixChildAndsAndSingleOr(op);
+ }
+ }
+ s.children = newChildren;
+ if (fixAgain)
+ this.fixChildAndsAndSingleOr(s);
+ }
+ }
+ }
+ escapeForXml(text) {
+ return text.replace(//g, '>');
+ }
+ printTreeParent(signal) {
+ if (signal !== null) {
+ let t = '';
+ if (signal instanceof Signal_1.Signal)
+ t = ` (${signal.name})`;
+ if (signal instanceof Coil_1.Coil)
+ t = ` (${signal.signal.name})`;
+ if (signal instanceof Network_1.Network)
+ t = ` (${signal.networkTitle ?? ''})`;
+ if (signal instanceof CodeBlock_1.CodeBlock)
+ t = ` (${signal.name ?? ''})`;
+ const p = this.printTreeParent(signal.parent);
+ return (p !== '' ? p + ' -> ' : '') + signal.constructor.name + t;
+ }
+ return '';
+ }
+ setParent(s) {
+ for (const op of s.children) {
+ if (op.parent !== null) {
+ throw new Error('\n\nIOperationOrSignal reused wich is not valid!\n' +
+ this.printTreeParent(op.parent) + '\n\n' +
+ this.printTreeParent(s) + '\n\n');
+ }
+ op.parent = s;
+ this.setParent(op);
+ }
+ }
+ getXml(idRef) {
+ this.fixChildAndsAndSingleOr(this._block);
+ this.setParent(this._block);
+ const allChildren = (0, IEnumerableExtensions_1.flatten)(this._block.children, x => x.children);
+ const networks = allChildren.filter((x) => x instanceof Network_1.Network);
+ for (const network of networks) {
+ this.checkAndAndOr(this._block, network);
+ try {
+ this._sb.appendLine(` `);
+ idRef.value++;
+ this._sb.appendLine('');
+ if (network.children.length > 0) {
+ this._sb.appendLine('');
+ this._sb.appendLine('');
+ this.addSignalDefinitions(network);
+ this.addContactDefinitions(network, this._block);
+ this._sb.appendLine('');
+ this._sb.appendLine('');
+ this.addPowerrails(network);
+ this.addWires(network);
+ this._sb.appendLine('');
+ this._sb.appendLine('');
+ }
+ this._sb.appendLine(`${this._block.safety ? 'F_LAD' : 'LAD'}`);
+ this._sb.appendLine('');
+ this._sb.appendLine('');
+ this._sb.appendLine(``);
+ idRef.value++;
+ this._sb.appendLine('');
+ this._sb.appendLine(``);
+ idRef.value++;
+ this._sb.appendLine('');
+ this._sb.appendLine('de-DE');
+ this._sb.appendLine(`${network.description ?? ''}`);
+ this._sb.appendLine('');
+ this._sb.appendLine('');
+ this._sb.appendLine(``);
+ idRef.value++;
+ this._sb.appendLine('');
+ this._sb.appendLine('en-GB');
+ this._sb.appendLine(`${network.descriptionEnglish ?? ''}`);
+ this._sb.appendLine('');
+ this._sb.appendLine('');
+ this._sb.appendLine('');
+ this._sb.appendLine('');
+ this._sb.appendLine(``);
+ idRef.value++;
+ this._sb.appendLine('');
+ this._sb.appendLine(``);
+ idRef.value++;
+ this._sb.appendLine('');
+ this._sb.appendLine('de-DE');
+ this._sb.appendLine(`${this.escapeForXml(network.networkTitle ?? '')}`);
+ this._sb.appendLine('');
+ this._sb.appendLine('');
+ this._sb.appendLine(``);
+ idRef.value++;
+ this._sb.appendLine('');
+ this._sb.appendLine('en-GB');
+ this._sb.appendLine(`${this.escapeForXml(network.networkTitleEnglish ?? '')}`);
+ this._sb.appendLine('');
+ this._sb.appendLine('');
+ this._sb.appendLine('');
+ this._sb.appendLine('');
+ this._sb.appendLine('');
+ this._sb.appendLine('');
+ }
+ catch (ex) {
+ throw new Error(`Error generating Network: ${network.networkTitle} in Block: ${this._block.name}\n${ex.message}`);
+ }
+ }
+ return this._sb.toString();
+ }
+ getAllOrSignals(sng) {
+ const result = [];
+ if (sng instanceof And_1.And) {
+ if (sng.children.length > 0 && sng.children[0] instanceof Or_1.Or) {
+ const or = sng.children[0];
+ for (const o of or.children) {
+ result.push(...this.getAllOrSignals(o));
+ }
+ }
+ else {
+ result.push(sng.children[0]);
+ }
+ }
+ else {
+ result.push(sng);
+ }
+ return result;
+ }
+ isIPartName(op) {
+ return 'partName' in op && typeof op.partName === 'string';
+ }
+ isIFunctionOperation(op) {
+ // Check if op implements IFunctionOperation (Move, Convert, S_Move)
+ return op instanceof Move_1.Move || op instanceof Convert_1.Convert || op instanceof S_Move_1.S_Move;
+ }
+}
+exports.KopCodeHelper = KopCodeHelper;
+KopCodeHelper.debug = null;
+//# sourceMappingURL=KopCodeHelper.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.js.map b/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.js.map
new file mode 100644
index 0000000..7fd3879
--- /dev/null
+++ b/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"KopCodeHelper.js","sourceRoot":"","sources":["../../src/CodeGen/KopCodeHelper.ts"],"names":[],"mappings":";;;AAIA,0DAAuD;AACvD,6EAA4D;AAC5D,mEAAgE;AAChE,mDAAgD;AAChD,+CAA4C;AAC5C,yCAAsC;AACtC,uCAAoC;AACpC,yCAAsC;AACtC,yDAAsD;AACtD,2CAAwC;AACxC,iDAA8C;AAC9C,+CAA4C;AAC5C,uDAAoD;AACpD,yDAAsD;AACtD,6DAA0D;AAC1D,iDAA8C;AAC9C,mDAAgD;AAChD,mDAAgD;AAChD,6EAA0E;AAC1E,6EAA0E;AAC1E,qEAAkE;AAClE,uEAAoE;AACpE,0EAAuE;AACvE,oFAAiF;AACjF,sFAAmF;AACnF,gGAA6F;AAC7F,oFAAiF;AACjF,oGAAiG;AACjG,+DAA4D;AAC5D,2DAAwD;AACxD,6DAA0D;AAC1D,2FAAyE;AAEzE,MAAa,aAAa;IACtB,MAAM,CAAC,cAAc,CAAI,CAAM,EAAE,CA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;gBAC3D,MAAM,EAAE,GAAG,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAO,CAAC;gBACjC,KAAK,MAAM,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE,CAAC;oBAC1B,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;gBAC5C,CAAC;YACL,CAAC;iBAAM,CAAC;gBACJ,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;YACjC,CAAC;QACL,CAAC;aAAM,CAAC;YACJ,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACrB,CAAC;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;IAEO,WAAW,CAAC,EAAsB;QACtC,OAAO,UAAU,IAAI,EAAE,IAAI,OAAQ,EAAU,CAAC,QAAQ,KAAK,QAAQ,CAAC;IACxE,CAAC;IAEO,oBAAoB,CAAC,EAAsB;QAC/C,oEAAoE;QACpE,OAAO,EAAE,YAAY,WAAI,IAAI,EAAE,YAAY,iBAAO,IAAI,EAAE,YAAY,eAAM,CAAC;IAC/E,CAAC;;AAj1BL,sCAk1BC;AAhgB2B,mBAAK,GAAkB,IAAI,AAAtB,CAAuB"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/And.d.ts b/TiaCodegen-ts/dist/Commands/And.d.ts
new file mode 100644
index 0000000..83de201
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/And.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
+import { BaseOperationOrSignal } from './BaseOperationOrSignal';
+export declare class And extends BaseOperationOrSignal {
+ constructor(...operationOrSignals: IOperationOrSignal[]);
+}
+//# sourceMappingURL=And.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/And.d.ts.map b/TiaCodegen-ts/dist/Commands/And.d.ts.map
new file mode 100644
index 0000000..8261db4
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/And.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"And.d.ts","sourceRoot":"","sources":["../../src/Commands/And.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,qBAAa,GAAI,SAAQ,qBAAqB;gBAC9B,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;CAG1D"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/And.js b/TiaCodegen-ts/dist/Commands/And.js
new file mode 100644
index 0000000..e9d9d83
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/And.js
@@ -0,0 +1,11 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.And = void 0;
+const BaseOperationOrSignal_1 = require("./BaseOperationOrSignal");
+class And extends BaseOperationOrSignal_1.BaseOperationOrSignal {
+ constructor(...operationOrSignals) {
+ super(...operationOrSignals);
+ }
+}
+exports.And = And;
+//# sourceMappingURL=And.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/And.js.map b/TiaCodegen-ts/dist/Commands/And.js.map
new file mode 100644
index 0000000..18d5e10
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/And.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"And.js","sourceRoot":"","sources":["../../src/Commands/And.ts"],"names":[],"mappings":";;;AACA,mEAAgE;AAEhE,MAAa,GAAI,SAAQ,6CAAqB;IAC1C,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;CACJ;AAJD,kBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.d.ts b/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.d.ts
new file mode 100644
index 0000000..639667b
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.d.ts
@@ -0,0 +1,20 @@
+import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
+export declare abstract class BaseOperationOrSignal implements IOperationOrSignal {
+ debugInfo: string | null;
+ private _operationId;
+ children: IOperationOrSignal[];
+ parent: IOperationOrSignal | null;
+ doNotCreateContact: boolean;
+ private _cardinality;
+ get cardinality(): number;
+ set cardinality(value: number);
+ constructor(...operationOrSignals: IOperationOrSignal[]);
+ get operationId(): number;
+ set operationId(value: number);
+ createContactAndFillCardinality(parent: IOperationOrSignal): number;
+ add(...operationOrSignals: IOperationOrSignal[]): void;
+ toString(): string;
+ getFirstChildNotAnd(): IOperationOrSignal;
+ clone(): IOperationOrSignal;
+}
+//# sourceMappingURL=BaseOperationOrSignal.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.d.ts.map b/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.d.ts.map
new file mode 100644
index 0000000..59b1b8f
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"BaseOperationOrSignal.d.ts","sourceRoot":"","sources":["../../src/Commands/BaseOperationOrSignal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,8BAAsB,qBAAsB,YAAW,kBAAkB;IACrE,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAChC,OAAO,CAAC,YAAY,CAAa;IACjC,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAC/B,MAAM,EAAE,kBAAkB,GAAG,IAAI,CAAQ;IACzC,kBAAkB,EAAE,OAAO,CAAS;IACpC,OAAO,CAAC,YAAY,CAAa;IAEjC,IAAI,WAAW,IAAI,MAAM,CAA8B;IACvD,IAAI,WAAW,CAAC,KAAK,EAAE,MAAM,EAAgC;gBAEjD,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;IAOvD,IAAI,WAAW,IAAI,MAAM,CAA8B;IACvD,IAAI,WAAW,CAAC,KAAK,EAAE,MAAM,EAAgC;IAE7D,+BAA+B,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM;IASnE,GAAG,CAAC,GAAG,kBAAkB,EAAE,kBAAkB,EAAE,GAAG,IAAI;IAItD,QAAQ,IAAI,MAAM;IAOlB,mBAAmB,IAAI,kBAAkB;IAUzC,KAAK,IAAI,kBAAkB;CAW9B"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.js b/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.js
new file mode 100644
index 0000000..a0893ef
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.js
@@ -0,0 +1,62 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.BaseOperationOrSignal = void 0;
+class BaseOperationOrSignal {
+ get cardinality() { return this._cardinality; }
+ set cardinality(value) { this._cardinality = value; }
+ constructor(...operationOrSignals) {
+ this.debugInfo = null;
+ this._operationId = 0;
+ this.parent = null;
+ this.doNotCreateContact = false;
+ this._cardinality = 0;
+ this.children = [];
+ if (operationOrSignals) {
+ this.children.push(...operationOrSignals);
+ }
+ }
+ get operationId() { return this._operationId; }
+ set operationId(value) { this._operationId = value; }
+ createContactAndFillCardinality(parent) {
+ this.cardinality = 1;
+ if (this.children.length > 0 && this.children[this.children.length - 1] instanceof Or_1.Or) {
+ this.cardinality = this.children[this.children.length - 1].createContactAndFillCardinality(parent);
+ this.children[this.children.length - 1].doNotCreateContact = true;
+ }
+ return this.cardinality;
+ }
+ add(...operationOrSignals) {
+ this.children.push(...operationOrSignals);
+ }
+ toString() {
+ if (this instanceof And_1.And || this instanceof Or_1.Or) {
+ return `${this.constructor.name} (${this.children.map(x => x.toString()).join(',')})`;
+ }
+ return this.constructor.name;
+ }
+ getFirstChildNotAnd() {
+ if (this instanceof And_1.And) {
+ const ch1 = this.children[0];
+ if (ch1 instanceof BaseOperationOrSignal) {
+ return ch1.getFirstChildNotAnd();
+ }
+ }
+ return this;
+ }
+ clone() {
+ // Subclasses that need cloning should override this.
+ // Generic approach: create a new instance of the same class.
+ const inst = new this.constructor();
+ inst.debugInfo = this.debugInfo;
+ inst.doNotCreateContact = this.doNotCreateContact;
+ for (const c of this.children) {
+ inst.children.push(c.clone());
+ }
+ return inst;
+ }
+}
+exports.BaseOperationOrSignal = BaseOperationOrSignal;
+// Forward declarations to avoid circular imports - these are resolved at runtime
+const And_1 = require("./And");
+const Or_1 = require("./Or");
+//# sourceMappingURL=BaseOperationOrSignal.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.js.map b/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.js.map
new file mode 100644
index 0000000..bcb4738
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"BaseOperationOrSignal.js","sourceRoot":"","sources":["../../src/Commands/BaseOperationOrSignal.ts"],"names":[],"mappings":";;;AAEA,MAAsB,qBAAqB;IAQvC,IAAI,WAAW,KAAa,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IACvD,IAAI,WAAW,CAAC,KAAa,IAAI,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,CAAC,CAAC;IAE7D,YAAY,GAAG,kBAAwC;QAVvD,cAAS,GAAkB,IAAI,CAAC;QACxB,iBAAY,GAAW,CAAC,CAAC;QAEjC,WAAM,GAA8B,IAAI,CAAC;QACzC,uBAAkB,GAAY,KAAK,CAAC;QAC5B,iBAAY,GAAW,CAAC,CAAC;QAM7B,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QACnB,IAAI,kBAAkB,EAAE,CAAC;YACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,kBAAkB,CAAC,CAAC;QAC9C,CAAC;IACL,CAAC;IAED,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CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;YAC7B,IAAI,GAAG,YAAY,qBAAqB,EAAE,CAAC;gBACvC,OAAO,GAAG,CAAC,mBAAmB,EAAE,CAAC;YACrC,CAAC;QACL,CAAC;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,KAAK;QACD,qDAAqD;QACrD,6DAA6D;QAC7D,MAAM,IAAI,GAAG,IAAK,IAAI,CAAC,WAA+C,EAAE,CAAC;QACzE,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAChC,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC,kBAAkB,CAAC;QAClD,KAAK,MAAM,CAAC,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAC5B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC;QAClC,CAAC;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AA9DD,sDA8DC;AAED,iFAAiF;AACjF,+BAA4B;AAC5B,6BAA0B"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.d.ts b/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.d.ts
new file mode 100644
index 0000000..9fe67bd
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.d.ts
@@ -0,0 +1,18 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { ICoil } from '../../Interfaces/ICoil';
+import { Signal } from '../Signals/Signal';
+export declare class BaseCoil implements IOperationOrSignal, ICoil {
+ debugInfo: string | null;
+ negated: boolean;
+ signal: Signal;
+ children: IOperationOrSignal[];
+ operationId: number;
+ parent: IOperationOrSignal | null;
+ doNotCreateContact: boolean;
+ cardinality: number;
+ constructor(signal: Signal, op?: IOperationOrSignal | null);
+ createContactAndFillCardinality(_parent: IOperationOrSignal): number;
+ toString(): string;
+ clone(): IOperationOrSignal;
+}
+//# sourceMappingURL=BaseCoil.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.d.ts.map b/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.d.ts.map
new file mode 100644
index 0000000..bacae2f
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"BaseCoil.d.ts","sourceRoot":"","sources":["../../../src/Commands/Coils/BaseCoil.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,qBAAa,QAAS,YAAW,kBAAkB,EAAE,KAAK;IACtD,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAChC,OAAO,EAAE,OAAO,CAAS;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAC/B,WAAW,EAAE,MAAM,CAAK;IACxB,MAAM,EAAE,kBAAkB,GAAG,IAAI,CAAQ;IACzC,kBAAkB,EAAE,OAAO,CAAS;IACpC,WAAW,EAAE,MAAM,CAAK;gBAEZ,MAAM,EAAE,MAAM,EAAE,EAAE,GAAE,kBAAkB,GAAG,IAAW;IAShE,+BAA+B,CAAC,OAAO,EAAE,kBAAkB,GAAG,MAAM;IAKpE,QAAQ,IAAI,MAAM;IAIlB,KAAK,IAAI,kBAAkB;CAS9B"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.js b/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.js
new file mode 100644
index 0000000..092903d
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.js
@@ -0,0 +1,37 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.BaseCoil = void 0;
+class BaseCoil {
+ constructor(signal, op = null) {
+ this.debugInfo = null;
+ this.negated = false;
+ this.operationId = 0;
+ this.parent = null;
+ this.doNotCreateContact = false;
+ this.cardinality = 0;
+ this.signal = signal;
+ this.children = [];
+ this.children.push(signal);
+ if (op !== null) {
+ this.children.push(op);
+ }
+ }
+ createContactAndFillCardinality(_parent) {
+ this.cardinality = 1;
+ return 1;
+ }
+ toString() {
+ return this.constructor.name;
+ }
+ clone() {
+ const inst = new this.constructor(this.signal.clone());
+ inst.debugInfo = this.debugInfo;
+ inst.negated = this.negated;
+ for (const c of this.children.slice(1)) {
+ inst.children.push(c.clone());
+ }
+ return inst;
+ }
+}
+exports.BaseCoil = BaseCoil;
+//# sourceMappingURL=BaseCoil.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.js.map b/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.js.map
new file mode 100644
index 0000000..329d08c
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"BaseCoil.js","sourceRoot":"","sources":["../../../src/Commands/Coils/BaseCoil.ts"],"names":[],"mappings":";;;AAIA,MAAa,QAAQ;IAUjB,YAAY,MAAc,EAAE,KAAgC,IAAI;QAThE,cAAS,GAAkB,IAAI,CAAC;QAChC,YAAO,GAAY,KAAK,CAAC;QAGzB,gBAAW,GAAW,CAAC,CAAC;QACxB,WAAM,GAA8B,IAAI,CAAC;QACzC,uBAAkB,GAAY,KAAK,CAAC;QACpC,gBAAW,GAAW,CAAC,CAAC;QAGpB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QACnB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC3B,IAAI,EAAE,KAAK,IAAI,EAAE,CAAC;YACd,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAC3B,CAAC;IACL,CAAC;IAED,+BAA+B,CAAC,OAA2B;QACvD,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;QACrB,OAAO,CAAC,CAAC;IACb,CAAC;IAED,QAAQ;QACJ,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACjC,CAAC;IAED,KAAK;QACD,MAAM,IAAI,GAAG,IAAK,IAAI,CAAC,WAA2C,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,EAAY,CAAC,CAAC;QAClG,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAChC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC5B,KAAK,MAAM,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;YACrC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC;QAClC,CAAC;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AArCD,4BAqCC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.d.ts b/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.d.ts
new file mode 100644
index 0000000..2527e86
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.d.ts
@@ -0,0 +1,8 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { Signal } from '../Signals/Signal';
+import { BaseCoil } from './BaseCoil';
+export declare class BaseNPCoil extends BaseCoil {
+ helpSignal: Signal | null;
+ constructor(signal: Signal, helpSignal: Signal | null, op?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=BaseNPCoil.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.d.ts.map b/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.d.ts.map
new file mode 100644
index 0000000..32e9b59
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"BaseNPCoil.d.ts","sourceRoot":"","sources":["../../../src/Commands/Coils/BaseNPCoil.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBAAa,UAAW,SAAQ,QAAQ;IACpC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;gBAEd,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,EAAE,EAAE,GAAE,kBAAkB,GAAG,IAAW;CAO9F"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.js b/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.js
new file mode 100644
index 0000000..771921e
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.js
@@ -0,0 +1,15 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.BaseNPCoil = void 0;
+const BaseCoil_1 = require("./BaseCoil");
+class BaseNPCoil extends BaseCoil_1.BaseCoil {
+ constructor(signal, helpSignal, op = null) {
+ super(signal, op);
+ this.helpSignal = helpSignal;
+ if (helpSignal !== null) {
+ this.children.push(helpSignal);
+ }
+ }
+}
+exports.BaseNPCoil = BaseNPCoil;
+//# sourceMappingURL=BaseNPCoil.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.js.map b/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.js.map
new file mode 100644
index 0000000..4fee8a3
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"BaseNPCoil.js","sourceRoot":"","sources":["../../../src/Commands/Coils/BaseNPCoil.ts"],"names":[],"mappings":";;;AAEA,yCAAsC;AAEtC,MAAa,UAAW,SAAQ,mBAAQ;IAGpC,YAAY,MAAc,EAAE,UAAyB,EAAE,KAAgC,IAAI;QACvF,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAClB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,UAAU,KAAK,IAAI,EAAE,CAAC;YACtB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACnC,CAAC;IACL,CAAC;CACJ;AAVD,gCAUC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/Coil.d.ts b/TiaCodegen-ts/dist/Commands/Coils/Coil.d.ts
new file mode 100644
index 0000000..a188b45
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/Coil.d.ts
@@ -0,0 +1,7 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { Signal } from '../Signals/Signal';
+import { BaseCoil } from './BaseCoil';
+export declare class Coil extends BaseCoil {
+ constructor(signal: Signal, op?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=Coil.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/Coil.d.ts.map b/TiaCodegen-ts/dist/Commands/Coils/Coil.d.ts.map
new file mode 100644
index 0000000..f920198
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/Coil.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"Coil.d.ts","sourceRoot":"","sources":["../../../src/Commands/Coils/Coil.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBAAa,IAAK,SAAQ,QAAQ;gBAClB,MAAM,EAAE,MAAM,EAAE,EAAE,GAAE,kBAAkB,GAAG,IAAW;CAGnE"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/Coil.js b/TiaCodegen-ts/dist/Commands/Coils/Coil.js
new file mode 100644
index 0000000..ca9314b
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/Coil.js
@@ -0,0 +1,11 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.Coil = void 0;
+const BaseCoil_1 = require("./BaseCoil");
+class Coil extends BaseCoil_1.BaseCoil {
+ constructor(signal, op = null) {
+ super(signal, op);
+ }
+}
+exports.Coil = Coil;
+//# sourceMappingURL=Coil.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/Coil.js.map b/TiaCodegen-ts/dist/Commands/Coils/Coil.js.map
new file mode 100644
index 0000000..6a6c910
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/Coil.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"Coil.js","sourceRoot":"","sources":["../../../src/Commands/Coils/Coil.ts"],"names":[],"mappings":";;;AAEA,yCAAsC;AAEtC,MAAa,IAAK,SAAQ,mBAAQ;IAC9B,YAAY,MAAc,EAAE,KAAgC,IAAI;QAC5D,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IACtB,CAAC;CACJ;AAJD,oBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/PCoil.d.ts b/TiaCodegen-ts/dist/Commands/Coils/PCoil.d.ts
new file mode 100644
index 0000000..0d94b21
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/PCoil.d.ts
@@ -0,0 +1,7 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { Signal } from '../Signals/Signal';
+import { BaseNPCoil } from './BaseNPCoil';
+export declare class PCoil extends BaseNPCoil {
+ constructor(signal: Signal, helpSignal: Signal, op?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=PCoil.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/PCoil.d.ts.map b/TiaCodegen-ts/dist/Commands/Coils/PCoil.d.ts.map
new file mode 100644
index 0000000..085d550
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/PCoil.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"PCoil.d.ts","sourceRoot":"","sources":["../../../src/Commands/Coils/PCoil.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,KAAM,SAAQ,UAAU;gBACrB,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,GAAE,kBAAkB,GAAG,IAAW;CAGvF"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/PCoil.js b/TiaCodegen-ts/dist/Commands/Coils/PCoil.js
new file mode 100644
index 0000000..c94019b
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/PCoil.js
@@ -0,0 +1,11 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.PCoil = void 0;
+const BaseNPCoil_1 = require("./BaseNPCoil");
+class PCoil extends BaseNPCoil_1.BaseNPCoil {
+ constructor(signal, helpSignal, op = null) {
+ super(signal, helpSignal, op);
+ }
+}
+exports.PCoil = PCoil;
+//# sourceMappingURL=PCoil.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/PCoil.js.map b/TiaCodegen-ts/dist/Commands/Coils/PCoil.js.map
new file mode 100644
index 0000000..2f7d376
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/PCoil.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"PCoil.js","sourceRoot":"","sources":["../../../src/Commands/Coils/PCoil.ts"],"names":[],"mappings":";;;AAEA,6CAA0C;AAE1C,MAAa,KAAM,SAAQ,uBAAU;IACjC,YAAY,MAAc,EAAE,UAAkB,EAAE,KAAgC,IAAI;QAChF,KAAK,CAAC,MAAM,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC;IAClC,CAAC;CACJ;AAJD,sBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/RCoil.d.ts b/TiaCodegen-ts/dist/Commands/Coils/RCoil.d.ts
new file mode 100644
index 0000000..b54411c
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/RCoil.d.ts
@@ -0,0 +1,7 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { Signal } from '../Signals/Signal';
+import { BaseCoil } from './BaseCoil';
+export declare class RCoil extends BaseCoil {
+ constructor(signal: Signal, op?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=RCoil.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/RCoil.d.ts.map b/TiaCodegen-ts/dist/Commands/Coils/RCoil.d.ts.map
new file mode 100644
index 0000000..afe56c9
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/RCoil.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"RCoil.d.ts","sourceRoot":"","sources":["../../../src/Commands/Coils/RCoil.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBAAa,KAAM,SAAQ,QAAQ;gBACnB,MAAM,EAAE,MAAM,EAAE,EAAE,GAAE,kBAAkB,GAAG,IAAW;CAGnE"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/RCoil.js b/TiaCodegen-ts/dist/Commands/Coils/RCoil.js
new file mode 100644
index 0000000..3f1fe73
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/RCoil.js
@@ -0,0 +1,11 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.RCoil = void 0;
+const BaseCoil_1 = require("./BaseCoil");
+class RCoil extends BaseCoil_1.BaseCoil {
+ constructor(signal, op = null) {
+ super(signal, op);
+ }
+}
+exports.RCoil = RCoil;
+//# sourceMappingURL=RCoil.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/RCoil.js.map b/TiaCodegen-ts/dist/Commands/Coils/RCoil.js.map
new file mode 100644
index 0000000..4878e8b
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/RCoil.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"RCoil.js","sourceRoot":"","sources":["../../../src/Commands/Coils/RCoil.ts"],"names":[],"mappings":";;;AAEA,yCAAsC;AAEtC,MAAa,KAAM,SAAQ,mBAAQ;IAC/B,YAAY,MAAc,EAAE,KAAgC,IAAI;QAC5D,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IACtB,CAAC;CACJ;AAJD,sBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/SCoil.d.ts b/TiaCodegen-ts/dist/Commands/Coils/SCoil.d.ts
new file mode 100644
index 0000000..3779211
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/SCoil.d.ts
@@ -0,0 +1,7 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { Signal } from '../Signals/Signal';
+import { BaseCoil } from './BaseCoil';
+export declare class SCoil extends BaseCoil {
+ constructor(signal: Signal, op?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=SCoil.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/SCoil.d.ts.map b/TiaCodegen-ts/dist/Commands/Coils/SCoil.d.ts.map
new file mode 100644
index 0000000..e67d48b
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/SCoil.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"SCoil.d.ts","sourceRoot":"","sources":["../../../src/Commands/Coils/SCoil.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBAAa,KAAM,SAAQ,QAAQ;gBACnB,MAAM,EAAE,MAAM,EAAE,EAAE,GAAE,kBAAkB,GAAG,IAAW;CAGnE"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/SCoil.js b/TiaCodegen-ts/dist/Commands/Coils/SCoil.js
new file mode 100644
index 0000000..3052f53
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/SCoil.js
@@ -0,0 +1,11 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.SCoil = void 0;
+const BaseCoil_1 = require("./BaseCoil");
+class SCoil extends BaseCoil_1.BaseCoil {
+ constructor(signal, op = null) {
+ super(signal, op);
+ }
+}
+exports.SCoil = SCoil;
+//# sourceMappingURL=SCoil.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/SCoil.js.map b/TiaCodegen-ts/dist/Commands/Coils/SCoil.js.map
new file mode 100644
index 0000000..0762e69
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Coils/SCoil.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"SCoil.js","sourceRoot":"","sources":["../../../src/Commands/Coils/SCoil.ts"],"names":[],"mappings":";;;AAEA,yCAAsC;AAEtC,MAAa,KAAM,SAAQ,mBAAQ;IAC/B,YAAY,MAAc,EAAE,KAAgC,IAAI;QAC5D,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IACtB,CAAC;CACJ;AAJD,sBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.d.ts b/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.d.ts
new file mode 100644
index 0000000..1601172
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { BaseOperationOrSignal } from '../BaseOperationOrSignal';
+export declare abstract class CompareOperator extends BaseOperationOrSignal {
+ constructor(...operationOrSignals: IOperationOrSignal[]);
+}
+//# sourceMappingURL=CompareOperator.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.d.ts.map b/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.d.ts.map
new file mode 100644
index 0000000..d58ffd1
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"CompareOperator.d.ts","sourceRoot":"","sources":["../../../src/Commands/Comparisons/CompareOperator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAEjE,8BAAsB,eAAgB,SAAQ,qBAAqB;gBACnD,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;CAG1D"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.js b/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.js
new file mode 100644
index 0000000..6150b1f
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.js
@@ -0,0 +1,11 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.CompareOperator = void 0;
+const BaseOperationOrSignal_1 = require("../BaseOperationOrSignal");
+class CompareOperator extends BaseOperationOrSignal_1.BaseOperationOrSignal {
+ constructor(...operationOrSignals) {
+ super(...operationOrSignals);
+ }
+}
+exports.CompareOperator = CompareOperator;
+//# sourceMappingURL=CompareOperator.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.js.map b/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.js.map
new file mode 100644
index 0000000..cf0a4e3
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"CompareOperator.js","sourceRoot":"","sources":["../../../src/Commands/Comparisons/CompareOperator.ts"],"names":[],"mappings":";;;AACA,oEAAiE;AAEjE,MAAsB,eAAgB,SAAQ,6CAAqB;IAC/D,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;CACJ;AAJD,0CAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Eq.d.ts b/TiaCodegen-ts/dist/Commands/Comparisons/Eq.d.ts
new file mode 100644
index 0000000..92f4386
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Eq.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { CompareOperator } from './CompareOperator';
+export declare class Eq extends CompareOperator {
+ constructor(...operationOrSignals: IOperationOrSignal[]);
+}
+//# sourceMappingURL=Eq.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Eq.d.ts.map b/TiaCodegen-ts/dist/Commands/Comparisons/Eq.d.ts.map
new file mode 100644
index 0000000..7fd5800
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Eq.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"Eq.d.ts","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Eq.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qBAAa,EAAG,SAAQ,eAAe;gBACvB,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;CAG1D"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Eq.js b/TiaCodegen-ts/dist/Commands/Comparisons/Eq.js
new file mode 100644
index 0000000..27f9e19
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Eq.js
@@ -0,0 +1,11 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.Eq = void 0;
+const CompareOperator_1 = require("./CompareOperator");
+class Eq extends CompareOperator_1.CompareOperator {
+ constructor(...operationOrSignals) {
+ super(...operationOrSignals);
+ }
+}
+exports.Eq = Eq;
+//# sourceMappingURL=Eq.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Eq.js.map b/TiaCodegen-ts/dist/Commands/Comparisons/Eq.js.map
new file mode 100644
index 0000000..93b8053
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Eq.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"Eq.js","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Eq.ts"],"names":[],"mappings":";;;AACA,uDAAoD;AAEpD,MAAa,EAAG,SAAQ,iCAAe;IACnC,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;CACJ;AAJD,gBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Ge.d.ts b/TiaCodegen-ts/dist/Commands/Comparisons/Ge.d.ts
new file mode 100644
index 0000000..fa54922
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Ge.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { CompareOperator } from './CompareOperator';
+export declare class Ge extends CompareOperator {
+ constructor(...operationOrSignals: IOperationOrSignal[]);
+}
+//# sourceMappingURL=Ge.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Ge.d.ts.map b/TiaCodegen-ts/dist/Commands/Comparisons/Ge.d.ts.map
new file mode 100644
index 0000000..2d86a68
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Ge.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"Ge.d.ts","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Ge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qBAAa,EAAG,SAAQ,eAAe;gBACvB,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;CAG1D"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Ge.js b/TiaCodegen-ts/dist/Commands/Comparisons/Ge.js
new file mode 100644
index 0000000..6a63883
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Ge.js
@@ -0,0 +1,11 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.Ge = void 0;
+const CompareOperator_1 = require("./CompareOperator");
+class Ge extends CompareOperator_1.CompareOperator {
+ constructor(...operationOrSignals) {
+ super(...operationOrSignals);
+ }
+}
+exports.Ge = Ge;
+//# sourceMappingURL=Ge.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Ge.js.map b/TiaCodegen-ts/dist/Commands/Comparisons/Ge.js.map
new file mode 100644
index 0000000..8810a24
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Ge.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"Ge.js","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Ge.ts"],"names":[],"mappings":";;;AACA,uDAAoD;AAEpD,MAAa,EAAG,SAAQ,iCAAe;IACnC,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;CACJ;AAJD,gBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Gt.d.ts b/TiaCodegen-ts/dist/Commands/Comparisons/Gt.d.ts
new file mode 100644
index 0000000..b8b8af6
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Gt.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { CompareOperator } from './CompareOperator';
+export declare class Gt extends CompareOperator {
+ constructor(...operationOrSignals: IOperationOrSignal[]);
+}
+//# sourceMappingURL=Gt.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Gt.d.ts.map b/TiaCodegen-ts/dist/Commands/Comparisons/Gt.d.ts.map
new file mode 100644
index 0000000..d1e9acd
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Gt.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"Gt.d.ts","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Gt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qBAAa,EAAG,SAAQ,eAAe;gBACvB,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;CAG1D"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Gt.js b/TiaCodegen-ts/dist/Commands/Comparisons/Gt.js
new file mode 100644
index 0000000..166893b
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Gt.js
@@ -0,0 +1,11 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.Gt = void 0;
+const CompareOperator_1 = require("./CompareOperator");
+class Gt extends CompareOperator_1.CompareOperator {
+ constructor(...operationOrSignals) {
+ super(...operationOrSignals);
+ }
+}
+exports.Gt = Gt;
+//# sourceMappingURL=Gt.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Gt.js.map b/TiaCodegen-ts/dist/Commands/Comparisons/Gt.js.map
new file mode 100644
index 0000000..b3668f8
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Gt.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"Gt.js","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Gt.ts"],"names":[],"mappings":";;;AACA,uDAAoD;AAEpD,MAAa,EAAG,SAAQ,iCAAe;IACnC,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;CACJ;AAJD,gBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.d.ts b/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.d.ts
new file mode 100644
index 0000000..fe71ec0
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { SystemFunctionCall } from '../Functions/Base/SystemFunctionCall';
+export declare class InRangeCall extends SystemFunctionCall {
+ constructor(min: IOperationOrSignal, inParam: IOperationOrSignal, max: IOperationOrSignal, out: IOperationOrSignal, eno?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=InRangeCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.d.ts.map
new file mode 100644
index 0000000..c162fb0
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"InRangeCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Comparisons/InRangeCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,qBAAa,WAAY,SAAQ,kBAAkB;gBAE3C,GAAG,EAAE,kBAAkB,EACvB,OAAO,EAAE,kBAAkB,EAC3B,GAAG,EAAE,kBAAkB,EACvB,GAAG,EAAE,kBAAkB,EACvB,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAa5C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.js b/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.js
new file mode 100644
index 0000000..bd93087
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.js
@@ -0,0 +1,22 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.InRangeCall = void 0;
+const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
+const Direction_1 = require("../../Enums/Direction");
+const SystemFunctionCall_1 = require("../Functions/Base/SystemFunctionCall");
+class InRangeCall extends SystemFunctionCall_1.SystemFunctionCall {
+ constructor(min, inParam, max, out, eno = null) {
+ super('InRange', eno);
+ this.disableEno = false;
+ this.iface['min'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(min, Direction_1.Direction.Input);
+ this.iface['in'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(inParam, Direction_1.Direction.Input);
+ this.iface['max'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(max, Direction_1.Direction.Input);
+ this.iface['out'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(out, Direction_1.Direction.Output);
+ for (const w of Object.values(this.iface)) {
+ if (w.operationOrSignal !== null)
+ this.children.push(w.operationOrSignal);
+ }
+ }
+}
+exports.InRangeCall = InRangeCall;
+//# sourceMappingURL=InRangeCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.js.map b/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.js.map
new file mode 100644
index 0000000..8ad17ec
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"InRangeCall.js","sourceRoot":"","sources":["../../../src/Commands/Comparisons/InRangeCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,6EAA0E;AAE1E,MAAa,WAAY,SAAQ,uCAAkB;IAC/C,YACI,GAAuB,EACvB,OAA2B,EAC3B,GAAuB,EACvB,GAAuB,EACvB,MAAiC,IAAI;QAErC,KAAK,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC;QACtB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;QACxB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,OAAO,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACpF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAElF,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAnBD,kCAmBC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Le.d.ts b/TiaCodegen-ts/dist/Commands/Comparisons/Le.d.ts
new file mode 100644
index 0000000..459ed9e
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Le.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { CompareOperator } from './CompareOperator';
+export declare class Le extends CompareOperator {
+ constructor(...operationOrSignals: IOperationOrSignal[]);
+}
+//# sourceMappingURL=Le.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Le.d.ts.map b/TiaCodegen-ts/dist/Commands/Comparisons/Le.d.ts.map
new file mode 100644
index 0000000..9d159ad
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Le.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"Le.d.ts","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Le.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qBAAa,EAAG,SAAQ,eAAe;gBACvB,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;CAG1D"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Le.js b/TiaCodegen-ts/dist/Commands/Comparisons/Le.js
new file mode 100644
index 0000000..2856981
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Le.js
@@ -0,0 +1,11 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.Le = void 0;
+const CompareOperator_1 = require("./CompareOperator");
+class Le extends CompareOperator_1.CompareOperator {
+ constructor(...operationOrSignals) {
+ super(...operationOrSignals);
+ }
+}
+exports.Le = Le;
+//# sourceMappingURL=Le.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Le.js.map b/TiaCodegen-ts/dist/Commands/Comparisons/Le.js.map
new file mode 100644
index 0000000..066a9a6
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Le.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"Le.js","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Le.ts"],"names":[],"mappings":";;;AACA,uDAAoD;AAEpD,MAAa,EAAG,SAAQ,iCAAe;IACnC,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;CACJ;AAJD,gBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Lt.d.ts b/TiaCodegen-ts/dist/Commands/Comparisons/Lt.d.ts
new file mode 100644
index 0000000..b50784c
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Lt.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { CompareOperator } from './CompareOperator';
+export declare class Lt extends CompareOperator {
+ constructor(...operationOrSignals: IOperationOrSignal[]);
+}
+//# sourceMappingURL=Lt.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Lt.d.ts.map b/TiaCodegen-ts/dist/Commands/Comparisons/Lt.d.ts.map
new file mode 100644
index 0000000..ac5bbbe
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Lt.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"Lt.d.ts","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Lt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qBAAa,EAAG,SAAQ,eAAe;gBACvB,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;CAG1D"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Lt.js b/TiaCodegen-ts/dist/Commands/Comparisons/Lt.js
new file mode 100644
index 0000000..7432513
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Lt.js
@@ -0,0 +1,11 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.Lt = void 0;
+const CompareOperator_1 = require("./CompareOperator");
+class Lt extends CompareOperator_1.CompareOperator {
+ constructor(...operationOrSignals) {
+ super(...operationOrSignals);
+ }
+}
+exports.Lt = Lt;
+//# sourceMappingURL=Lt.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Lt.js.map b/TiaCodegen-ts/dist/Commands/Comparisons/Lt.js.map
new file mode 100644
index 0000000..47f4beb
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Lt.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"Lt.js","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Lt.ts"],"names":[],"mappings":";;;AACA,uDAAoD;AAEpD,MAAa,EAAG,SAAQ,iCAAe;IACnC,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;CACJ;AAJD,gBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Ne.d.ts b/TiaCodegen-ts/dist/Commands/Comparisons/Ne.d.ts
new file mode 100644
index 0000000..6a5d9fe
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Ne.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { CompareOperator } from './CompareOperator';
+export declare class Ne extends CompareOperator {
+ constructor(...operationOrSignals: IOperationOrSignal[]);
+}
+//# sourceMappingURL=Ne.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Ne.d.ts.map b/TiaCodegen-ts/dist/Commands/Comparisons/Ne.d.ts.map
new file mode 100644
index 0000000..7114179
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Ne.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"Ne.d.ts","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Ne.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qBAAa,EAAG,SAAQ,eAAe;gBACvB,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;CAG1D"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Ne.js b/TiaCodegen-ts/dist/Commands/Comparisons/Ne.js
new file mode 100644
index 0000000..5b594e8
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Ne.js
@@ -0,0 +1,11 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.Ne = void 0;
+const CompareOperator_1 = require("./CompareOperator");
+class Ne extends CompareOperator_1.CompareOperator {
+ constructor(...operationOrSignals) {
+ super(...operationOrSignals);
+ }
+}
+exports.Ne = Ne;
+//# sourceMappingURL=Ne.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Ne.js.map b/TiaCodegen-ts/dist/Commands/Comparisons/Ne.js.map
new file mode 100644
index 0000000..e8dfb21
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/Ne.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"Ne.js","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Ne.ts"],"names":[],"mappings":";;;AACA,uDAAoD;AAEpD,MAAa,EAAG,SAAQ,iCAAe;IACnC,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;CACJ;AAJD,gBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.d.ts b/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.d.ts
new file mode 100644
index 0000000..fc4a24a
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { SystemFunctionCall } from '../Functions/Base/SystemFunctionCall';
+export declare class OutRangeCall extends SystemFunctionCall {
+ constructor(min: IOperationOrSignal, inParam: IOperationOrSignal, max: IOperationOrSignal, out: IOperationOrSignal, eno?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=OutRangeCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.d.ts.map
new file mode 100644
index 0000000..13341c6
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"OutRangeCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Comparisons/OutRangeCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,qBAAa,YAAa,SAAQ,kBAAkB;gBAE5C,GAAG,EAAE,kBAAkB,EACvB,OAAO,EAAE,kBAAkB,EAC3B,GAAG,EAAE,kBAAkB,EACvB,GAAG,EAAE,kBAAkB,EACvB,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAa5C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.js b/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.js
new file mode 100644
index 0000000..1e92ec2
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.js
@@ -0,0 +1,22 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.OutRangeCall = void 0;
+const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
+const Direction_1 = require("../../Enums/Direction");
+const SystemFunctionCall_1 = require("../Functions/Base/SystemFunctionCall");
+class OutRangeCall extends SystemFunctionCall_1.SystemFunctionCall {
+ constructor(min, inParam, max, out, eno = null) {
+ super('OutRange', eno);
+ this.disableEno = false;
+ this.iface['min'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(min, Direction_1.Direction.Input);
+ this.iface['in'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(inParam, Direction_1.Direction.Input);
+ this.iface['max'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(max, Direction_1.Direction.Input);
+ this.iface['out'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(out, Direction_1.Direction.Output);
+ for (const w of Object.values(this.iface)) {
+ if (w.operationOrSignal !== null)
+ this.children.push(w.operationOrSignal);
+ }
+ }
+}
+exports.OutRangeCall = OutRangeCall;
+//# sourceMappingURL=OutRangeCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.js.map b/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.js.map
new file mode 100644
index 0000000..8ad0957
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"OutRangeCall.js","sourceRoot":"","sources":["../../../src/Commands/Comparisons/OutRangeCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,6EAA0E;AAE1E,MAAa,YAAa,SAAQ,uCAAkB;IAChD,YACI,GAAuB,EACvB,OAA2B,EAC3B,GAAuB,EACvB,GAAuB,EACvB,MAAiC,IAAI;QAErC,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;QACvB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;QACxB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,OAAO,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACpF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAElF,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAnBD,oCAmBC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Convert.d.ts b/TiaCodegen-ts/dist/Commands/Convert.d.ts
new file mode 100644
index 0000000..dfda0c4
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Convert.d.ts
@@ -0,0 +1,7 @@
+import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
+import { IFunctionOperation } from '../Interfaces/IFunctionOperation';
+import { BaseOperationOrSignal } from './BaseOperationOrSignal';
+export declare class Convert extends BaseOperationOrSignal implements IFunctionOperation {
+ constructor(...operationOrSignals: IOperationOrSignal[]);
+}
+//# sourceMappingURL=Convert.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Convert.d.ts.map b/TiaCodegen-ts/dist/Commands/Convert.d.ts.map
new file mode 100644
index 0000000..3228b10
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Convert.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"Convert.d.ts","sourceRoot":"","sources":["../../src/Commands/Convert.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,qBAAa,OAAQ,SAAQ,qBAAsB,YAAW,kBAAkB;gBAChE,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;CAG1D"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Convert.js b/TiaCodegen-ts/dist/Commands/Convert.js
new file mode 100644
index 0000000..2c6e592
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Convert.js
@@ -0,0 +1,11 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.Convert = void 0;
+const BaseOperationOrSignal_1 = require("./BaseOperationOrSignal");
+class Convert extends BaseOperationOrSignal_1.BaseOperationOrSignal {
+ constructor(...operationOrSignals) {
+ super(...operationOrSignals);
+ }
+}
+exports.Convert = Convert;
+//# sourceMappingURL=Convert.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Convert.js.map b/TiaCodegen-ts/dist/Commands/Convert.js.map
new file mode 100644
index 0000000..f1a42e2
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Convert.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"Convert.js","sourceRoot":"","sources":["../../src/Commands/Convert.ts"],"names":[],"mappings":";;;AAEA,mEAAgE;AAEhE,MAAa,OAAQ,SAAQ,6CAAqB;IAC9C,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;CACJ;AAJD,0BAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Distributor.d.ts b/TiaCodegen-ts/dist/Commands/Distributor.d.ts
new file mode 100644
index 0000000..69d4cb3
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Distributor.d.ts
@@ -0,0 +1,7 @@
+import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
+import { BaseOperationOrSignal } from './BaseOperationOrSignal';
+export declare class Distributor extends BaseOperationOrSignal {
+ constructor(...operationOrSignals: IOperationOrSignal[]);
+ createContactAndFillCardinality(parent: IOperationOrSignal): number;
+}
+//# sourceMappingURL=Distributor.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Distributor.d.ts.map b/TiaCodegen-ts/dist/Commands/Distributor.d.ts.map
new file mode 100644
index 0000000..3a373d7
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Distributor.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"Distributor.d.ts","sourceRoot":"","sources":["../../src/Commands/Distributor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,qBAAa,WAAY,SAAQ,qBAAqB;gBACtC,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;IAIvD,+BAA+B,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM;CAStE"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Distributor.js b/TiaCodegen-ts/dist/Commands/Distributor.js
new file mode 100644
index 0000000..89f3d3f
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Distributor.js
@@ -0,0 +1,20 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.Distributor = void 0;
+const BaseOperationOrSignal_1 = require("./BaseOperationOrSignal");
+class Distributor extends BaseOperationOrSignal_1.BaseOperationOrSignal {
+ constructor(...operationOrSignals) {
+ super(...operationOrSignals);
+ }
+ createContactAndFillCardinality(parent) {
+ let c = 0;
+ this.operationId = parent.operationId;
+ for (const op of this.children) {
+ c += op.createContactAndFillCardinality(this);
+ }
+ this.cardinality = c;
+ return this.cardinality;
+ }
+}
+exports.Distributor = Distributor;
+//# sourceMappingURL=Distributor.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Distributor.js.map b/TiaCodegen-ts/dist/Commands/Distributor.js.map
new file mode 100644
index 0000000..1e4a285
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Distributor.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"Distributor.js","sourceRoot":"","sources":["../../src/Commands/Distributor.ts"],"names":[],"mappings":";;;AACA,mEAAgE;AAEhE,MAAa,WAAY,SAAQ,6CAAqB;IAClD,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;IAED,+BAA+B,CAAC,MAA0B;QACtD,IAAI,CAAC,GAAG,CAAC,CAAC;QACV,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QACtC,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAC7B,CAAC,IAAI,EAAE,CAAC,+BAA+B,CAAC,IAAI,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;QACrB,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;CACJ;AAdD,kCAcC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.d.ts
new file mode 100644
index 0000000..cadbc5d
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { SystemFunctionBlockCall } from './Base/SystemFunctionBlockCall';
+export declare class AckGlCall extends SystemFunctionBlockCall {
+ constructor(instanceName: string, ackGlob?: IOperationOrSignal | null, eno?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=AckGlCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.d.ts.map
new file mode 100644
index 0000000..9899113
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"AckGlCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/AckGlCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBAAa,SAAU,SAAQ,uBAAuB;gBAE9C,YAAY,EAAE,MAAM,EACpB,OAAO,GAAE,kBAAkB,GAAG,IAAW,EACzC,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAe5C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.js b/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.js
new file mode 100644
index 0000000..273e693
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.js
@@ -0,0 +1,23 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.AckGlCall = void 0;
+const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
+const Direction_1 = require("../../Enums/Direction");
+const SystemFunctionBlockCall_1 = require("./Base/SystemFunctionBlockCall");
+class AckGlCall extends SystemFunctionBlockCall_1.SystemFunctionBlockCall {
+ constructor(instanceName, ackGlob = null, eno = null) {
+ super('ACK_GL', instanceName, eno);
+ this.iface['ACK_GLOB'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(ackGlob, Direction_1.Direction.Input);
+ this.additionalSafetyTemplateValues = `
+1
+0
+DInt
+`;
+ for (const w of Object.values(this.iface)) {
+ if (w.operationOrSignal !== null)
+ this.children.push(w.operationOrSignal);
+ }
+ }
+}
+exports.AckGlCall = AckGlCall;
+//# sourceMappingURL=AckGlCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.js.map
new file mode 100644
index 0000000..f634d49
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"AckGlCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/AckGlCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,4EAAyE;AAEzE,MAAa,SAAU,SAAQ,iDAAuB;IAClD,YACI,YAAoB,EACpB,UAAqC,IAAI,EACzC,MAAiC,IAAI;QAErC,KAAK,CAAC,QAAQ,EAAE,YAAY,EAAE,GAAG,CAAC,CAAC;QACnC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,IAAI,uEAAkC,CAAC,OAAO,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAE1F,IAAI,CAAC,8BAA8B,GAAG;;;;CAI7C,CAAC;QAEM,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAnBD,8BAmBC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.d.ts
new file mode 100644
index 0000000..5e6f647
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
+import { VariableArithmeticCall } from './VariableArithmeticCall';
+export declare class AddCall extends VariableArithmeticCall {
+ constructor(type: string, in1: IOperationOrSignal, in2: IOperationOrSignal, in3?: IOperationOrSignal | null, in4?: IOperationOrSignal | null, in5?: IOperationOrSignal | null, in6?: IOperationOrSignal | null, in7?: IOperationOrSignal | null, in8?: IOperationOrSignal | null, in9?: IOperationOrSignal | null, in10?: IOperationOrSignal | null, in11?: IOperationOrSignal | null, in12?: IOperationOrSignal | null, in13?: IOperationOrSignal | null, in14?: IOperationOrSignal | null, in15?: IOperationOrSignal | null, in16?: IOperationOrSignal | null, in17?: IOperationOrSignal | null, in18?: IOperationOrSignal | null, in19?: IOperationOrSignal | null, in20?: IOperationOrSignal | null, in21?: IOperationOrSignal | null, in22?: IOperationOrSignal | null, in23?: IOperationOrSignal | null, in24?: IOperationOrSignal | null, in25?: IOperationOrSignal | null, in26?: IOperationOrSignal | null, in27?: IOperationOrSignal | null, in28?: IOperationOrSignal | null, in29?: IOperationOrSignal | null, in30?: IOperationOrSignal | null, in31?: IOperationOrSignal | null, in32?: IOperationOrSignal | null, in33?: IOperationOrSignal | null, in34?: IOperationOrSignal | null, in35?: IOperationOrSignal | null, in36?: IOperationOrSignal | null, in37?: IOperationOrSignal | null, in38?: IOperationOrSignal | null, in39?: IOperationOrSignal | null, in40?: IOperationOrSignal | null, in41?: IOperationOrSignal | null, in42?: IOperationOrSignal | null, in43?: IOperationOrSignal | null, in44?: IOperationOrSignal | null, in45?: IOperationOrSignal | null, in46?: IOperationOrSignal | null, in47?: IOperationOrSignal | null, in48?: IOperationOrSignal | null, in49?: IOperationOrSignal | null, in50?: IOperationOrSignal | null, out1?: IOperationOrSignal | null, eno?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=AddCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.d.ts.map
new file mode 100644
index 0000000..5a3caa1
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"AddCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/AddCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAG5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,qBAAa,OAAQ,SAAQ,sBAAsB;gBAEnC,IAAI,EAAE,MAAM,EACpB,GAAG,EAAE,kBAAkB,EACvB,GAAG,EAAE,kBAAkB,EACvB,GAAG,GAAE,kBAAkB,GAAG,IAAW,EACrC,GAAG,GAAE,kBAAkB,GAAG,IAAW,EACrC,GAAG,GAAE,kBAAkB,GAAG,IAAW,EACrC,GAAG,GAAE,kBAAkB,GAAG,IAAW,EACrC,GAAG,GAAE,kBAAkB,GAAG,IAAW,EACrC,GAAG,GAAE,kBAAkB,GAAG,IAAW,EACrC,GAAG,GAAE,kBAAkB,GAAG,IAAW,EACrC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBA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metic/AddCall.js b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.js
new file mode 100644
index 0000000..b55b7c7
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.js
@@ -0,0 +1,70 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.AddCall = void 0;
+const IOperationOrSignalDirectionWrapper_1 = require("../../../Interfaces/IOperationOrSignalDirectionWrapper");
+const Direction_1 = require("../../../Enums/Direction");
+const VariableArithmeticCall_1 = require("./VariableArithmeticCall");
+class AddCall extends VariableArithmeticCall_1.VariableArithmeticCall {
+ constructor(type, in1, in2, in3 = null, in4 = null, in5 = null, in6 = null, in7 = null, in8 = null, in9 = null, in10 = null, in11 = null, in12 = null, in13 = null, in14 = null, in15 = null, in16 = null, in17 = null, in18 = null, in19 = null, in20 = null, in21 = null, in22 = null, in23 = null, in24 = null, in25 = null, in26 = null, in27 = null, in28 = null, in29 = null, in30 = null, in31 = null, in32 = null, in33 = null, in34 = null, in35 = null, in36 = null, in37 = null, in38 = null, in39 = null, in40 = null, in41 = null, in42 = null, in43 = null, in44 = null, in45 = null, in46 = null, in47 = null, in48 = null, in49 = null, in50 = null, out1 = null, eno = null) {
+ super('Add', eno);
+ this.disableEno = true;
+ this.type = type;
+ this.iface['IN1'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in1, Direction_1.Direction.Input);
+ this.iface['IN2'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in2, Direction_1.Direction.Input);
+ this.iface['IN3'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in3, Direction_1.Direction.Input);
+ this.iface['IN4'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in4, Direction_1.Direction.Input);
+ this.iface['IN5'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in5, Direction_1.Direction.Input);
+ this.iface['IN6'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in6, Direction_1.Direction.Input);
+ this.iface['IN7'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in7, Direction_1.Direction.Input);
+ this.iface['IN8'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in8, Direction_1.Direction.Input);
+ this.iface['IN9'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in9, Direction_1.Direction.Input);
+ this.iface['IN10'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in10, Direction_1.Direction.Input);
+ this.iface['IN11'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in11, Direction_1.Direction.Input);
+ this.iface['IN12'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in12, Direction_1.Direction.Input);
+ this.iface['IN13'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in13, Direction_1.Direction.Input);
+ this.iface['IN14'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in14, Direction_1.Direction.Input);
+ this.iface['IN15'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in15, Direction_1.Direction.Input);
+ this.iface['IN16'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in16, Direction_1.Direction.Input);
+ this.iface['IN17'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in17, Direction_1.Direction.Input);
+ this.iface['IN18'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in18, Direction_1.Direction.Input);
+ this.iface['IN19'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in19, Direction_1.Direction.Input);
+ this.iface['IN20'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in20, Direction_1.Direction.Input);
+ this.iface['IN21'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in21, Direction_1.Direction.Input);
+ this.iface['IN22'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in22, Direction_1.Direction.Input);
+ this.iface['IN23'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in23, Direction_1.Direction.Input);
+ this.iface['IN24'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in24, Direction_1.Direction.Input);
+ this.iface['IN25'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in25, Direction_1.Direction.Input);
+ this.iface['IN26'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in26, Direction_1.Direction.Input);
+ this.iface['IN27'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in27, Direction_1.Direction.Input);
+ this.iface['IN28'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in28, Direction_1.Direction.Input);
+ this.iface['IN29'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in29, Direction_1.Direction.Input);
+ this.iface['IN30'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in30, Direction_1.Direction.Input);
+ this.iface['IN31'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in31, Direction_1.Direction.Input);
+ this.iface['IN32'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in32, Direction_1.Direction.Input);
+ this.iface['IN33'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in33, Direction_1.Direction.Input);
+ this.iface['IN34'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in34, Direction_1.Direction.Input);
+ this.iface['IN35'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in35, Direction_1.Direction.Input);
+ this.iface['IN36'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in36, Direction_1.Direction.Input);
+ this.iface['IN37'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in37, Direction_1.Direction.Input);
+ this.iface['IN38'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in38, Direction_1.Direction.Input);
+ this.iface['IN39'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in39, Direction_1.Direction.Input);
+ this.iface['IN40'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in40, Direction_1.Direction.Input);
+ this.iface['IN41'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in41, Direction_1.Direction.Input);
+ this.iface['IN42'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in42, Direction_1.Direction.Input);
+ this.iface['IN43'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in43, Direction_1.Direction.Input);
+ this.iface['IN44'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in44, Direction_1.Direction.Input);
+ this.iface['IN45'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in45, Direction_1.Direction.Input);
+ this.iface['IN46'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in46, Direction_1.Direction.Input);
+ this.iface['IN47'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in47, Direction_1.Direction.Input);
+ this.iface['IN48'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in48, Direction_1.Direction.Input);
+ this.iface['IN49'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in49, Direction_1.Direction.Input);
+ this.iface['IN50'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in50, Direction_1.Direction.Input);
+ this.iface['OUT'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(out1, Direction_1.Direction.Output);
+ for (const w of Object.values(this.iface)) {
+ if (w.operationOrSignal !== null)
+ this.children.push(w.operationOrSignal);
+ }
+ }
+}
+exports.AddCall = AddCall;
+//# sourceMappingURL=AddCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.js.map
new file mode 100644
index 0000000..30c0f3e
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"AddCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/AddCall.ts"],"names":[],"mappings":";;;AACA,+GAA4G;AAC5G,wDAAqD;AACrD,qEAAkE;AAElE,MAAa,OAAQ,SAAQ,+CAAsB;IAC/C,YACY,IAAY,EACpB,GAAuB,EACvB,GAAuB,EACvB,MAAiC,IAAI,EACrC,MAAiC,IAAI,EACrC,MAAiC,IAAI,EACrC,MAAiC,IAAI,EACrC,MAAiC,IAAI,EACrC,MAAiC,IAAI,EACrC,MAAiC,IAAI,EACrC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,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GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEnF,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAnHD,0BAmHC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.d.ts
new file mode 100644
index 0000000..12fb403
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.d.ts
@@ -0,0 +1,7 @@
+import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
+import { SystemFunctionCall } from '../Base/SystemFunctionCall';
+export declare abstract class ArithmeticCall extends SystemFunctionCall {
+ type: string;
+ constructor(functionName: string, eno?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=ArithmeticCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.d.ts.map
new file mode 100644
index 0000000..a6f76fb
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"ArithmeticCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/ArithmeticCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,8BAAsB,cAAe,SAAQ,kBAAkB;IAC3D,IAAI,EAAE,MAAM,CAAM;gBAEN,YAAY,EAAE,MAAM,EAAE,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAG1E"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.js b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.js
new file mode 100644
index 0000000..a36fcec
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.js
@@ -0,0 +1,12 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.ArithmeticCall = void 0;
+const SystemFunctionCall_1 = require("../Base/SystemFunctionCall");
+class ArithmeticCall extends SystemFunctionCall_1.SystemFunctionCall {
+ constructor(functionName, eno = null) {
+ super(functionName, eno);
+ this.type = '';
+ }
+}
+exports.ArithmeticCall = ArithmeticCall;
+//# sourceMappingURL=ArithmeticCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.js.map
new file mode 100644
index 0000000..25fb2a2
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"ArithmeticCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/ArithmeticCall.ts"],"names":[],"mappings":";;;AACA,mEAAgE;AAEhE,MAAsB,cAAe,SAAQ,uCAAkB;IAG3D,YAAY,YAAoB,EAAE,MAAiC,IAAI;QACnE,KAAK,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;QAH7B,SAAI,GAAW,EAAE,CAAC;IAIlB,CAAC;CACJ;AAND,wCAMC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.d.ts
new file mode 100644
index 0000000..a7613d4
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
+import { ArithmeticCall } from './ArithmeticCall';
+export declare class DivCall extends ArithmeticCall {
+ constructor(type: string, in1: IOperationOrSignal, in2: IOperationOrSignal, out1?: IOperationOrSignal | null, eno?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=DivCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.d.ts.map
new file mode 100644
index 0000000..fc1b68a
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"DivCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/DivCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAG5E,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,OAAQ,SAAQ,cAAc;gBAEnC,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,kBAAkB,EACvB,GAAG,EAAE,kBAAkB,EACvB,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAa5C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.js b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.js
new file mode 100644
index 0000000..7465fe9
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.js
@@ -0,0 +1,22 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.DivCall = void 0;
+const IOperationOrSignalDirectionWrapper_1 = require("../../../Interfaces/IOperationOrSignalDirectionWrapper");
+const Direction_1 = require("../../../Enums/Direction");
+const ArithmeticCall_1 = require("./ArithmeticCall");
+class DivCall extends ArithmeticCall_1.ArithmeticCall {
+ constructor(type, in1, in2, out1 = null, eno = null) {
+ super('Div', eno);
+ this.disableEno = true;
+ this.type = type;
+ this.iface['IN1'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in1, Direction_1.Direction.Input);
+ this.iface['IN2'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in2, Direction_1.Direction.Input);
+ this.iface['OUT'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(out1, Direction_1.Direction.Output);
+ for (const w of Object.values(this.iface)) {
+ if (w.operationOrSignal !== null)
+ this.children.push(w.operationOrSignal);
+ }
+ }
+}
+exports.DivCall = DivCall;
+//# sourceMappingURL=DivCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.js.map
new file mode 100644
index 0000000..83adaa8
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"DivCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/DivCall.ts"],"names":[],"mappings":";;;AACA,+GAA4G;AAC5G,wDAAqD;AACrD,qDAAkD;AAElD,MAAa,OAAQ,SAAQ,+BAAc;IACvC,YACI,IAAY,EACZ,GAAuB,EACvB,GAAuB,EACvB,OAAkC,IAAI,EACtC,MAAiC,IAAI;QAErC,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;QAClB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEnF,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAnBD,0BAmBC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.d.ts
new file mode 100644
index 0000000..7060d75
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
+import { ArithmeticCall } from './ArithmeticCall';
+export declare class ModCall extends ArithmeticCall {
+ constructor(type: string, in1: IOperationOrSignal, in2: IOperationOrSignal, out1?: IOperationOrSignal | null, eno?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=ModCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.d.ts.map
new file mode 100644
index 0000000..5811fab
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"ModCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/ModCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAG5E,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,OAAQ,SAAQ,cAAc;gBAEnC,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,kBAAkB,EACvB,GAAG,EAAE,kBAAkB,EACvB,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAa5C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.js b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.js
new file mode 100644
index 0000000..f833b17
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.js
@@ -0,0 +1,22 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.ModCall = void 0;
+const IOperationOrSignalDirectionWrapper_1 = require("../../../Interfaces/IOperationOrSignalDirectionWrapper");
+const Direction_1 = require("../../../Enums/Direction");
+const ArithmeticCall_1 = require("./ArithmeticCall");
+class ModCall extends ArithmeticCall_1.ArithmeticCall {
+ constructor(type, in1, in2, out1 = null, eno = null) {
+ super('Mod', eno);
+ this.disableEno = true;
+ this.type = type;
+ this.iface['IN1'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in1, Direction_1.Direction.Input);
+ this.iface['IN2'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in2, Direction_1.Direction.Input);
+ this.iface['OUT'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(out1, Direction_1.Direction.Output);
+ for (const w of Object.values(this.iface)) {
+ if (w.operationOrSignal !== null)
+ this.children.push(w.operationOrSignal);
+ }
+ }
+}
+exports.ModCall = ModCall;
+//# sourceMappingURL=ModCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.js.map
new file mode 100644
index 0000000..decb137
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"ModCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/ModCall.ts"],"names":[],"mappings":";;;AACA,+GAA4G;AAC5G,wDAAqD;AACrD,qDAAkD;AAElD,MAAa,OAAQ,SAAQ,+BAAc;IACvC,YACI,IAAY,EACZ,GAAuB,EACvB,GAAuB,EACvB,OAAkC,IAAI,EACtC,MAAiC,IAAI;QAErC,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;QAClB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEnF,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAnBD,0BAmBC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.d.ts
new file mode 100644
index 0000000..833544d
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
+import { VariableArithmeticCall } from './VariableArithmeticCall';
+export declare class MulCall extends VariableArithmeticCall {
+ constructor(type: string, in1: IOperationOrSignal, in2: IOperationOrSignal, in3?: IOperationOrSignal | null, in4?: IOperationOrSignal | null, in5?: IOperationOrSignal | null, in6?: IOperationOrSignal | null, in7?: IOperationOrSignal | null, in8?: IOperationOrSignal | null, in9?: IOperationOrSignal | null, in10?: IOperationOrSignal | null, in11?: IOperationOrSignal | null, in12?: IOperationOrSignal | null, in13?: IOperationOrSignal | null, in14?: IOperationOrSignal | null, in15?: IOperationOrSignal | null, in16?: IOperationOrSignal | null, in17?: IOperationOrSignal | null, in18?: IOperationOrSignal | null, in19?: IOperationOrSignal | null, in20?: IOperationOrSignal | null, in21?: IOperationOrSignal | null, in22?: IOperationOrSignal | null, in23?: IOperationOrSignal | null, in24?: IOperationOrSignal | null, in25?: IOperationOrSignal | null, in26?: IOperationOrSignal | null, in27?: IOperationOrSignal | null, in28?: IOperationOrSignal | null, in29?: IOperationOrSignal | null, in30?: IOperationOrSignal | null, in31?: IOperationOrSignal | null, in32?: IOperationOrSignal | null, in33?: IOperationOrSignal | null, in34?: IOperationOrSignal | null, in35?: IOperationOrSignal | null, in36?: IOperationOrSignal | null, in37?: IOperationOrSignal | null, in38?: IOperationOrSignal | null, in39?: IOperationOrSignal | null, in40?: IOperationOrSignal | null, in41?: IOperationOrSignal | null, in42?: IOperationOrSignal | null, in43?: IOperationOrSignal | null, in44?: IOperationOrSignal | null, in45?: IOperationOrSignal | null, in46?: IOperationOrSignal | null, in47?: IOperationOrSignal | null, in48?: IOperationOrSignal | null, in49?: IOperationOrSignal | null, in50?: IOperationOrSignal | null, out1?: IOperationOrSignal | null, eno?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=MulCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.d.ts.map
new file mode 100644
index 0000000..a09fb93
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"MulCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/MulCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAG5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,qBAAa,OAAQ,SAAQ,sBAAsB;gBAEnC,IAAI,EAAE,MAAM,EACpB,GAAG,EAAE,kBAAkB,EACvB,GAAG,EAAE,kBAAkB,EACvB,GAAG,GAAE,kBAAkB,GAAG,IAAW,EACrC,GAAG,GAAE,kBAAkB,GAAG,IAAW,EACrC,GAAG,GAAE,kBAAkB,GAAG,IAAW,EACrC,GAAG,GAAE,kBAAkB,GAAG,IAAW,EACrC,GAAG,GAAE,kBAAkB,GAAG,IAAW,EACrC,GAAG,GAAE,kBAAkB,GAAG,IAAW,EACrC,GAAG,GAAE,kBAAkB,GAAG,IAAW,EACrC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,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EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,GAAG,GAAE,kBAAkB,GAAG,IAAW;CA6D5C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.js b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.js
new file mode 100644
index 0000000..d0d1d9c
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.js
@@ -0,0 +1,70 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.MulCall = void 0;
+const IOperationOrSignalDirectionWrapper_1 = require("../../../Interfaces/IOperationOrSignalDirectionWrapper");
+const Direction_1 = require("../../../Enums/Direction");
+const VariableArithmeticCall_1 = require("./VariableArithmeticCall");
+class MulCall extends VariableArithmeticCall_1.VariableArithmeticCall {
+ constructor(type, in1, in2, in3 = null, in4 = null, in5 = null, in6 = null, in7 = null, in8 = null, in9 = null, in10 = null, in11 = null, in12 = null, in13 = null, in14 = null, in15 = null, in16 = null, in17 = null, in18 = null, in19 = null, in20 = null, in21 = null, in22 = null, in23 = null, in24 = null, in25 = null, in26 = null, in27 = null, in28 = null, in29 = null, in30 = null, in31 = null, in32 = null, in33 = null, in34 = null, in35 = null, in36 = null, in37 = null, in38 = null, in39 = null, in40 = null, in41 = null, in42 = null, in43 = null, in44 = null, in45 = null, in46 = null, in47 = null, in48 = null, in49 = null, in50 = null, out1 = null, eno = null) {
+ super('Mul', eno);
+ this.disableEno = true;
+ this.type = type;
+ this.iface['IN1'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in1, Direction_1.Direction.Input);
+ this.iface['IN2'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in2, Direction_1.Direction.Input);
+ this.iface['IN3'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in3, Direction_1.Direction.Input);
+ this.iface['IN4'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in4, Direction_1.Direction.Input);
+ this.iface['IN5'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in5, Direction_1.Direction.Input);
+ this.iface['IN6'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in6, Direction_1.Direction.Input);
+ this.iface['IN7'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in7, Direction_1.Direction.Input);
+ this.iface['IN8'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in8, Direction_1.Direction.Input);
+ this.iface['IN9'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in9, Direction_1.Direction.Input);
+ this.iface['IN10'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in10, Direction_1.Direction.Input);
+ this.iface['IN11'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in11, Direction_1.Direction.Input);
+ this.iface['IN12'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in12, Direction_1.Direction.Input);
+ this.iface['IN13'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in13, Direction_1.Direction.Input);
+ this.iface['IN14'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in14, Direction_1.Direction.Input);
+ this.iface['IN15'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in15, Direction_1.Direction.Input);
+ this.iface['IN16'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in16, Direction_1.Direction.Input);
+ this.iface['IN17'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in17, Direction_1.Direction.Input);
+ this.iface['IN18'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in18, Direction_1.Direction.Input);
+ this.iface['IN19'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in19, Direction_1.Direction.Input);
+ this.iface['IN20'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in20, Direction_1.Direction.Input);
+ this.iface['IN21'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in21, Direction_1.Direction.Input);
+ this.iface['IN22'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in22, Direction_1.Direction.Input);
+ this.iface['IN23'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in23, Direction_1.Direction.Input);
+ this.iface['IN24'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in24, Direction_1.Direction.Input);
+ this.iface['IN25'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in25, Direction_1.Direction.Input);
+ this.iface['IN26'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in26, Direction_1.Direction.Input);
+ this.iface['IN27'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in27, Direction_1.Direction.Input);
+ this.iface['IN28'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in28, Direction_1.Direction.Input);
+ this.iface['IN29'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in29, Direction_1.Direction.Input);
+ this.iface['IN30'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in30, Direction_1.Direction.Input);
+ this.iface['IN31'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in31, Direction_1.Direction.Input);
+ this.iface['IN32'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in32, Direction_1.Direction.Input);
+ this.iface['IN33'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in33, Direction_1.Direction.Input);
+ this.iface['IN34'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in34, Direction_1.Direction.Input);
+ this.iface['IN35'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in35, Direction_1.Direction.Input);
+ this.iface['IN36'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in36, Direction_1.Direction.Input);
+ this.iface['IN37'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in37, Direction_1.Direction.Input);
+ this.iface['IN38'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in38, Direction_1.Direction.Input);
+ this.iface['IN39'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in39, Direction_1.Direction.Input);
+ this.iface['IN40'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in40, Direction_1.Direction.Input);
+ this.iface['IN41'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in41, Direction_1.Direction.Input);
+ this.iface['IN42'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in42, Direction_1.Direction.Input);
+ this.iface['IN43'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in43, Direction_1.Direction.Input);
+ this.iface['IN44'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in44, Direction_1.Direction.Input);
+ this.iface['IN45'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in45, Direction_1.Direction.Input);
+ this.iface['IN46'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in46, Direction_1.Direction.Input);
+ this.iface['IN47'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in47, Direction_1.Direction.Input);
+ this.iface['IN48'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in48, Direction_1.Direction.Input);
+ this.iface['IN49'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in49, Direction_1.Direction.Input);
+ this.iface['IN50'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in50, Direction_1.Direction.Input);
+ this.iface['OUT'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(out1, Direction_1.Direction.Output);
+ for (const w of Object.values(this.iface)) {
+ if (w.operationOrSignal !== null)
+ this.children.push(w.operationOrSignal);
+ }
+ }
+}
+exports.MulCall = MulCall;
+//# sourceMappingURL=MulCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.js.map
new file mode 100644
index 0000000..798cfcc
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"MulCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/MulCall.ts"],"names":[],"mappings":";;;AACA,+GAA4G;AAC5G,wDAAqD;AACrD,qEAAkE;AAElE,MAAa,OAAQ,SAAQ,+CAAsB;IAC/C,YACY,IAAY,EACpB,GAAuB,EACvB,GAAuB,EACvB,MAAiC,IAAI,EACrC,MAAiC,IAAI,EACrC,MAAiC,IAAI,EACrC,MAAiC,IAAI,EACrC,MAAiC,IAAI,EACrC,MAAiC,IAAI,EACrC,MAAiC,IAAI,EACrC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAAkC,IAAI,EACtC,OAA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C,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACnF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEnF,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAnHD,0BAmHC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.d.ts
new file mode 100644
index 0000000..c9fbb55
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
+import { ArithmeticCall } from './ArithmeticCall';
+export declare class SubCall extends ArithmeticCall {
+ constructor(type: string, in1: IOperationOrSignal, in2: IOperationOrSignal, out1?: IOperationOrSignal | null, eno?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=SubCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.d.ts.map
new file mode 100644
index 0000000..658c8ee
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"SubCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/SubCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAG5E,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,OAAQ,SAAQ,cAAc;gBAEnC,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,kBAAkB,EACvB,GAAG,EAAE,kBAAkB,EACvB,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAa5C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.js b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.js
new file mode 100644
index 0000000..51c129b
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.js
@@ -0,0 +1,22 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.SubCall = void 0;
+const IOperationOrSignalDirectionWrapper_1 = require("../../../Interfaces/IOperationOrSignalDirectionWrapper");
+const Direction_1 = require("../../../Enums/Direction");
+const ArithmeticCall_1 = require("./ArithmeticCall");
+class SubCall extends ArithmeticCall_1.ArithmeticCall {
+ constructor(type, in1, in2, out1 = null, eno = null) {
+ super('Sub', eno);
+ this.disableEno = true;
+ this.type = type;
+ this.iface['IN1'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in1, Direction_1.Direction.Input);
+ this.iface['IN2'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in2, Direction_1.Direction.Input);
+ this.iface['OUT'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(out1, Direction_1.Direction.Output);
+ for (const w of Object.values(this.iface)) {
+ if (w.operationOrSignal !== null)
+ this.children.push(w.operationOrSignal);
+ }
+ }
+}
+exports.SubCall = SubCall;
+//# sourceMappingURL=SubCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.js.map
new file mode 100644
index 0000000..8d9efa0
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"SubCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/SubCall.ts"],"names":[],"mappings":";;;AACA,+GAA4G;AAC5G,wDAAqD;AACrD,qDAAkD;AAElD,MAAa,OAAQ,SAAQ,+BAAc;IACvC,YACI,IAAY,EACZ,GAAuB,EACvB,GAAuB,EACvB,OAAkC,IAAI,EACtC,MAAiC,IAAI;QAErC,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;QAClB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEnF,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAnBD,0BAmBC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.d.ts
new file mode 100644
index 0000000..5d07d34
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
+import { ArithmeticCall } from './ArithmeticCall';
+export declare abstract class VariableArithmeticCall extends ArithmeticCall {
+ constructor(functionName: string, eno?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=VariableArithmeticCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.d.ts.map
new file mode 100644
index 0000000..88b14c0
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"VariableArithmeticCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/VariableArithmeticCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,8BAAsB,sBAAuB,SAAQ,cAAc;gBACnD,YAAY,EAAE,MAAM,EAAE,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAG1E"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.js b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.js
new file mode 100644
index 0000000..f25347d
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.js
@@ -0,0 +1,11 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.VariableArithmeticCall = void 0;
+const ArithmeticCall_1 = require("./ArithmeticCall");
+class VariableArithmeticCall extends ArithmeticCall_1.ArithmeticCall {
+ constructor(functionName, eno = null) {
+ super(functionName, eno);
+ }
+}
+exports.VariableArithmeticCall = VariableArithmeticCall;
+//# sourceMappingURL=VariableArithmeticCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.js.map
new file mode 100644
index 0000000..1dfe54d
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"VariableArithmeticCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/VariableArithmeticCall.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAElD,MAAsB,sBAAuB,SAAQ,+BAAc;IAC/D,YAAY,YAAoB,EAAE,MAAiC,IAAI;QACnE,KAAK,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;IAC7B,CAAC;CACJ;AAJD,wDAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.d.ts
new file mode 100644
index 0000000..9ff31be
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.d.ts
@@ -0,0 +1,7 @@
+import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
+import { FunctionCall } from './FunctionCall';
+export declare class FunctionBlockCall extends FunctionCall {
+ instanceName: string;
+ constructor(functionName: string, instanceName: string, eno?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=FunctionBlockCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.d.ts.map
new file mode 100644
index 0000000..c665333
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"FunctionBlockCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Base/FunctionBlockCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,qBAAa,iBAAkB,SAAQ,YAAY;IAC/C,YAAY,EAAE,MAAM,CAAC;gBAET,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAIhG"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.js b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.js
new file mode 100644
index 0000000..2bddd47
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.js
@@ -0,0 +1,12 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.FunctionBlockCall = void 0;
+const FunctionCall_1 = require("./FunctionCall");
+class FunctionBlockCall extends FunctionCall_1.FunctionCall {
+ constructor(functionName, instanceName, eno = null) {
+ super(functionName, eno);
+ this.instanceName = instanceName;
+ }
+}
+exports.FunctionBlockCall = FunctionBlockCall;
+//# sourceMappingURL=FunctionBlockCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.js.map
new file mode 100644
index 0000000..77fd310
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"FunctionBlockCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Base/FunctionBlockCall.ts"],"names":[],"mappings":";;;AACA,iDAA8C;AAE9C,MAAa,iBAAkB,SAAQ,2BAAY;IAG/C,YAAY,YAAoB,EAAE,YAAoB,EAAE,MAAiC,IAAI;QACzF,KAAK,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;QACzB,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACrC,CAAC;CACJ;AAPD,8CAOC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.d.ts
new file mode 100644
index 0000000..c49dbfd
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.d.ts
@@ -0,0 +1,25 @@
+import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
+import { IOperationOrSignalDirectionWrapper } from '../../../Interfaces/IOperationOrSignalDirectionWrapper';
+export declare class FunctionCall implements IOperationOrSignal {
+ safetyTemplateString: string | null;
+ debugInfo: string | null;
+ disableEno: boolean;
+ functionName: string;
+ version: string | null;
+ additionalInnerXml: string | null;
+ /** Interface map - using plain object to preserve insertion order */
+ iface: Record;
+ additionalSafetyTemplateValues: string | null;
+ children: IOperationOrSignal[];
+ eno: IOperationOrSignal | null;
+ operationId: number;
+ parent: IOperationOrSignal | null;
+ doNotCreateContact: boolean;
+ cardinality: number;
+ hasNoEn: boolean;
+ constructor(functionName: string, eno?: IOperationOrSignal | null);
+ createContactAndFillCardinality(_parent: IOperationOrSignal): number;
+ toString(): string;
+ clone(): IOperationOrSignal;
+}
+//# sourceMappingURL=FunctionCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.d.ts.map
new file mode 100644
index 0000000..9204147
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"FunctionCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Base/FunctionCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,kCAAkC,EAAE,MAAM,wDAAwD,CAAC;AAG5G,qBAAa,YAAa,YAAW,kBAAkB;IACnD,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC3C,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAChC,UAAU,EAAE,OAAO,CAAS;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC9B,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAQ;IACzC,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,kCAAkC,CAAC,CAAC;IAC1D,8BAA8B,EAAE,MAAM,GAAG,IAAI,CAAQ;IACrD,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAC/B,GAAG,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC/B,WAAW,EAAE,MAAM,CAAK;IACxB,MAAM,EAAE,kBAAkB,GAAG,IAAI,CAAQ;IACzC,kBAAkB,EAAE,OAAO,CAAS;IACpC,WAAW,EAAE,MAAM,CAAK;IACxB,OAAO,EAAE,OAAO,CAAS;gBAEb,YAAY,EAAE,MAAM,EAAE,GAAG,GAAE,kBAAkB,GAAG,IAAW;IAUvE,+BAA+B,CAAC,OAAO,EAAE,kBAAkB,GAAG,MAAM;IAKpE,QAAQ,IAAI,MAAM;IAIlB,KAAK,IAAI,kBAAkB;CAG9B"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.js b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.js
new file mode 100644
index 0000000..7c2d906
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.js
@@ -0,0 +1,39 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.FunctionCall = void 0;
+const IOperationOrSignalDirectionWrapper_1 = require("../../../Interfaces/IOperationOrSignalDirectionWrapper");
+const Direction_1 = require("../../../Enums/Direction");
+class FunctionCall {
+ constructor(functionName, eno = null) {
+ this.safetyTemplateString = null;
+ this.debugInfo = null;
+ this.disableEno = false;
+ this.version = null;
+ this.additionalInnerXml = null;
+ this.additionalSafetyTemplateValues = null;
+ this.operationId = 0;
+ this.parent = null;
+ this.doNotCreateContact = false;
+ this.cardinality = 0;
+ this.hasNoEn = false;
+ this.functionName = functionName;
+ this.iface = {};
+ this.children = [];
+ this.eno = eno;
+ if (eno !== null) {
+ this.iface['eno'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(eno, Direction_1.Direction.Eno);
+ }
+ }
+ createContactAndFillCardinality(_parent) {
+ this.cardinality = 1;
+ return this.cardinality;
+ }
+ toString() {
+ return `${this.constructor.name}(${this.functionName})`;
+ }
+ clone() {
+ throw new Error('Not yet supported');
+ }
+}
+exports.FunctionCall = FunctionCall;
+//# sourceMappingURL=FunctionCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.js.map
new file mode 100644
index 0000000..42e05d8
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"FunctionCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Base/FunctionCall.ts"],"names":[],"mappings":";;;AACA,+GAA4G;AAC5G,wDAAqD;AAErD,MAAa,YAAY;IAkBrB,YAAY,YAAoB,EAAE,MAAiC,IAAI;QAjBvE,yBAAoB,GAAkB,IAAI,CAAC;QAC3C,cAAS,GAAkB,IAAI,CAAC;QAChC,eAAU,GAAY,KAAK,CAAC;QAE5B,YAAO,GAAkB,IAAI,CAAC;QAC9B,uBAAkB,GAAkB,IAAI,CAAC;QAGzC,mCAA8B,GAAkB,IAAI,CAAC;QAGrD,gBAAW,GAAW,CAAC,CAAC;QACxB,WAAM,GAA8B,IAAI,CAAC;QACzC,uBAAkB,GAAY,KAAK,CAAC;QACpC,gBAAW,GAAW,CAAC,CAAC;QACxB,YAAO,GAAY,KAAK,CAAC;QAGrB,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;QAChB,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QACnB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YACf,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,GAAG,CAAC,CAAC;QACnF,CAAC;IACL,CAAC;IAED,+BAA+B,CAAC,OAA2B;QACvD,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;QACrB,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;IAED,QAAQ;QACJ,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,GAAG,CAAC;IAC5D,CAAC;IAED,KAAK;QACD,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACzC,CAAC;CACJ;AAxCD,oCAwCC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.d.ts
new file mode 100644
index 0000000..c7c8866
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.d.ts
@@ -0,0 +1,9 @@
+import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
+import { FunctionBlockCall } from './FunctionBlockCall';
+export declare class SystemFunctionBlockCall extends FunctionBlockCall {
+ templateValueName: string | null;
+ templateValueType: string | null;
+ templateValue: string | null;
+ constructor(functionName: string, instanceName: string, eno?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=SystemFunctionBlockCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.d.ts.map
new file mode 100644
index 0000000..ec6836d
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"SystemFunctionBlockCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Base/SystemFunctionBlockCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,uBAAwB,SAAQ,iBAAiB;IAC1D,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAQ;IACxC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAQ;IACxC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAQ;gBAExB,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAGhG"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.js b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.js
new file mode 100644
index 0000000..637c984
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.js
@@ -0,0 +1,14 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.SystemFunctionBlockCall = void 0;
+const FunctionBlockCall_1 = require("./FunctionBlockCall");
+class SystemFunctionBlockCall extends FunctionBlockCall_1.FunctionBlockCall {
+ constructor(functionName, instanceName, eno = null) {
+ super(functionName, instanceName, eno);
+ this.templateValueName = null;
+ this.templateValueType = null;
+ this.templateValue = null;
+ }
+}
+exports.SystemFunctionBlockCall = SystemFunctionBlockCall;
+//# sourceMappingURL=SystemFunctionBlockCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.js.map
new file mode 100644
index 0000000..ad3dcb7
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"SystemFunctionBlockCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Base/SystemFunctionBlockCall.ts"],"names":[],"mappings":";;;AACA,2DAAwD;AAExD,MAAa,uBAAwB,SAAQ,qCAAiB;IAK1D,YAAY,YAAoB,EAAE,YAAoB,EAAE,MAAiC,IAAI;QACzF,KAAK,CAAC,YAAY,EAAE,YAAY,EAAE,GAAG,CAAC,CAAC;QAL3C,sBAAiB,GAAkB,IAAI,CAAC;QACxC,sBAAiB,GAAkB,IAAI,CAAC;QACxC,kBAAa,GAAkB,IAAI,CAAC;IAIpC,CAAC;CACJ;AARD,0DAQC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.d.ts
new file mode 100644
index 0000000..c9a77c0
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
+import { FunctionCall } from './FunctionCall';
+export declare class SystemFunctionCall extends FunctionCall {
+ constructor(functionName: string, eno?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=SystemFunctionCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.d.ts.map
new file mode 100644
index 0000000..56378ee
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"SystemFunctionCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Base/SystemFunctionCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,qBAAa,kBAAmB,SAAQ,YAAY;gBACpC,YAAY,EAAE,MAAM,EAAE,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAG1E"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.js b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.js
new file mode 100644
index 0000000..9a60031
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.js
@@ -0,0 +1,11 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.SystemFunctionCall = void 0;
+const FunctionCall_1 = require("./FunctionCall");
+class SystemFunctionCall extends FunctionCall_1.FunctionCall {
+ constructor(functionName, eno = null) {
+ super(functionName, eno);
+ }
+}
+exports.SystemFunctionCall = SystemFunctionCall;
+//# sourceMappingURL=SystemFunctionCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.js.map
new file mode 100644
index 0000000..6f66e69
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"SystemFunctionCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Base/SystemFunctionCall.ts"],"names":[],"mappings":";;;AACA,iDAA8C;AAE9C,MAAa,kBAAmB,SAAQ,2BAAY;IAChD,YAAY,YAAoB,EAAE,MAAiC,IAAI;QACnE,KAAK,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;IAC7B,CAAC;CACJ;AAJD,gDAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/CTUCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/CTUCall.d.ts
new file mode 100644
index 0000000..7f58edd
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/CTUCall.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { SystemFunctionBlockCall } from './Base/SystemFunctionBlockCall';
+export declare class CTUCall extends SystemFunctionBlockCall {
+ constructor(instanceName: string, r?: IOperationOrSignal | null, pv?: IOperationOrSignal | null, q?: IOperationOrSignal | null, cv?: IOperationOrSignal | null, templateValue?: string);
+}
+//# sourceMappingURL=CTUCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/CTUCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/CTUCall.d.ts.map
new file mode 100644
index 0000000..63c81e2
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/CTUCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"CTUCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/CTUCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBAAa,OAAQ,SAAQ,uBAAuB;gBAE5C,YAAY,EAAE,MAAM,EACpB,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,EAAE,GAAE,kBAAkB,GAAG,IAAW,EACpC,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,EAAE,GAAE,kBAAkB,GAAG,IAAW,EACpC,aAAa,GAAE,MAAc;CAiBpC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/CTUCall.js b/TiaCodegen-ts/dist/Commands/Functions/CTUCall.js
new file mode 100644
index 0000000..fd78729
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/CTUCall.js
@@ -0,0 +1,25 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.CTUCall = void 0;
+const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
+const Direction_1 = require("../../Enums/Direction");
+const SystemFunctionBlockCall_1 = require("./Base/SystemFunctionBlockCall");
+class CTUCall extends SystemFunctionBlockCall_1.SystemFunctionBlockCall {
+ constructor(instanceName, r = null, pv = null, q = null, cv = null, templateValue = 'Int') {
+ super('CTU', instanceName, null);
+ this.iface['R'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(r, Direction_1.Direction.Input);
+ this.iface['PV'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(pv, Direction_1.Direction.Input);
+ this.iface['Q'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(q, Direction_1.Direction.Output);
+ this.iface['CV'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(cv, Direction_1.Direction.Output);
+ this.templateValueName = 'value_type';
+ this.templateValueType = 'Type';
+ this.templateValue = templateValue;
+ this.hasNoEn = true;
+ for (const w of Object.values(this.iface)) {
+ if (w.operationOrSignal !== null)
+ this.children.push(w.operationOrSignal);
+ }
+ }
+}
+exports.CTUCall = CTUCall;
+//# sourceMappingURL=CTUCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/CTUCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/CTUCall.js.map
new file mode 100644
index 0000000..ed7f55a
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/CTUCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"CTUCall.js","sourceRoot":"","sources":["../../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DCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.d.ts
new file mode 100644
index 0000000..5497ca4
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { SystemFunctionBlockCall } from './Base/SystemFunctionBlockCall';
+export declare class CTUDCall extends SystemFunctionBlockCall {
+ constructor(instanceName: string, cd?: IOperationOrSignal | null, r?: IOperationOrSignal | null, ld?: IOperationOrSignal | null, pv?: IOperationOrSignal | null, qu?: IOperationOrSignal | null, qd?: IOperationOrSignal | null, cv?: IOperationOrSignal | null, templateValue?: string);
+}
+//# sourceMappingURL=CTUDCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.d.ts.map
new file mode 100644
index 0000000..eb40a50
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"CTUDCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/CTUDCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBAAa,QAAS,SAAQ,uBAAuB;gBAE7C,YAAY,EAAE,MAAM,EACpB,EAAE,GAAE,kBAAkB,GAAG,IAAW,EACpC,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,EAAE,GAAE,kBAAkB,GAAG,IAAW,EACpC,EAAE,GAAE,kBAAkB,GAAG,IAAW,EACpC,EAAE,GAAE,kBAAkB,GAAG,IAAW,EACpC,EAAE,GAAE,kBAAkB,GAAG,IAAW,EACpC,EAAE,GAAE,kBAAkB,GAAG,IAAW,EACpC,aAAa,GAAE,MAAc;CAoBpC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.js b/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.js
new file mode 100644
index 0000000..98a0b1c
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.js
@@ -0,0 +1,28 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.CTUDCall = void 0;
+const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
+const Direction_1 = require("../../Enums/Direction");
+const SystemFunctionBlockCall_1 = require("./Base/SystemFunctionBlockCall");
+class CTUDCall extends SystemFunctionBlockCall_1.SystemFunctionBlockCall {
+ constructor(instanceName, cd = null, r = null, ld = null, pv = null, qu = null, qd = null, cv = null, templateValue = 'Int') {
+ super('CTUD', instanceName, null);
+ this.iface['CD'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(cd, Direction_1.Direction.Input);
+ this.iface['R'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(r, Direction_1.Direction.Input);
+ this.iface['LD'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(ld, Direction_1.Direction.Input);
+ this.iface['PV'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(pv, Direction_1.Direction.Input);
+ this.iface['QU'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(qu, Direction_1.Direction.Output);
+ this.iface['QD'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(qd, Direction_1.Direction.Output);
+ this.iface['CV'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(cv, Direction_1.Direction.Output);
+ this.templateValueName = 'value_type';
+ this.templateValueType = 'Type';
+ this.templateValue = templateValue;
+ this.hasNoEn = true;
+ for (const w of Object.values(this.iface)) {
+ if (w.operationOrSignal !== null)
+ this.children.push(w.operationOrSignal);
+ }
+ }
+}
+exports.CTUDCall = CTUDCall;
+//# sourceMappingURL=CTUDCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.js.map
new file mode 100644
index 0000000..9936cf5
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"CTUDCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/CTUDCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,4EAAyE;AAEzE,MAAa,QAAS,SAAQ,iDAAuB;IACjD,YACI,YAAoB,EACpB,KAAgC,IAAI,EACpC,IAA+B,IAAI,EACnC,KAAgC,IAAI,EACpC,KAAgC,IAAI,EACpC,KAAgC,IAAI,EACpC,KAAgC,IAAI,EACpC,KAAgC,IAAI,EACpC,gBAAwB,KAAK;QAE7B,KAAK,CAAC,MAAM,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;QAClC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAC/E,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,uEAAkC,CAAC,CAAC,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAC7E,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAC/E,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAC/E,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAChF,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAChF,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEhF,IAAI,CAAC,iBAAiB,GAAG,YAAY,CAAC;QACtC,IAAI,CAAC,iBAAiB,GAAG,MAAM,CAAC;QAChC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QAEpB,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AA9BD,4BA8BC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.d.ts
new file mode 100644
index 0000000..990391f
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { SystemFunctionBlockCall } from './Base/SystemFunctionBlockCall';
+export declare class FDBACKCall extends SystemFunctionBlockCall {
+ constructor(instanceName: string, on?: IOperationOrSignal | null, feedback?: IOperationOrSignal | null, qbad_fio?: IOperationOrSignal | null, ack_nec?: IOperationOrSignal | null, ack?: IOperationOrSignal | null, fdb_time?: IOperationOrSignal | null, q?: IOperationOrSignal | null, error?: IOperationOrSignal | null, ack_req?: IOperationOrSignal | null, diag?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=FDBACKCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.d.ts.map
new file mode 100644
index 0000000..4d58944
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"FDBACKCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/FDBACKCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBAAa,UAAW,SAAQ,uBAAuB;gBAE/C,YAAY,EAAE,MAAM,EACpB,EAAE,GAAE,kBAAkB,GAAG,IAAW,EACpC,QAAQ,GAAE,kBAAkB,GAAG,IAAW,EAC1C,QAAQ,GAAE,kBAAkB,GAAG,IAAW,EAC1C,OAAO,GAAE,kBAAkB,GAAG,IAAW,EACzC,GAAG,GAAE,kBAAkB,GAAG,IAAW,EACrC,QAAQ,GAAE,kBAAkB,GAAG,IAAW,EAC1C,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,KAAK,GAAE,kBAAkB,GAAG,IAAW,EACvC,OAAO,GAAE,kBAAkB,GAAG,IAAW,EACzC,IAAI,GAAE,kBAAkB,GAAG,IAAW;CAqB7C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.js b/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.js
new file mode 100644
index 0000000..8786a0f
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.js
@@ -0,0 +1,29 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.FDBACKCall = void 0;
+const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
+const Direction_1 = require("../../Enums/Direction");
+const SystemFunctionBlockCall_1 = require("./Base/SystemFunctionBlockCall");
+class FDBACKCall extends SystemFunctionBlockCall_1.SystemFunctionBlockCall {
+ constructor(instanceName, on = null, feedback = null, qbad_fio = null, ack_nec = null, ack = null, fdb_time = null, q = null, error = null, ack_req = null, diag = null) {
+ super('FDBACK', instanceName, null);
+ this.iface['ON'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(on, Direction_1.Direction.Input);
+ this.iface['FEEDBACK'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(feedback, Direction_1.Direction.Input);
+ this.iface['QBAD_FIO'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(qbad_fio, Direction_1.Direction.Input);
+ this.iface['ACK_NEC'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(ack_nec, Direction_1.Direction.Input);
+ this.iface['ACK'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(ack, Direction_1.Direction.Input);
+ this.iface['FDB_TIME'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(fdb_time, Direction_1.Direction.Input);
+ this.iface['Q'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(q, Direction_1.Direction.Output);
+ this.iface['ERROR'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(error, Direction_1.Direction.Output);
+ this.iface['ACK_REQ'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(ack_req, Direction_1.Direction.Output);
+ this.iface['DIAG'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(diag, Direction_1.Direction.Output);
+ this.additionalSafetyTemplateValues = ` 1
+ 0`;
+ for (const w of Object.values(this.iface)) {
+ if (w.operationOrSignal !== null)
+ this.children.push(w.operationOrSignal);
+ }
+ }
+}
+exports.FDBACKCall = FDBACKCall;
+//# sourceMappingURL=FDBACKCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.js.map
new file mode 100644
index 0000000..39b84a7
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"FDBACKCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/FDBACKCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,4EAAyE;AAEzE,MAAa,UAAW,SAAQ,iDAAuB;IACnD,YACI,YAAoB,EACpB,KAAgC,IAAI,EACpC,WAAsC,IAAI,EAC1C,WAAsC,IAAI,EAC1C,UAAqC,IAAI,EACzC,MAAiC,IAAI,EACrC,WAAsC,IAAI,EAC1C,IAA+B,IAAI,EACnC,QAAmC,IAAI,EACvC,UAAqC,IAAI,EACzC,OAAkC,IAAI;QAEtC,KAAK,CAAC,QAAQ,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;QACpC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAC/E,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,IAAI,uEAAkC,CAAC,QAAQ,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAC3F,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,IAAI,uEAAkC,CAAC,QAAQ,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAC3F,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,GAAG,IAAI,uEAAkC,CAAC,OAAO,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACzF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,IAAI,uEAAkC,CAAC,QAAQ,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAC3F,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,uEAAkC,CAAC,CAAC,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAC9E,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,IAAI,uEAAkC,CAAC,KAAK,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QACtF,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,GAAG,IAAI,uEAAkC,CAAC,OAAO,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAC1F,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEpF,IAAI,CAAC,8BAA8B,GAAG;8EACgC,CAAC;QAEvE,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAjCD,gCAiCC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.d.ts
new file mode 100644
index 0000000..db7f154
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { SystemFunctionBlockCall } from './Base/SystemFunctionBlockCall';
+export declare class FTrigCall extends SystemFunctionBlockCall {
+ constructor(instanceName: string, clk?: IOperationOrSignal | null, q?: IOperationOrSignal | null, eno?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=FTrigCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.d.ts.map
new file mode 100644
index 0000000..1eac1e8
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"FTrigCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/FTrigCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBAAa,SAAU,SAAQ,uBAAuB;gBAE9C,YAAY,EAAE,MAAM,EACpB,GAAG,GAAE,kBAAkB,GAAG,IAAW,EACrC,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAU5C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.js b/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.js
new file mode 100644
index 0000000..d6dfe09
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.js
@@ -0,0 +1,19 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.FTrigCall = void 0;
+const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
+const Direction_1 = require("../../Enums/Direction");
+const SystemFunctionBlockCall_1 = require("./Base/SystemFunctionBlockCall");
+class FTrigCall extends SystemFunctionBlockCall_1.SystemFunctionBlockCall {
+ constructor(instanceName, clk = null, q = null, eno = null) {
+ super('F_TRIG', instanceName, eno);
+ this.iface['CLK'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(clk, Direction_1.Direction.Input);
+ this.iface['Q'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(q, Direction_1.Direction.Output);
+ for (const w of Object.values(this.iface)) {
+ if (w.operationOrSignal !== null)
+ this.children.push(w.operationOrSignal);
+ }
+ }
+}
+exports.FTrigCall = FTrigCall;
+//# sourceMappingURL=FTrigCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.js.map
new file mode 100644
index 0000000..3657435
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"FTrigCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/FTrigCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,4EAAyE;AAEzE,MAAa,SAAU,SAAQ,iDAAuB;IAClD,YACI,YAAoB,EACpB,MAAiC,IAAI,EACrC,IAA+B,IAAI,EACnC,MAAiC,IAAI;QAErC,KAAK,CAAC,QAAQ,EAAE,YAAY,EAAE,GAAG,CAAC,CAAC;QACnC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,uEAAkC,CAAC,CAAC,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAE9E,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAfD,8BAeC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.d.ts
new file mode 100644
index 0000000..bd12bda
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.d.ts
@@ -0,0 +1,8 @@
+import { Signal } from '../Signals/Signal';
+import { IPartName } from '../../Interfaces/IPartName';
+import { BaseNPCoil } from '../Coils/BaseNPCoil';
+export declare class NTrigCall extends BaseNPCoil implements IPartName {
+ partName: string;
+ constructor(signal: Signal);
+}
+//# sourceMappingURL=NTrigCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.d.ts.map
new file mode 100644
index 0000000..988a446
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"NTrigCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/NTrigCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,qBAAa,SAAU,SAAQ,UAAW,YAAW,SAAS;IAC1D,QAAQ,EAAE,MAAM,CAAC;gBAEL,MAAM,EAAE,MAAM;CAI7B"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.js b/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.js
new file mode 100644
index 0000000..e001f4a
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.js
@@ -0,0 +1,12 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.NTrigCall = void 0;
+const BaseNPCoil_1 = require("../Coils/BaseNPCoil");
+class NTrigCall extends BaseNPCoil_1.BaseNPCoil {
+ constructor(signal) {
+ super(signal, null, null);
+ this.partName = 'NBox';
+ }
+}
+exports.NTrigCall = NTrigCall;
+//# sourceMappingURL=NTrigCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.js.map
new file mode 100644
index 0000000..c521e21
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"NTrigCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/NTrigCall.ts"],"names":[],"mappings":";;;AAEA,oDAAiD;AAEjD,MAAa,SAAU,SAAQ,uBAAU;IAGrC,YAAY,MAAc;QACtB,KAAK,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAC1B,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC;IAC3B,CAAC;CACJ;AAPD,8BAOC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.d.ts
new file mode 100644
index 0000000..7d2b42e
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.d.ts
@@ -0,0 +1,8 @@
+import { Signal } from '../Signals/Signal';
+import { IPartName } from '../../Interfaces/IPartName';
+import { BaseNPCoil } from '../Coils/BaseNPCoil';
+export declare class PTrigCall extends BaseNPCoil implements IPartName {
+ partName: string;
+ constructor(signal: Signal);
+}
+//# sourceMappingURL=PTrigCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.d.ts.map
new file mode 100644
index 0000000..721b413
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"PTrigCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/PTrigCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,qBAAa,SAAU,SAAQ,UAAW,YAAW,SAAS;IAC1D,QAAQ,EAAE,MAAM,CAAC;gBAEL,MAAM,EAAE,MAAM;CAI7B"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.js b/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.js
new file mode 100644
index 0000000..79c17c4
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.js
@@ -0,0 +1,12 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.PTrigCall = void 0;
+const BaseNPCoil_1 = require("../Coils/BaseNPCoil");
+class PTrigCall extends BaseNPCoil_1.BaseNPCoil {
+ constructor(signal) {
+ super(signal, null, null);
+ this.partName = 'PBox';
+ }
+}
+exports.PTrigCall = PTrigCall;
+//# sourceMappingURL=PTrigCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.js.map
new file mode 100644
index 0000000..df9b0ca
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"PTrigCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/PTrigCall.ts"],"names":[],"mappings":";;;AAEA,oDAAiD;AAEjD,MAAa,SAAU,SAAQ,uBAAU;IAGrC,YAAY,MAAc;QACtB,KAAK,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAC1B,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC;IAC3B,CAAC;CACJ;AAPD,8BAOC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.d.ts
new file mode 100644
index 0000000..96346d3
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { SystemFunctionBlockCall } from './Base/SystemFunctionBlockCall';
+export declare class RTrigCall extends SystemFunctionBlockCall {
+ constructor(instanceName: string, clk?: IOperationOrSignal | null, q?: IOperationOrSignal | null, eno?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=RTrigCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.d.ts.map
new file mode 100644
index 0000000..5130cca
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"RTrigCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/RTrigCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBAAa,SAAU,SAAQ,uBAAuB;gBAE9C,YAAY,EAAE,MAAM,EACpB,GAAG,GAAE,kBAAkB,GAAG,IAAW,EACrC,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAU5C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.js b/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.js
new file mode 100644
index 0000000..2086119
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.js
@@ -0,0 +1,19 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.RTrigCall = void 0;
+const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
+const Direction_1 = require("../../Enums/Direction");
+const SystemFunctionBlockCall_1 = require("./Base/SystemFunctionBlockCall");
+class RTrigCall extends SystemFunctionBlockCall_1.SystemFunctionBlockCall {
+ constructor(instanceName, clk = null, q = null, eno = null) {
+ super('R_TRIG', instanceName, eno);
+ this.iface['CLK'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(clk, Direction_1.Direction.Input);
+ this.iface['Q'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(q, Direction_1.Direction.Output);
+ for (const w of Object.values(this.iface)) {
+ if (w.operationOrSignal !== null)
+ this.children.push(w.operationOrSignal);
+ }
+ }
+}
+exports.RTrigCall = RTrigCall;
+//# sourceMappingURL=RTrigCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.js.map
new file mode 100644
index 0000000..4145de3
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"RTrigCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/RTrigCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,4EAAyE;AAEzE,MAAa,SAAU,SAAQ,iDAAuB;IAClD,YACI,YAAoB,EACpB,MAAiC,IAAI,EACrC,IAA+B,IAAI,EACnC,MAAiC,IAAI;QAErC,KAAK,CAAC,QAAQ,EAAE,YAAY,EAAE,GAAG,CAAC,CAAC;QACnC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,uEAAkC,CAAC,CAAC,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAE9E,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAfD,8BAeC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TOFCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/TOFCall.d.ts
new file mode 100644
index 0000000..bf35a40
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/TOFCall.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { SystemFunctionBlockCall } from './Base/SystemFunctionBlockCall';
+export declare class TOFCall extends SystemFunctionBlockCall {
+ constructor(instanceName: string, pt?: IOperationOrSignal | null, q?: IOperationOrSignal | null, et?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=TOFCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TOFCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/TOFCall.d.ts.map
new file mode 100644
index 0000000..f99d74e
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/TOFCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"TOFCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/TOFCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBAAa,OAAQ,SAAQ,uBAAuB;gBAE5C,YAAY,EAAE,MAAM,EACpB,EAAE,GAAE,kBAAkB,GAAG,IAAW,EAEpC,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,EAAE,GAAE,kBAAkB,GAAG,IAAW;CAuB3C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TOFCall.js b/TiaCodegen-ts/dist/Commands/Functions/TOFCall.js
new file mode 100644
index 0000000..d0a1aba
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/TOFCall.js
@@ -0,0 +1,29 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.TOFCall = void 0;
+const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
+const Direction_1 = require("../../Enums/Direction");
+const SystemFunctionBlockCall_1 = require("./Base/SystemFunctionBlockCall");
+class TOFCall extends SystemFunctionBlockCall_1.SystemFunctionBlockCall {
+ constructor(instanceName, pt = null, q = null, et = null) {
+ super('TOF', instanceName, null);
+ this.iface['PT'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(pt, Direction_1.Direction.Input);
+ this.iface['Q'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(q, Direction_1.Direction.Output);
+ this.iface['ET'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(et, Direction_1.Direction.Output);
+ this.templateValueName = 'time_type';
+ this.templateValueType = 'Type';
+ this.templateValue = 'Time';
+ this.hasNoEn = true;
+ this.safetyTemplateString = ` 1
+ 0
+ 0
+ 0
+ DInt`;
+ for (const w of Object.values(this.iface)) {
+ if (w.operationOrSignal !== null)
+ this.children.push(w.operationOrSignal);
+ }
+ }
+}
+exports.TOFCall = TOFCall;
+//# sourceMappingURL=TOFCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TOFCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/TOFCall.js.map
new file mode 100644
index 0000000..0a21b16
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/TOFCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"TOFCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/TOFCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,4EAAyE;AAEzE,MAAa,OAAQ,SAAQ,iDAAuB;IAChD,YACI,YAAoB,EACpB,KAAgC,IAAI,EAEpC,IAA+B,IAAI,EACnC,KAAgC,IAAI;QAEpC,KAAK,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAE/E,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,uEAAkC,CAAC,CAAC,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAC9E,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEhF,IAAI,CAAC,iBAAiB,GAAG,WAAW,CAAC;QACrC,IAAI,CAAC,iBAAiB,GAAG,MAAM,CAAC;QAChC,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QAEpB,IAAI,CAAC,oBAAoB,GAAG;;;;4EAIwC,CAAC;QAErE,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AA7BD,0BA6BC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TONCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/TONCall.d.ts
new file mode 100644
index 0000000..6b2c22a
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/TONCall.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { SystemFunctionBlockCall } from './Base/SystemFunctionBlockCall';
+export declare class TONCall extends SystemFunctionBlockCall {
+ constructor(instanceName: string, pt?: IOperationOrSignal | null, q?: IOperationOrSignal | null, et?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=TONCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TONCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/TONCall.d.ts.map
new file mode 100644
index 0000000..1034179
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/TONCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"TONCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/TONCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBAAa,OAAQ,SAAQ,uBAAuB;gBAE5C,YAAY,EAAE,MAAM,EACpB,EAAE,GAAE,kBAAkB,GAAG,IAAW,EAEpC,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,EAAE,GAAE,kBAAkB,GAAG,IAAW;CAuB3C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TONCall.js b/TiaCodegen-ts/dist/Commands/Functions/TONCall.js
new file mode 100644
index 0000000..055626d
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/TONCall.js
@@ -0,0 +1,29 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.TONCall = void 0;
+const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
+const Direction_1 = require("../../Enums/Direction");
+const SystemFunctionBlockCall_1 = require("./Base/SystemFunctionBlockCall");
+class TONCall extends SystemFunctionBlockCall_1.SystemFunctionBlockCall {
+ constructor(instanceName, pt = null, q = null, et = null) {
+ super('TON', instanceName, null);
+ this.iface['PT'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(pt, Direction_1.Direction.Input);
+ this.iface['Q'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(q, Direction_1.Direction.Output);
+ this.iface['ET'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(et, Direction_1.Direction.Output);
+ this.templateValueName = 'time_type';
+ this.templateValueType = 'Type';
+ this.templateValue = 'Time';
+ this.hasNoEn = true;
+ this.safetyTemplateString = ` 1
+ 0
+ 0
+ 0
+ DInt`;
+ for (const w of Object.values(this.iface)) {
+ if (w.operationOrSignal !== null)
+ this.children.push(w.operationOrSignal);
+ }
+ }
+}
+exports.TONCall = TONCall;
+//# sourceMappingURL=TONCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TONCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/TONCall.js.map
new file mode 100644
index 0000000..aa3f4d5
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/TONCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"TONCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/TONCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,4EAAyE;AAEzE,MAAa,OAAQ,SAAQ,iDAAuB;IAChD,YACI,YAAoB,EACpB,KAAgC,IAAI,EAEpC,IAA+B,IAAI,EACnC,KAAgC,IAAI;QAEpC,KAAK,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAE/E,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,uEAAkC,CAAC,CAAC,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAC9E,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEhF,IAAI,CAAC,iBAAiB,GAAG,WAAW,CAAC;QACrC,IAAI,CAAC,iBAAiB,GAAG,MAAM,CAAC;QAChC,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QAEpB,IAAI,CAAC,oBAAoB,GAAG;;;;4EAIwC,CAAC;QAErE,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AA7BD,0BA6BC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TONRCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/TONRCall.d.ts
new file mode 100644
index 0000000..9b90cf6
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/TONRCall.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { SystemFunctionBlockCall } from './Base/SystemFunctionBlockCall';
+export declare class TONRCall extends SystemFunctionBlockCall {
+ constructor(instanceName: string, pt?: IOperationOrSignal | null, r?: IOperationOrSignal | null, q?: IOperationOrSignal | null, et?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=TONRCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TONRCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/TONRCall.d.ts.map
new file mode 100644
index 0000000..f58266d
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/TONRCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"TONRCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/TONRCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBAAa,QAAS,SAAQ,uBAAuB;gBAE7C,YAAY,EAAE,MAAM,EACpB,EAAE,GAAE,kBAAkB,GAAG,IAAW,EACpC,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,EAAE,GAAE,kBAAkB,GAAG,IAAW;CAuB3C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TONRCall.js b/TiaCodegen-ts/dist/Commands/Functions/TONRCall.js
new file mode 100644
index 0000000..0d2b86a
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/TONRCall.js
@@ -0,0 +1,30 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.TONRCall = void 0;
+const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
+const Direction_1 = require("../../Enums/Direction");
+const SystemFunctionBlockCall_1 = require("./Base/SystemFunctionBlockCall");
+class TONRCall extends SystemFunctionBlockCall_1.SystemFunctionBlockCall {
+ constructor(instanceName, pt = null, r = null, q = null, et = null) {
+ super('TONR', instanceName, null);
+ this.iface['PT'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(pt, Direction_1.Direction.Input);
+ this.iface['R'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(r, Direction_1.Direction.Input);
+ this.iface['Q'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(q, Direction_1.Direction.Output);
+ this.iface['ET'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(et, Direction_1.Direction.Output);
+ this.templateValueName = 'time_type';
+ this.templateValueType = 'Type';
+ this.templateValue = 'Time';
+ this.hasNoEn = true;
+ this.safetyTemplateString = ` 1
+ 0
+ 0
+ 0
+ DInt`;
+ for (const w of Object.values(this.iface)) {
+ if (w.operationOrSignal !== null)
+ this.children.push(w.operationOrSignal);
+ }
+ }
+}
+exports.TONRCall = TONRCall;
+//# sourceMappingURL=TONRCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TONRCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/TONRCall.js.map
new file mode 100644
index 0000000..d00e67a
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/TONRCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"TONRCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/TONRCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,4EAAyE;AAEzE,MAAa,QAAS,SAAQ,iDAAuB;IACjD,YACI,YAAoB,EACpB,KAAgC,IAAI,EACpC,IAA+B,IAAI,EACnC,IAA+B,IAAI,EACnC,KAAgC,IAAI;QAEpC,KAAK,CAAC,MAAM,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;QAClC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAC/E,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,uEAAkC,CAAC,CAAC,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAC7E,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,uEAAkC,CAAC,CAAC,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAC9E,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEhF,IAAI,CAAC,iBAAiB,GAAG,WAAW,CAAC;QACrC,IAAI,CAAC,iBAAiB,GAAG,MAAM,CAAC;QAChC,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QAEpB,IAAI,CAAC,oBAAoB,GAAG;;;;4EAIwC,CAAC;QAErE,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AA7BD,4BA6BC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TPCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/TPCall.d.ts
new file mode 100644
index 0000000..4cd60fa
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/TPCall.d.ts
@@ -0,0 +1,6 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { SystemFunctionBlockCall } from './Base/SystemFunctionBlockCall';
+export declare class TPCall extends SystemFunctionBlockCall {
+ constructor(instanceName: string, pt?: IOperationOrSignal | null, q?: IOperationOrSignal | null, et?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=TPCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TPCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/TPCall.d.ts.map
new file mode 100644
index 0000000..58e4446
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/TPCall.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"TPCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/TPCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBAAa,MAAO,SAAQ,uBAAuB;gBAE3C,YAAY,EAAE,MAAM,EACpB,EAAE,GAAE,kBAAkB,GAAG,IAAW,EAEpC,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,EAAE,GAAE,kBAAkB,GAAG,IAAW;CAuB3C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TPCall.js b/TiaCodegen-ts/dist/Commands/Functions/TPCall.js
new file mode 100644
index 0000000..aa1476b
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/TPCall.js
@@ -0,0 +1,29 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.TPCall = void 0;
+const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
+const Direction_1 = require("../../Enums/Direction");
+const SystemFunctionBlockCall_1 = require("./Base/SystemFunctionBlockCall");
+class TPCall extends SystemFunctionBlockCall_1.SystemFunctionBlockCall {
+ constructor(instanceName, pt = null, q = null, et = null) {
+ super('TP', instanceName, null);
+ this.iface['PT'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(pt, Direction_1.Direction.Input);
+ this.iface['Q'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(q, Direction_1.Direction.Output);
+ this.iface['ET'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(et, Direction_1.Direction.Output);
+ this.templateValueName = 'time_type';
+ this.templateValueType = 'Type';
+ this.templateValue = 'Time';
+ this.hasNoEn = true;
+ this.safetyTemplateString = ` 1
+ 0
+ 0
+ 0
+ DInt`;
+ for (const w of Object.values(this.iface)) {
+ if (w.operationOrSignal !== null)
+ this.children.push(w.operationOrSignal);
+ }
+ }
+}
+exports.TPCall = TPCall;
+//# sourceMappingURL=TPCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TPCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/TPCall.js.map
new file mode 100644
index 0000000..9f0b74c
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Functions/TPCall.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"TPCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/TPCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,4EAAyE;AAEzE,MAAa,MAAO,SAAQ,iDAAuB;IAC/C,YACI,YAAoB,EACpB,KAAgC,IAAI,EAEpC,IAA+B,IAAI,EACnC,KAAgC,IAAI;QAEpC,KAAK,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;QAChC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAE/E,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,uEAAkC,CAAC,CAAC,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAC9E,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEhF,IAAI,CAAC,iBAAiB,GAAG,WAAW,CAAC;QACrC,IAAI,CAAC,iBAAiB,GAAG,MAAM,CAAC;QAChC,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QAEpB,IAAI,CAAC,oBAAoB,GAAG;;;;4EAIwC,CAAC;QAErE,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AA7BD,wBA6BC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Move.d.ts b/TiaCodegen-ts/dist/Commands/Move.d.ts
new file mode 100644
index 0000000..8263693
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Move.d.ts
@@ -0,0 +1,9 @@
+import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
+import { IFunctionOperation } from '../Interfaces/IFunctionOperation';
+import { BaseOperationOrSignal } from './BaseOperationOrSignal';
+export declare class Move extends BaseOperationOrSignal implements IFunctionOperation {
+ constructor(...operationOrSignals: IOperationOrSignal[]);
+ get cardinality(): number;
+ set cardinality(_value: number);
+}
+//# sourceMappingURL=Move.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Move.d.ts.map b/TiaCodegen-ts/dist/Commands/Move.d.ts.map
new file mode 100644
index 0000000..0da06c8
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Move.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"Move.d.ts","sourceRoot":"","sources":["../../src/Commands/Move.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,qBAAa,IAAK,SAAQ,qBAAsB,YAAW,kBAAkB;gBAC7D,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;IAIvD,IAAI,WAAW,IAAI,MAAM,CAExB;IACD,IAAI,WAAW,CAAC,MAAM,EAAE,MAAM,EAE7B;CACJ"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Move.js b/TiaCodegen-ts/dist/Commands/Move.js
new file mode 100644
index 0000000..af666e5
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Move.js
@@ -0,0 +1,17 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.Move = void 0;
+const BaseOperationOrSignal_1 = require("./BaseOperationOrSignal");
+class Move extends BaseOperationOrSignal_1.BaseOperationOrSignal {
+ constructor(...operationOrSignals) {
+ super(...operationOrSignals);
+ }
+ get cardinality() {
+ return this.children.length - 1;
+ }
+ set cardinality(_value) {
+ // readonly via getter, ignore sets
+ }
+}
+exports.Move = Move;
+//# sourceMappingURL=Move.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Move.js.map b/TiaCodegen-ts/dist/Commands/Move.js.map
new file mode 100644
index 0000000..5f3158b
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Move.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"Move.js","sourceRoot":"","sources":["../../src/Commands/Move.ts"],"names":[],"mappings":";;;AAEA,mEAAgE;AAEhE,MAAa,IAAK,SAAQ,6CAAqB;IAC3C,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;IAED,IAAI,WAAW;QACX,OAAO,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC;IACpC,CAAC;IACD,IAAI,WAAW,CAAC,MAAc;QAC1B,mCAAmC;IACvC,CAAC;CACJ;AAXD,oBAWC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/NCoil.d.ts b/TiaCodegen-ts/dist/Commands/NCoil.d.ts
new file mode 100644
index 0000000..6061ccc
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/NCoil.d.ts
@@ -0,0 +1,7 @@
+import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
+import { Signal } from './Signals/Signal';
+import { BaseNPCoil } from './Coils/BaseNPCoil';
+export declare class NCoil extends BaseNPCoil {
+ constructor(signal: Signal, helpSignal: Signal, op?: IOperationOrSignal | null);
+}
+//# sourceMappingURL=NCoil.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/NCoil.d.ts.map b/TiaCodegen-ts/dist/Commands/NCoil.d.ts.map
new file mode 100644
index 0000000..1565e70
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/NCoil.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"NCoil.d.ts","sourceRoot":"","sources":["../../src/Commands/NCoil.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,qBAAa,KAAM,SAAQ,UAAU;gBACrB,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,GAAE,kBAAkB,GAAG,IAAW;CAGvF"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/NCoil.js b/TiaCodegen-ts/dist/Commands/NCoil.js
new file mode 100644
index 0000000..1ec73c5
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/NCoil.js
@@ -0,0 +1,11 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.NCoil = void 0;
+const BaseNPCoil_1 = require("./Coils/BaseNPCoil");
+class NCoil extends BaseNPCoil_1.BaseNPCoil {
+ constructor(signal, helpSignal, op = null) {
+ super(signal, helpSignal, op);
+ }
+}
+exports.NCoil = NCoil;
+//# sourceMappingURL=NCoil.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/NCoil.js.map b/TiaCodegen-ts/dist/Commands/NCoil.js.map
new file mode 100644
index 0000000..ead488a
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/NCoil.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"NCoil.js","sourceRoot":"","sources":["../../src/Commands/NCoil.ts"],"names":[],"mappings":";;;AAEA,mDAAgD;AAEhD,MAAa,KAAM,SAAQ,uBAAU;IACjC,YAAY,MAAc,EAAE,UAAkB,EAAE,KAAgC,IAAI;QAChF,KAAK,CAAC,MAAM,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC;IAClC,CAAC;CACJ;AAJD,sBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Not.d.ts b/TiaCodegen-ts/dist/Commands/Not.d.ts
new file mode 100644
index 0000000..81fa5ba
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Not.d.ts
@@ -0,0 +1,15 @@
+import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
+import { Signal } from './Signals/Signal';
+export declare class Not implements IOperationOrSignal {
+ debugInfo: string | null;
+ children: IOperationOrSignal[];
+ operationId: number;
+ doNotCreateContact: boolean;
+ cardinality: number;
+ parent: IOperationOrSignal | null;
+ constructor(signal: Signal);
+ createContactAndFillCardinality(_parent: IOperationOrSignal): number;
+ clone(): IOperationOrSignal;
+ toString(): string;
+}
+//# sourceMappingURL=Not.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Not.d.ts.map b/TiaCodegen-ts/dist/Commands/Not.d.ts.map
new file mode 100644
index 0000000..9e87fec
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Not.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"Not.d.ts","sourceRoot":"","sources":["../../src/Commands/Not.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,qBAAa,GAAI,YAAW,kBAAkB;IAC1C,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAChC,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAC/B,WAAW,EAAE,MAAM,CAAK;IACxB,kBAAkB,EAAE,OAAO,CAAS;IACpC,WAAW,EAAE,MAAM,CAAK;IACxB,MAAM,EAAE,kBAAkB,GAAG,IAAI,CAAQ;gBAE7B,MAAM,EAAE,MAAM;IAK1B,+BAA+B,CAAC,OAAO,EAAE,kBAAkB,GAAG,MAAM;IAKpE,KAAK,IAAI,kBAAkB;IAI3B,QAAQ,IAAI,MAAM;CAGrB"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Not.js b/TiaCodegen-ts/dist/Commands/Not.js
new file mode 100644
index 0000000..a0fb65d
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Not.js
@@ -0,0 +1,26 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.Not = void 0;
+class Not {
+ constructor(signal) {
+ this.debugInfo = null;
+ this.operationId = 0;
+ this.doNotCreateContact = false;
+ this.cardinality = 0;
+ this.parent = null;
+ this.children = [];
+ this.children.push(signal);
+ }
+ createContactAndFillCardinality(_parent) {
+ this.cardinality = 1;
+ return this.cardinality;
+ }
+ clone() {
+ return new Not(this.children[0].clone());
+ }
+ toString() {
+ return this.constructor.name;
+ }
+}
+exports.Not = Not;
+//# sourceMappingURL=Not.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Not.js.map b/TiaCodegen-ts/dist/Commands/Not.js.map
new file mode 100644
index 0000000..469058e
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Not.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"Not.js","sourceRoot":"","sources":["../../src/Commands/Not.ts"],"names":[],"mappings":";;;AAGA,MAAa,GAAG;IAQZ,YAAY,MAAc;QAP1B,cAAS,GAAkB,IAAI,CAAC;QAEhC,gBAAW,GAAW,CAAC,CAAC;QACxB,uBAAkB,GAAY,KAAK,CAAC;QACpC,gBAAW,GAAW,CAAC,CAAC;QACxB,WAAM,GAA8B,IAAI,CAAC;QAGrC,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QACnB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC/B,CAAC;IAED,+BAA+B,CAAC,OAA2B;QACvD,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;QACrB,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;IAED,KAAK;QACD,OAAO,IAAI,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,EAAY,CAAC,CAAC;IACvD,CAAC;IAED,QAAQ;QACJ,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACjC,CAAC;CACJ;AAzBD,kBAyBC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Or.d.ts b/TiaCodegen-ts/dist/Commands/Or.d.ts
new file mode 100644
index 0000000..cbff288
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Or.d.ts
@@ -0,0 +1,7 @@
+import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
+import { BaseOperationOrSignal } from './BaseOperationOrSignal';
+export declare class Or extends BaseOperationOrSignal {
+ constructor(...operationOrSignals: IOperationOrSignal[]);
+ createContactAndFillCardinality(parent: IOperationOrSignal): number;
+}
+//# sourceMappingURL=Or.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Or.d.ts.map b/TiaCodegen-ts/dist/Commands/Or.d.ts.map
new file mode 100644
index 0000000..5828297
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Or.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"Or.d.ts","sourceRoot":"","sources":["../../src/Commands/Or.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,qBAAa,EAAG,SAAQ,qBAAqB;gBAC7B,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;IAIvD,+BAA+B,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM;CAStE"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Or.js b/TiaCodegen-ts/dist/Commands/Or.js
new file mode 100644
index 0000000..041324a
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Or.js
@@ -0,0 +1,20 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.Or = void 0;
+const BaseOperationOrSignal_1 = require("./BaseOperationOrSignal");
+class Or extends BaseOperationOrSignal_1.BaseOperationOrSignal {
+ constructor(...operationOrSignals) {
+ super(...operationOrSignals);
+ }
+ createContactAndFillCardinality(parent) {
+ let c = 0;
+ this.operationId = parent.operationId;
+ for (const op of this.children) {
+ c += op.createContactAndFillCardinality(this);
+ }
+ this.cardinality = c;
+ return this.cardinality;
+ }
+}
+exports.Or = Or;
+//# sourceMappingURL=Or.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Or.js.map b/TiaCodegen-ts/dist/Commands/Or.js.map
new file mode 100644
index 0000000..df00ecb
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Or.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"Or.js","sourceRoot":"","sources":["../../src/Commands/Or.ts"],"names":[],"mappings":";;;AACA,mEAAgE;AAEhE,MAAa,EAAG,SAAQ,6CAAqB;IACzC,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;IAED,+BAA+B,CAAC,MAA0B;QACtD,IAAI,CAAC,GAAG,CAAC,CAAC;QACV,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QACtC,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAC7B,CAAC,IAAI,EAAE,CAAC,+BAA+B,CAAC,IAAI,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;QACrB,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;CACJ;AAdD,gBAcC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/S_Move.d.ts b/TiaCodegen-ts/dist/Commands/S_Move.d.ts
new file mode 100644
index 0000000..b0cf9c9
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/S_Move.d.ts
@@ -0,0 +1,9 @@
+import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
+import { IFunctionOperation } from '../Interfaces/IFunctionOperation';
+import { BaseOperationOrSignal } from './BaseOperationOrSignal';
+export declare class S_Move extends BaseOperationOrSignal implements IFunctionOperation {
+ constructor(...operationOrSignals: IOperationOrSignal[]);
+ get cardinality(): number;
+ set cardinality(_value: number);
+}
+//# sourceMappingURL=S_Move.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/S_Move.d.ts.map b/TiaCodegen-ts/dist/Commands/S_Move.d.ts.map
new file mode 100644
index 0000000..9816a40
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/S_Move.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"S_Move.d.ts","sourceRoot":"","sources":["../../src/Commands/S_Move.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,qBAAa,MAAO,SAAQ,qBAAsB,YAAW,kBAAkB;gBAC/D,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;IAIvD,IAAI,WAAW,IAAI,MAAM,CAExB;IACD,IAAI,WAAW,CAAC,MAAM,EAAE,MAAM,EAE7B;CACJ"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/S_Move.js b/TiaCodegen-ts/dist/Commands/S_Move.js
new file mode 100644
index 0000000..df962f3
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/S_Move.js
@@ -0,0 +1,17 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.S_Move = void 0;
+const BaseOperationOrSignal_1 = require("./BaseOperationOrSignal");
+class S_Move extends BaseOperationOrSignal_1.BaseOperationOrSignal {
+ constructor(...operationOrSignals) {
+ super(...operationOrSignals);
+ }
+ get cardinality() {
+ return 1;
+ }
+ set cardinality(_value) {
+ // readonly, ignore
+ }
+}
+exports.S_Move = S_Move;
+//# sourceMappingURL=S_Move.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/S_Move.js.map b/TiaCodegen-ts/dist/Commands/S_Move.js.map
new file mode 100644
index 0000000..686703b
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/S_Move.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"S_Move.js","sourceRoot":"","sources":["../../src/Commands/S_Move.ts"],"names":[],"mappings":";;;AAEA,mEAAgE;AAEhE,MAAa,MAAO,SAAQ,6CAAqB;IAC7C,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;IAED,IAAI,WAAW;QACX,OAAO,CAAC,CAAC;IACb,CAAC;IACD,IAAI,WAAW,CAAC,MAAc;QAC1B,mBAAmB;IACvB,CAAC;CACJ;AAXD,wBAWC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.d.ts b/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.d.ts
new file mode 100644
index 0000000..fcf5cf0
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.d.ts
@@ -0,0 +1,2 @@
+export { Signal, FixedSignal, FixedPeripherySignal } from './Signal';
+//# sourceMappingURL=FixedSignal.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.d.ts.map b/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.d.ts.map
new file mode 100644
index 0000000..ad17c82
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"FixedSignal.d.ts","sourceRoot":"","sources":["../../../src/Commands/Signals/FixedSignal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.js b/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.js
new file mode 100644
index 0000000..5b5bb11
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.js
@@ -0,0 +1,8 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.FixedPeripherySignal = exports.FixedSignal = exports.Signal = void 0;
+var Signal_1 = require("./Signal");
+Object.defineProperty(exports, "Signal", { enumerable: true, get: function () { return Signal_1.Signal; } });
+Object.defineProperty(exports, "FixedSignal", { enumerable: true, get: function () { return Signal_1.FixedSignal; } });
+Object.defineProperty(exports, "FixedPeripherySignal", { enumerable: true, get: function () { return Signal_1.FixedPeripherySignal; } });
+//# sourceMappingURL=FixedSignal.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.js.map b/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.js.map
new file mode 100644
index 0000000..eeffe21
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"FixedSignal.js","sourceRoot":"","sources":["../../../src/Commands/Signals/FixedSignal.ts"],"names":[],"mappings":";;;AAAA,mCAAqE;AAA5D,gGAAA,MAAM,OAAA;AAAE,qGAAA,WAAW,OAAA;AAAE,8GAAA,oBAAoB,OAAA"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Signals/Signal.d.ts b/TiaCodegen-ts/dist/Commands/Signals/Signal.d.ts
new file mode 100644
index 0000000..656490c
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Signals/Signal.d.ts
@@ -0,0 +1,30 @@
+import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
+import { SignalType } from '../../Enums/SignalType';
+import { StringBuilder } from '../../utils/StringBuilder';
+export declare class Signal implements IOperationOrSignal {
+ debugInfo: string | null;
+ operationId: number;
+ signalId: number;
+ name: string;
+ description: string | null;
+ signalType: SignalType;
+ customType: string | null;
+ children: IOperationOrSignal[];
+ parent: IOperationOrSignal | null;
+ doNotCreateContact: boolean;
+ cardinality: number;
+ constructor(nameOrValue: string | number | boolean, signalType?: SignalType, customType?: string, description?: string);
+ createContactAndFillCardinality(_parent: IOperationOrSignal): number;
+ escape(txt: string): string;
+ unescape(txt: string): string;
+ clone(): IOperationOrSignal;
+ addXmlToStringBuilder(id: number, sb: StringBuilder): void;
+ toString(): string;
+}
+export declare class FixedSignal extends Signal {
+ constructor(name: string, signalType?: SignalType, customType?: string);
+}
+export declare class FixedPeripherySignal extends FixedSignal {
+ constructor(name: string, signalType?: SignalType, customType?: string);
+}
+//# sourceMappingURL=Signal.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Signals/Signal.d.ts.map b/TiaCodegen-ts/dist/Commands/Signals/Signal.d.ts.map
new file mode 100644
index 0000000..a6b7fd2
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Signals/Signal.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"Signal.d.ts","sourceRoot":"","sources":["../../../src/Commands/Signals/Signal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE1D,qBAAa,MAAO,YAAW,kBAAkB;IAC7C,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAChC,WAAW,EAAE,MAAM,CAAK;IACxB,QAAQ,EAAE,MAAM,CAAK;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,EAAE,UAAU,CAAC;IACvB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAC/B,MAAM,EAAE,kBAAkB,GAAG,IAAI,CAAQ;IACzC,kBAAkB,EAAE,OAAO,CAAS;IACpC,WAAW,EAAE,MAAM,CAAK;gBAEZ,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,EAAE,UAAU,CAAC,EAAE,UAAU,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM;IAoBtH,+BAA+B,CAAC,OAAO,EAAE,kBAAkB,GAAG,MAAM;IAKpE,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAI3B,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAI7B,KAAK,IAAI,kBAAkB;IAS3B,qBAAqB,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,aAAa,GAAG,IAAI;IA0R1D,QAAQ,IAAI,MAAM;CAGrB;AAED,qBAAa,WAAY,SAAQ,MAAM;gBACvB,IAAI,EAAE,MAAM,EAAE,UAAU,GAAE,UAA4B,EAAE,UAAU,CAAC,EAAE,MAAM;CAG1F;AAED,qBAAa,oBAAqB,SAAQ,WAAW;gBACrC,IAAI,EAAE,MAAM,EAAE,UAAU,GAAE,UAA4B,EAAE,UAAU,CAAC,EAAE,MAAM;CAG1F"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Signals/Signal.js b/TiaCodegen-ts/dist/Commands/Signals/Signal.js
new file mode 100644
index 0000000..0ff5963
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Signals/Signal.js
@@ -0,0 +1,373 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.FixedPeripherySignal = exports.FixedSignal = exports.Signal = void 0;
+const SignalType_1 = require("../../Enums/SignalType");
+class Signal {
+ constructor(nameOrValue, signalType, customType, description) {
+ this.debugInfo = null;
+ this.operationId = 0;
+ this.signalId = 0;
+ this.parent = null;
+ this.doNotCreateContact = false;
+ this.cardinality = 0;
+ if (typeof nameOrValue === 'number') {
+ this.name = nameOrValue.toString();
+ this.signalType = SignalType_1.SignalType.ConstantInt;
+ this.description = null;
+ this.customType = null;
+ }
+ else if (typeof nameOrValue === 'boolean') {
+ this.name = nameOrValue.toString().toUpperCase();
+ this.signalType = SignalType_1.SignalType.ConstantBool;
+ this.description = null;
+ this.customType = null;
+ }
+ else {
+ this.name = nameOrValue;
+ this.signalType = signalType ?? SignalType_1.SignalType.Bool;
+ this.customType = customType ?? null;
+ this.description = description ?? null;
+ }
+ this.children = [];
+ }
+ createContactAndFillCardinality(_parent) {
+ this.cardinality = 1;
+ return this.cardinality;
+ }
+ escape(txt) {
+ return txt.replace(/\\\./g, '\uD83C\uDF34');
+ }
+ unescape(txt) {
+ return txt.replace(/\uD83C\uDF34/g, '.').replace(/\\\\/g, '\\');
+ }
+ clone() {
+ const inst = new Signal(this.name, this.signalType, this.customType ?? undefined, this.description ?? undefined);
+ inst.debugInfo = this.debugInfo;
+ for (const c of this.children) {
+ inst.children.push(c.clone());
+ }
+ return inst;
+ }
+ addXmlToStringBuilder(id, sb) {
+ const name = this.name;
+ const signalType = this.signalType;
+ if (signalType === SignalType_1.SignalType.Constant && !name.startsWith('#')) {
+ const value = name.indexOf(',');
+ sb.appendLine(``);
+ if (value === -1)
+ sb.appendLine(``);
+ else
+ sb.appendLine(``);
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ else if (signalType === SignalType_1.SignalType.ConstantBool && !name.startsWith('#')) {
+ sb.appendLine(``);
+ sb.appendLine('');
+ sb.appendLine('Bool');
+ sb.appendLine(`${name}`);
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ else if (signalType === SignalType_1.SignalType.ConstantTime && !name.startsWith('#')) {
+ sb.appendLine(``);
+ sb.appendLine('');
+ sb.appendLine(`${name}`);
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ else if (signalType === SignalType_1.SignalType.ConstantUInt && !name.startsWith('#')) {
+ sb.appendLine(``);
+ sb.appendLine('');
+ sb.appendLine('UInt');
+ sb.appendLine(`${name}`);
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ else if (signalType === SignalType_1.SignalType.ConstantUDInt && !name.startsWith('#')) {
+ sb.appendLine(``);
+ sb.appendLine('');
+ sb.appendLine('UDInt');
+ sb.appendLine(`${name}`);
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ else if (signalType === SignalType_1.SignalType.ConstantInt && !name.startsWith('#')) {
+ sb.appendLine(``);
+ sb.appendLine('');
+ sb.appendLine('Int');
+ sb.appendLine(`${name}`);
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ else if (signalType === SignalType_1.SignalType.ConstantReal && !name.startsWith('#')) {
+ sb.appendLine(``);
+ sb.appendLine('');
+ sb.appendLine('Real');
+ sb.appendLine(`${name}`);
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ else if (signalType === SignalType_1.SignalType.ConstantString && !name.startsWith('#')) {
+ sb.appendLine(``);
+ sb.appendLine('');
+ sb.appendLine('String');
+ sb.appendLine(`${name}`);
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ else if (signalType === SignalType_1.SignalType.ConstantWord && !name.startsWith('#')) {
+ sb.appendLine(``);
+ sb.appendLine('');
+ sb.appendLine(`${name}`);
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ else if (signalType === SignalType_1.SignalType.Void && !name.startsWith('#')) {
+ sb.appendLine(``);
+ sb.appendLine('');
+ sb.appendLine('Void');
+ sb.appendLine(`${name}`);
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ else if (signalType === SignalType_1.SignalType.UDT && !name.startsWith('#')) {
+ sb.appendLine(` `);
+ sb.appendLine('');
+ const escapedParts = this.escape(name).split('.');
+ for (let i = 0; i < escapedParts.length; i++) {
+ const part = this.unescape(escapedParts[i]);
+ const idx = part.indexOf('[') + 1;
+ if (idx > 0) {
+ sb.appendLine(``);
+ const arrays = part.substring(idx, part.length - 1);
+ if (arrays.includes('"')) {
+ sb.appendLine('');
+ sb.appendLine(``);
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ else if (!part.includes(']')) {
+ let p1 = part.slice(idx);
+ let accessType = 'GlobalVariable';
+ if (p1[0] === '#') {
+ p1 = p1.substring(1);
+ accessType = 'LocalVariable';
+ }
+ sb.appendLine(``);
+ sb.appendLine('');
+ sb.appendLine(``);
+ while (p1 !== null) {
+ i++;
+ p1 = this.unescape(this.escape(name).split('.')[i]);
+ if (p1.includes(']')) {
+ sb.appendLine(``);
+ p1 = null;
+ }
+ else {
+ sb.appendLine(``);
+ }
+ }
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ else {
+ for (const arr of arrays.split(',')) {
+ sb.appendLine('');
+ sb.appendLine('');
+ sb.appendLine('DInt');
+ sb.appendLine(`${arr}`);
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ }
+ }
+ else {
+ sb.appendLine(``);
+ }
+ sb.appendLine('');
+ }
+ sb.appendLine('');
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ else if (signalType === SignalType_1.SignalType.Byte && !name.startsWith('#')) {
+ sb.appendLine(``);
+ sb.appendLine('');
+ for (const parte of this.escape(name).split('.')) {
+ const part = this.unescape(parte);
+ sb.appendLine(``);
+ }
+ sb.appendLine('');
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ else if (signalType === SignalType_1.SignalType.String && !name.startsWith('#')) {
+ sb.appendLine(` `);
+ sb.appendLine('');
+ for (const parte of this.escape(name).split('.')) {
+ const part = this.unescape(parte);
+ const idx = part.indexOf('[') + 1;
+ if (idx > 0) {
+ sb.appendLine(``);
+ const arrays = part.substring(idx, part.length - 1);
+ if (arrays.includes('"')) {
+ sb.appendLine('');
+ sb.appendLine(``);
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ else {
+ for (const arr of arrays.split(',')) {
+ sb.appendLine('');
+ sb.appendLine('');
+ sb.appendLine('DInt');
+ sb.appendLine(`${arr}`);
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ }
+ }
+ else {
+ sb.appendLine(``);
+ }
+ sb.appendLine('');
+ }
+ sb.appendLine('');
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ else {
+ let localName = name;
+ if (name.startsWith('#')) {
+ sb.appendLine(``);
+ localName = name.substring(1);
+ }
+ else {
+ sb.appendLine(` `);
+ }
+ sb.appendLine('');
+ const escapedLocal = this.escape(localName).split('.');
+ const cnt = (this instanceof FixedSignal) ? 1 : escapedLocal.length;
+ for (let i = 0; i < cnt; i++) {
+ let part = this.unescape(escapedLocal[i]);
+ if (this instanceof FixedSignal)
+ part = localName;
+ const idx = part.indexOf('[') + 1;
+ if (idx > 0) {
+ sb.appendLine(``);
+ const arrays = part.substring(idx, part.length - 1);
+ if (arrays.includes('"')) {
+ sb.appendLine('');
+ sb.appendLine(``);
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ else if (!part.includes(']')) {
+ let p1 = part.slice(idx);
+ let accessType = 'GlobalVariable';
+ if (p1[0] === '#') {
+ p1 = p1.substring(1);
+ accessType = 'LocalVariable';
+ }
+ sb.appendLine(``);
+ sb.appendLine('');
+ sb.appendLine(``);
+ let noClose = false;
+ while (p1 !== null) {
+ i++;
+ p1 = this.unescape(this.escape(localName).split('.')[i]);
+ if (p1.includes(',')) {
+ const innerParts = p1.split(',');
+ sb.appendLine(``);
+ for (const p of innerParts.slice(1)) {
+ let pNe = p.trim();
+ if (pNe.includes(']')) {
+ pNe = pNe.substring(0, pNe.length - 1);
+ }
+ if (!isNaN(parseInt(pNe, 10)) && pNe.match(/^\d+$/)) {
+ noClose = true;
+ sb.appendLine('');
+ sb.appendLine('');
+ sb.appendLine('');
+ sb.appendLine('');
+ sb.appendLine('DInt');
+ sb.appendLine(`${pNe}`);
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ else {
+ sb.appendLine('');
+ sb.appendLine('');
+ let accessTypePne = 'GlobalVariable';
+ if (pNe[0] === '#') {
+ pNe = pNe.substring(1);
+ accessTypePne = 'LocalVariable';
+ }
+ sb.appendLine(``);
+ sb.appendLine('');
+ sb.appendLine(``);
+ }
+ }
+ if (p1.includes(']')) {
+ p1 = null;
+ }
+ }
+ else {
+ if (p1.includes(']')) {
+ sb.appendLine(``);
+ p1 = null;
+ }
+ else {
+ sb.appendLine(``);
+ }
+ }
+ }
+ if (!noClose) {
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ }
+ else {
+ for (const arr of arrays.split(',')) {
+ sb.appendLine('');
+ sb.appendLine('');
+ sb.appendLine('DInt');
+ sb.appendLine(`${arr}`);
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ }
+ }
+ else {
+ if (this instanceof FixedPeripherySignal) {
+ sb.appendLine(``);
+ }
+ else {
+ sb.appendLine(``);
+ }
+ }
+ sb.appendLine('');
+ }
+ sb.appendLine('');
+ sb.appendLine('');
+ }
+ }
+ toString() {
+ return `${this.constructor.name}(${this.name})`;
+ }
+}
+exports.Signal = Signal;
+class FixedSignal extends Signal {
+ constructor(name, signalType = SignalType_1.SignalType.Bool, customType) {
+ super(name, signalType, customType);
+ }
+}
+exports.FixedSignal = FixedSignal;
+class FixedPeripherySignal extends FixedSignal {
+ constructor(name, signalType = SignalType_1.SignalType.Bool, customType) {
+ super(name, signalType, customType);
+ }
+}
+exports.FixedPeripherySignal = FixedPeripherySignal;
+//# sourceMappingURL=Signal.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Signals/Signal.js.map b/TiaCodegen-ts/dist/Commands/Signals/Signal.js.map
new file mode 100644
index 0000000..4d53a00
--- /dev/null
+++ b/TiaCodegen-ts/dist/Commands/Signals/Signal.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"Signal.js","sourceRoot":"","sources":["../../../src/Commands/Signals/Signal.ts"],"names":[],"mappings":";;;AACA,uDAAoD;AAGpD,MAAa,MAAM;IAaf,YAAY,WAAsC,EAAE,UAAuB,EAAE,UAAmB,EAAE,WAAoB;QAZtH,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AC,WAAW,CAAC,CAAC;YAC3B,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;QAC/B,CAAC;IACL,CAAC;IAED,QAAQ;QACJ,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,GAAG,CAAC;IACpD,CAAC;CACJ;AApVD,wBAoVC;AAED,MAAa,WAAY,SAAQ,MAAM;IACnC,YAAY,IAAY,EAAE,aAAyB,uBAAU,CAAC,IAAI,EAAE,UAAmB;QACnF,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC;IACxC,CAAC;CACJ;AAJD,kCAIC;AAED,MAAa,oBAAqB,SAAQ,WAAW;IACjD,YAAY,IAAY,EAAE,aAAyB,uBAAU,CAAC,IAAI,EAAE,UAAmB;QACnF,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC;IACxC,CAAC;CACJ;AAJD,oDAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Enums/Direction.d.ts b/TiaCodegen-ts/dist/Enums/Direction.d.ts
new file mode 100644
index 0000000..38b028b
--- /dev/null
+++ b/TiaCodegen-ts/dist/Enums/Direction.d.ts
@@ -0,0 +1,8 @@
+export declare enum Direction {
+ Input = "Input",
+ Output = "Output",
+ InOut = "InOut",
+ Eno = "Eno",
+ En = "En"
+}
+//# sourceMappingURL=Direction.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Enums/Direction.d.ts.map b/TiaCodegen-ts/dist/Enums/Direction.d.ts.map
new file mode 100644
index 0000000..b25d435
--- /dev/null
+++ b/TiaCodegen-ts/dist/Enums/Direction.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"Direction.d.ts","sourceRoot":"","sources":["../../src/Enums/Direction.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACjB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,EAAE,OAAO;CACZ"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Enums/Direction.js b/TiaCodegen-ts/dist/Enums/Direction.js
new file mode 100644
index 0000000..51784d1
--- /dev/null
+++ b/TiaCodegen-ts/dist/Enums/Direction.js
@@ -0,0 +1,12 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.Direction = void 0;
+var Direction;
+(function (Direction) {
+ Direction["Input"] = "Input";
+ Direction["Output"] = "Output";
+ Direction["InOut"] = "InOut";
+ Direction["Eno"] = "Eno";
+ Direction["En"] = "En";
+})(Direction || (exports.Direction = Direction = {}));
+//# sourceMappingURL=Direction.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Enums/Direction.js.map b/TiaCodegen-ts/dist/Enums/Direction.js.map
new file mode 100644
index 0000000..f0faa00
--- /dev/null
+++ b/TiaCodegen-ts/dist/Enums/Direction.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"Direction.js","sourceRoot":"","sources":["../../src/Enums/Direction.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAMX;AAND,WAAY,SAAS;IACjB,4BAAe,CAAA;IACf,8BAAiB,CAAA;IACjB,4BAAe,CAAA;IACf,wBAAW,CAAA;IACX,sBAAS,CAAA;AACb,CAAC,EANW,SAAS,yBAAT,SAAS,QAMpB"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Enums/SignalType.d.ts b/TiaCodegen-ts/dist/Enums/SignalType.d.ts
new file mode 100644
index 0000000..dc9e24a
--- /dev/null
+++ b/TiaCodegen-ts/dist/Enums/SignalType.d.ts
@@ -0,0 +1,28 @@
+export declare enum SignalType {
+ Bool = "Bool",
+ Byte = "Byte",
+ Int = "Int",
+ DInt = "DInt",
+ UInt = "UInt",
+ UDInt = "UDInt",
+ Time = "Time",
+ UDT = "UDT",
+ String = "String",
+ Real = "Real",
+ Constant = "Constant",
+ ConstantBool = "ConstantBool",
+ ConstantInt = "ConstantInt",
+ ConstantDInt = "ConstantDInt",
+ ConstantUInt = "ConstantUInt",
+ ConstantUDInt = "ConstantUDInt",
+ ConstantTime = "ConstantTime",
+ ConstantString = "ConstantString",
+ ConstantReal = "ConstantReal",
+ ConstantWord = "ConstantWord",
+ Custom = "Custom",
+ Void = "Void",
+ Variant = "Variant",
+ ProgramAlarm = "ProgramAlarm",
+ Word = "Word"
+}
+//# sourceMappingURL=SignalType.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Enums/SignalType.d.ts.map b/TiaCodegen-ts/dist/Enums/SignalType.d.ts.map
new file mode 100644
index 0000000..66f199f
--- /dev/null
+++ b/TiaCodegen-ts/dist/Enums/SignalType.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"SignalType.d.ts","sourceRoot":"","sources":["../../src/Enums/SignalType.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IAClB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,cAAc,mBAAmB;IACjC,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,YAAY,iBAAiB;IAC7B,IAAI,SAAS;CAChB"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Enums/SignalType.js b/TiaCodegen-ts/dist/Enums/SignalType.js
new file mode 100644
index 0000000..d07a571
--- /dev/null
+++ b/TiaCodegen-ts/dist/Enums/SignalType.js
@@ -0,0 +1,32 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.SignalType = void 0;
+var SignalType;
+(function (SignalType) {
+ SignalType["Bool"] = "Bool";
+ SignalType["Byte"] = "Byte";
+ SignalType["Int"] = "Int";
+ SignalType["DInt"] = "DInt";
+ SignalType["UInt"] = "UInt";
+ SignalType["UDInt"] = "UDInt";
+ SignalType["Time"] = "Time";
+ SignalType["UDT"] = "UDT";
+ SignalType["String"] = "String";
+ SignalType["Real"] = "Real";
+ SignalType["Constant"] = "Constant";
+ SignalType["ConstantBool"] = "ConstantBool";
+ SignalType["ConstantInt"] = "ConstantInt";
+ SignalType["ConstantDInt"] = "ConstantDInt";
+ SignalType["ConstantUInt"] = "ConstantUInt";
+ SignalType["ConstantUDInt"] = "ConstantUDInt";
+ SignalType["ConstantTime"] = "ConstantTime";
+ SignalType["ConstantString"] = "ConstantString";
+ SignalType["ConstantReal"] = "ConstantReal";
+ SignalType["ConstantWord"] = "ConstantWord";
+ SignalType["Custom"] = "Custom";
+ SignalType["Void"] = "Void";
+ SignalType["Variant"] = "Variant";
+ SignalType["ProgramAlarm"] = "ProgramAlarm";
+ SignalType["Word"] = "Word";
+})(SignalType || (exports.SignalType = SignalType = {}));
+//# sourceMappingURL=SignalType.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Enums/SignalType.js.map b/TiaCodegen-ts/dist/Enums/SignalType.js.map
new file mode 100644
index 0000000..6493502
--- /dev/null
+++ b/TiaCodegen-ts/dist/Enums/SignalType.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"SignalType.js","sourceRoot":"","sources":["../../src/Enums/SignalType.ts"],"names":[],"mappings":";;;AAAA,IAAY,UA0BX;AA1BD,WAAY,UAAU;IAClB,2BAAa,CAAA;IACb,2BAAa,CAAA;IACb,yBAAW,CAAA;IACX,2BAAa,CAAA;IACb,2BAAa,CAAA;IACb,6BAAe,CAAA;IACf,2BAAa,CAAA;IACb,yBAAW,CAAA;IACX,+BAAiB,CAAA;IACjB,2BAAa,CAAA;IACb,mCAAqB,CAAA;IACrB,2CAA6B,CAAA;IAC7B,yCAA2B,CAAA;IAC3B,2CAA6B,CAAA;IAC7B,2CAA6B,CAAA;IAC7B,6CAA+B,CAAA;IAC/B,2CAA6B,CAAA;IAC7B,+CAAiC,CAAA;IACjC,2CAA6B,CAAA;IAC7B,2CAA6B,CAAA;IAC7B,+BAAiB,CAAA;IACjB,2BAAa,CAAA;IACb,iCAAmB,CAAA;IACnB,2CAA6B,CAAA;IAC7B,2BAAa,CAAA;AACjB,CAAC,EA1BW,UAAU,0BAAV,UAAU,QA0BrB"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Extensions/NaturalComparer.d.ts b/TiaCodegen-ts/dist/Extensions/NaturalComparer.d.ts
new file mode 100644
index 0000000..37fcdd7
--- /dev/null
+++ b/TiaCodegen-ts/dist/Extensions/NaturalComparer.d.ts
@@ -0,0 +1,5 @@
+export declare class NaturalComparer {
+ compare(x: string | null, y: string | null): number;
+ private isDigit;
+}
+//# sourceMappingURL=NaturalComparer.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Extensions/NaturalComparer.d.ts.map b/TiaCodegen-ts/dist/Extensions/NaturalComparer.d.ts.map
new file mode 100644
index 0000000..5e69034
--- /dev/null
+++ b/TiaCodegen-ts/dist/Extensions/NaturalComparer.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"NaturalComparer.d.ts","sourceRoot":"","sources":["../../src/Extensions/NaturalComparer.ts"],"names":[],"mappings":"AAAA,qBAAa,eAAe;IACxB,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM;IA+BnD,OAAO,CAAC,OAAO;CAGlB"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Extensions/NaturalComparer.js b/TiaCodegen-ts/dist/Extensions/NaturalComparer.js
new file mode 100644
index 0000000..ffbfdcb
--- /dev/null
+++ b/TiaCodegen-ts/dist/Extensions/NaturalComparer.js
@@ -0,0 +1,45 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.NaturalComparer = void 0;
+class NaturalComparer {
+ compare(x, y) {
+ if (x === y)
+ return 0;
+ if (x === null || x === undefined)
+ return -1;
+ if (y === null || y === undefined)
+ return 1;
+ let i = 0, j = 0;
+ while (i < x.length && j < y.length) {
+ const cx = x[i];
+ const cy = y[j];
+ if (this.isDigit(cx) && this.isDigit(cy)) {
+ let vx = 0;
+ while (i < x.length && this.isDigit(x[i])) {
+ vx = vx * 10 + (x.charCodeAt(i) - 48);
+ i++;
+ }
+ let vy = 0;
+ while (j < y.length && this.isDigit(y[j])) {
+ vy = vy * 10 + (y.charCodeAt(j) - 48);
+ j++;
+ }
+ if (vx !== vy)
+ return vx < vy ? -1 : 1;
+ }
+ else {
+ const cmp = cx.toUpperCase().localeCompare(cy.toUpperCase());
+ if (cmp !== 0)
+ return cmp;
+ i++;
+ j++;
+ }
+ }
+ return x.length - y.length;
+ }
+ isDigit(c) {
+ return c >= '0' && c <= '9';
+ }
+}
+exports.NaturalComparer = NaturalComparer;
+//# sourceMappingURL=NaturalComparer.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Extensions/NaturalComparer.js.map b/TiaCodegen-ts/dist/Extensions/NaturalComparer.js.map
new file mode 100644
index 0000000..75c06f0
--- /dev/null
+++ b/TiaCodegen-ts/dist/Extensions/NaturalComparer.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"NaturalComparer.js","sourceRoot":"","sources":["../../src/Extensions/NaturalComparer.ts"],"names":[],"mappings":";;;AAAA,MAAa,eAAe;IACxB,OAAO,CAAC,CAAgB,EAAE,CAAgB;QACtC,IAAI,CAAC,KAAK,CAAC;YAAE,OAAO,CAAC,CAAC;QACtB,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,SAAS;YAAE,OAAO,CAAC,CAAC,CAAC;QAC7C,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,SAAS;YAAE,OAAO,CAAC,CAAC;QAE5C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AC;oBAAE,OAAO,GAAG,CAAC;gBAC1B,CAAC,EAAE,CAAC;gBACJ,CAAC,EAAE,CAAC;YACR,CAAC;QACL,CAAC;QACD,OAAO,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/B,CAAC;IAEO,OAAO,CAAC,CAAS;QACrB,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,GAAG,CAAC;IAChC,CAAC;CACJ;AAnCD,0CAmCC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.d.ts b/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.d.ts
new file mode 100644
index 0000000..b26aa0a
--- /dev/null
+++ b/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.d.ts
@@ -0,0 +1,3 @@
+import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
+export declare function tryGetParent(op: IOperationOrSignal, ctor: new (...args: any[]) => T): T | null;
+//# sourceMappingURL=OperationOrSignalExtensions.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.d.ts.map b/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.d.ts.map
new file mode 100644
index 0000000..8826fd6
--- /dev/null
+++ b/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"OperationOrSignalExtensions.d.ts","sourceRoot":"","sources":["../../src/Extensions/OperationOrSignalExtensions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,wBAAgB,YAAY,CAAC,CAAC,SAAS,kBAAkB,EACrD,EAAE,EAAE,kBAAkB,EACtB,IAAI,EAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,GAChC,CAAC,GAAG,IAAI,CAOV"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.js b/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.js
new file mode 100644
index 0000000..bad2d71
--- /dev/null
+++ b/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.js
@@ -0,0 +1,13 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.tryGetParent = tryGetParent;
+function tryGetParent(op, ctor) {
+ let chk = op.parent;
+ while (chk !== null && chk !== undefined) {
+ if (chk instanceof ctor)
+ return chk;
+ chk = chk.parent;
+ }
+ return null;
+}
+//# sourceMappingURL=OperationOrSignalExtensions.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.js.map b/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.js.map
new file mode 100644
index 0000000..3fed364
--- /dev/null
+++ b/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"OperationOrSignalExtensions.js","sourceRoot":"","sources":["../../src/Extensions/OperationOrSignalExtensions.ts"],"names":[],"mappings":";;AAEA,oCAUC;AAVD,SAAgB,YAAY,CACxB,EAAsB,EACtB,IAA+B;IAE/B,IAAI,GAAG,GAAG,EAAE,CAAC,MAAM,CAAC;IACpB,OAAO,GAAG,KAAK,IAAI,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;QACvC,IAAI,GAAG,YAAY,IAAI;YAAE,OAAO,GAAQ,CAAC;QACzC,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC;IACrB,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/ICoil.d.ts b/TiaCodegen-ts/dist/Interfaces/ICoil.d.ts
new file mode 100644
index 0000000..d1bb71e
--- /dev/null
+++ b/TiaCodegen-ts/dist/Interfaces/ICoil.d.ts
@@ -0,0 +1,3 @@
+export interface ICoil {
+}
+//# sourceMappingURL=ICoil.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/ICoil.d.ts.map b/TiaCodegen-ts/dist/Interfaces/ICoil.d.ts.map
new file mode 100644
index 0000000..fca46d6
--- /dev/null
+++ b/TiaCodegen-ts/dist/Interfaces/ICoil.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"ICoil.d.ts","sourceRoot":"","sources":["../../src/Interfaces/ICoil.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,KAAK;CAAG"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/ICoil.js b/TiaCodegen-ts/dist/Interfaces/ICoil.js
new file mode 100644
index 0000000..2693efd
--- /dev/null
+++ b/TiaCodegen-ts/dist/Interfaces/ICoil.js
@@ -0,0 +1,3 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+//# sourceMappingURL=ICoil.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/ICoil.js.map b/TiaCodegen-ts/dist/Interfaces/ICoil.js.map
new file mode 100644
index 0000000..7805534
--- /dev/null
+++ b/TiaCodegen-ts/dist/Interfaces/ICoil.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"ICoil.js","sourceRoot":"","sources":["../../src/Interfaces/ICoil.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.d.ts b/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.d.ts
new file mode 100644
index 0000000..8e5fd37
--- /dev/null
+++ b/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.d.ts
@@ -0,0 +1,3 @@
+export interface IFunctionOperation {
+}
+//# sourceMappingURL=IFunctionOperation.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.d.ts.map b/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.d.ts.map
new file mode 100644
index 0000000..ed19ac0
--- /dev/null
+++ b/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"IFunctionOperation.d.ts","sourceRoot":"","sources":["../../src/Interfaces/IFunctionOperation.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,kBAAkB;CAAG"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.js b/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.js
new file mode 100644
index 0000000..5ce66ab
--- /dev/null
+++ b/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.js
@@ -0,0 +1,3 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+//# sourceMappingURL=IFunctionOperation.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.js.map b/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.js.map
new file mode 100644
index 0000000..15aaca5
--- /dev/null
+++ b/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"IFunctionOperation.js","sourceRoot":"","sources":["../../src/Interfaces/IFunctionOperation.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.d.ts b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.d.ts
new file mode 100644
index 0000000..c263451
--- /dev/null
+++ b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.d.ts
@@ -0,0 +1,12 @@
+export interface IOperationOrSignal {
+ children: IOperationOrSignal[];
+ parent: IOperationOrSignal | null;
+ operationId: number;
+ doNotCreateContact: boolean;
+ cardinality: number;
+ debugInfo: string | null;
+ createContactAndFillCardinality(parent: IOperationOrSignal): number;
+ clone(): IOperationOrSignal;
+ toString(): string;
+}
+//# sourceMappingURL=IOperationOrSignal.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.d.ts.map b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.d.ts.map
new file mode 100644
index 0000000..4e17e3c
--- /dev/null
+++ b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"IOperationOrSignal.d.ts","sourceRoot":"","sources":["../../src/Interfaces/IOperationOrSignal.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IAC/B,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAC/B,MAAM,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,+BAA+B,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM,CAAC;IACpE,KAAK,IAAI,kBAAkB,CAAC;IAC5B,QAAQ,IAAI,MAAM,CAAC;CACtB"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.js b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.js
new file mode 100644
index 0000000..68888b6
--- /dev/null
+++ b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.js
@@ -0,0 +1,3 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+//# sourceMappingURL=IOperationOrSignal.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.js.map b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.js.map
new file mode 100644
index 0000000..a385c6b
--- /dev/null
+++ b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"IOperationOrSignal.js","sourceRoot":"","sources":["../../src/Interfaces/IOperationOrSignal.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.d.ts b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.d.ts
new file mode 100644
index 0000000..6897a82
--- /dev/null
+++ b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.d.ts
@@ -0,0 +1,11 @@
+import { IOperationOrSignal } from './IOperationOrSignal';
+import { Direction } from '../Enums/Direction';
+import { SignalType } from '../Enums/SignalType';
+export declare class IOperationOrSignalDirectionWrapper {
+ operationOrSignal: IOperationOrSignal | null;
+ direction: Direction;
+ length: number;
+ type: SignalType | null;
+ constructor(operationOrSignal: IOperationOrSignal | null, direction: Direction, type?: SignalType | null, length?: number);
+}
+//# sourceMappingURL=IOperationOrSignalDirectionWrapper.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.d.ts.map b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.d.ts.map
new file mode 100644
index 0000000..cde22db
--- /dev/null
+++ b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"IOperationOrSignalDirectionWrapper.d.ts","sourceRoot":"","sources":["../../src/Interfaces/IOperationOrSignalDirectionWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,qBAAa,kCAAkC;IAC3C,iBAAiB,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC7C,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,UAAU,GAAG,IAAI,CAAC;gBAGpB,iBAAiB,EAAE,kBAAkB,GAAG,IAAI,EAC5C,SAAS,EAAE,SAAS,EACpB,IAAI,GAAE,UAAU,GAAG,IAAW,EAC9B,MAAM,GAAE,MAAU;CAOzB"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.js b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.js
new file mode 100644
index 0000000..f1ab1f4
--- /dev/null
+++ b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.js
@@ -0,0 +1,13 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.IOperationOrSignalDirectionWrapper = void 0;
+class IOperationOrSignalDirectionWrapper {
+ constructor(operationOrSignal, direction, type = null, length = 0) {
+ this.operationOrSignal = operationOrSignal;
+ this.direction = direction;
+ this.length = length;
+ this.type = type;
+ }
+}
+exports.IOperationOrSignalDirectionWrapper = IOperationOrSignalDirectionWrapper;
+//# sourceMappingURL=IOperationOrSignalDirectionWrapper.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.js.map b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.js.map
new file mode 100644
index 0000000..dc0373c
--- /dev/null
+++ b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"IOperationOrSignalDirectionWrapper.js","sourceRoot":"","sources":["../../src/Interfaces/IOperationOrSignalDirectionWrapper.ts"],"names":[],"mappings":";;;AAIA,MAAa,kCAAkC;IAM3C,YACI,iBAA4C,EAC5C,SAAoB,EACpB,OAA0B,IAAI,EAC9B,SAAiB,CAAC;QAElB,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;CACJ;AAjBD,gFAiBC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IPartName.d.ts b/TiaCodegen-ts/dist/Interfaces/IPartName.d.ts
new file mode 100644
index 0000000..15160e1
--- /dev/null
+++ b/TiaCodegen-ts/dist/Interfaces/IPartName.d.ts
@@ -0,0 +1,4 @@
+export interface IPartName {
+ partName: string;
+}
+//# sourceMappingURL=IPartName.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IPartName.d.ts.map b/TiaCodegen-ts/dist/Interfaces/IPartName.d.ts.map
new file mode 100644
index 0000000..55f9bd0
--- /dev/null
+++ b/TiaCodegen-ts/dist/Interfaces/IPartName.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"IPartName.d.ts","sourceRoot":"","sources":["../../src/Interfaces/IPartName.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACtB,QAAQ,EAAE,MAAM,CAAC;CACpB"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IPartName.js b/TiaCodegen-ts/dist/Interfaces/IPartName.js
new file mode 100644
index 0000000..2d4a260
--- /dev/null
+++ b/TiaCodegen-ts/dist/Interfaces/IPartName.js
@@ -0,0 +1,3 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+//# sourceMappingURL=IPartName.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IPartName.js.map b/TiaCodegen-ts/dist/Interfaces/IPartName.js.map
new file mode 100644
index 0000000..e0ffa07
--- /dev/null
+++ b/TiaCodegen-ts/dist/Interfaces/IPartName.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"IPartName.js","sourceRoot":"","sources":["../../src/Interfaces/IPartName.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.d.ts b/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.d.ts
new file mode 100644
index 0000000..2fcaff1
--- /dev/null
+++ b/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.d.ts
@@ -0,0 +1,2 @@
+export declare function flatten(e: T[] | null | undefined, f: (t: T) => T[]): T[];
+//# sourceMappingURL=IEnumerableExtensions.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.d.ts.map b/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.d.ts.map
new file mode 100644
index 0000000..bf39ba9
--- /dev/null
+++ b/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"IEnumerableExtensions.d.ts","sourceRoot":"","sources":["../../src/Internal/IEnumerableExtensions.ts"],"names":[],"mappings":"AAAA,wBAAgB,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,IAAI,GAAG,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,CAAC,EAAE,CAG3E"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.js b/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.js
new file mode 100644
index 0000000..93bee95
--- /dev/null
+++ b/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.js
@@ -0,0 +1,9 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.flatten = flatten;
+function flatten(e, f) {
+ if (!e)
+ return [];
+ return e.flatMap(c => flatten(f(c), f)).concat(e);
+}
+//# sourceMappingURL=IEnumerableExtensions.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.js.map b/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.js.map
new file mode 100644
index 0000000..77d82cc
--- /dev/null
+++ b/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"IEnumerableExtensions.js","sourceRoot":"","sources":["../../src/Internal/IEnumerableExtensions.ts"],"names":[],"mappings":";;AAAA,0BAGC;AAHD,SAAgB,OAAO,CAAI,CAAyB,EAAE,CAAgB;IAClE,IAAI,CAAC,CAAC;QAAE,OAAO,EAAE,CAAC;IAClB,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AACtD,CAAC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/index.d.ts b/TiaCodegen-ts/dist/index.d.ts
new file mode 100644
index 0000000..0fe6668
--- /dev/null
+++ b/TiaCodegen-ts/dist/index.d.ts
@@ -0,0 +1,64 @@
+export { Direction } from './Enums/Direction';
+export { SignalType } from './Enums/SignalType';
+export { IOperationOrSignal } from './Interfaces/IOperationOrSignal';
+export { ICoil } from './Interfaces/ICoil';
+export { IFunctionOperation } from './Interfaces/IFunctionOperation';
+export { IPartName } from './Interfaces/IPartName';
+export { IOperationOrSignalDirectionWrapper } from './Interfaces/IOperationOrSignalDirectionWrapper';
+export { StringBuilder } from './utils/StringBuilder';
+export { flatten } from './Internal/IEnumerableExtensions';
+export { NaturalComparer } from './Extensions/NaturalComparer';
+export { tryGetParent } from './Extensions/OperationOrSignalExtensions';
+export { BaseOperationOrSignal } from './Commands/BaseOperationOrSignal';
+export { And } from './Commands/And';
+export { Or } from './Commands/Or';
+export { Not } from './Commands/Not';
+export { Distributor } from './Commands/Distributor';
+export { Move } from './Commands/Move';
+export { Convert } from './Commands/Convert';
+export { S_Move } from './Commands/S_Move';
+export { NCoil } from './Commands/NCoil';
+export { Signal, FixedSignal, FixedPeripherySignal } from './Commands/Signals/Signal';
+export { BaseCoil } from './Commands/Coils/BaseCoil';
+export { BaseNPCoil } from './Commands/Coils/BaseNPCoil';
+export { Coil } from './Commands/Coils/Coil';
+export { PCoil } from './Commands/Coils/PCoil';
+export { RCoil } from './Commands/Coils/RCoil';
+export { SCoil } from './Commands/Coils/SCoil';
+export { CompareOperator } from './Commands/Comparisons/CompareOperator';
+export { Eq } from './Commands/Comparisons/Eq';
+export { Ne } from './Commands/Comparisons/Ne';
+export { Ge } from './Commands/Comparisons/Ge';
+export { Gt } from './Commands/Comparisons/Gt';
+export { Le } from './Commands/Comparisons/Le';
+export { Lt } from './Commands/Comparisons/Lt';
+export { InRangeCall } from './Commands/Comparisons/InRangeCall';
+export { OutRangeCall } from './Commands/Comparisons/OutRangeCall';
+export { FunctionCall } from './Commands/Functions/Base/FunctionCall';
+export { FunctionBlockCall } from './Commands/Functions/Base/FunctionBlockCall';
+export { SystemFunctionCall } from './Commands/Functions/Base/SystemFunctionCall';
+export { SystemFunctionBlockCall } from './Commands/Functions/Base/SystemFunctionBlockCall';
+export { ArithmeticCall } from './Commands/Functions/Arithmetic/ArithmeticCall';
+export { VariableArithmeticCall } from './Commands/Functions/Arithmetic/VariableArithmeticCall';
+export { AddCall } from './Commands/Functions/Arithmetic/AddCall';
+export { MulCall } from './Commands/Functions/Arithmetic/MulCall';
+export { SubCall } from './Commands/Functions/Arithmetic/SubCall';
+export { DivCall } from './Commands/Functions/Arithmetic/DivCall';
+export { ModCall } from './Commands/Functions/Arithmetic/ModCall';
+export { AckGlCall } from './Commands/Functions/AckGlCall';
+export { CTUCall } from './Commands/Functions/CTUCall';
+export { CTUDCall } from './Commands/Functions/CTUDCall';
+export { FDBACKCall } from './Commands/Functions/FDBACKCall';
+export { FTrigCall } from './Commands/Functions/FTrigCall';
+export { NTrigCall } from './Commands/Functions/NTrigCall';
+export { PTrigCall } from './Commands/Functions/PTrigCall';
+export { RTrigCall } from './Commands/Functions/RTrigCall';
+export { TOFCall } from './Commands/Functions/TOFCall';
+export { TONCall } from './Commands/Functions/TONCall';
+export { TONRCall } from './Commands/Functions/TONRCall';
+export { TPCall } from './Commands/Functions/TPCall';
+export { CodeBlock } from './Blocks/CodeBlock';
+export { Network } from './Blocks/Network';
+export { Block } from './Blocks/Block';
+export { KopCodeHelper } from './CodeGen/KopCodeHelper';
+//# sourceMappingURL=index.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/index.d.ts.map b/TiaCodegen-ts/dist/index.d.ts.map
new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O,EAAE,MAAM,yCAAyC,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAGlE,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAGrD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAGvC,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/index.js b/TiaCodegen-ts/dist/index.js
new file mode 100644
index 0000000..df50c9f
--- /dev/null
+++ b/TiaCodegen-ts/dist/index.js
@@ -0,0 +1,138 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.FTrigCall = exports.FDBACKCall = exports.CTUDCall = exports.CTUCall = exports.AckGlCall = exports.ModCall = exports.DivCall = exports.SubCall = exports.MulCall = exports.AddCall = exports.VariableArithmeticCall = exports.ArithmeticCall = exports.SystemFunctionBlockCall = exports.SystemFunctionCall = exports.FunctionBlockCall = exports.FunctionCall = exports.OutRangeCall = exports.InRangeCall = exports.Lt = exports.Le = exports.Gt = exports.Ge = exports.Ne = exports.Eq = exports.CompareOperator = exports.SCoil = exports.RCoil = exports.PCoil = exports.Coil = exports.BaseNPCoil = exports.BaseCoil = exports.FixedPeripherySignal = exports.FixedSignal = exports.Signal = exports.NCoil = exports.S_Move = exports.Convert = exports.Move = exports.Distributor = exports.Not = exports.Or = exports.And = exports.BaseOperationOrSignal = exports.tryGetParent = exports.NaturalComparer = exports.flatten = exports.StringBuilder = exports.IOperationOrSignalDirectionWrapper = exports.SignalType = exports.Direction = void 0;
+exports.KopCodeHelper = exports.Block = exports.Network = exports.CodeBlock = exports.TPCall = exports.TONRCall = exports.TONCall = exports.TOFCall = exports.RTrigCall = exports.PTrigCall = exports.NTrigCall = void 0;
+// Enums
+var Direction_1 = require("./Enums/Direction");
+Object.defineProperty(exports, "Direction", { enumerable: true, get: function () { return Direction_1.Direction; } });
+var SignalType_1 = require("./Enums/SignalType");
+Object.defineProperty(exports, "SignalType", { enumerable: true, get: function () { return SignalType_1.SignalType; } });
+var IOperationOrSignalDirectionWrapper_1 = require("./Interfaces/IOperationOrSignalDirectionWrapper");
+Object.defineProperty(exports, "IOperationOrSignalDirectionWrapper", { enumerable: true, get: function () { return IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper; } });
+// Utils
+var StringBuilder_1 = require("./utils/StringBuilder");
+Object.defineProperty(exports, "StringBuilder", { enumerable: true, get: function () { return StringBuilder_1.StringBuilder; } });
+// Internal
+var IEnumerableExtensions_1 = require("./Internal/IEnumerableExtensions");
+Object.defineProperty(exports, "flatten", { enumerable: true, get: function () { return IEnumerableExtensions_1.flatten; } });
+// Extensions
+var NaturalComparer_1 = require("./Extensions/NaturalComparer");
+Object.defineProperty(exports, "NaturalComparer", { enumerable: true, get: function () { return NaturalComparer_1.NaturalComparer; } });
+var OperationOrSignalExtensions_1 = require("./Extensions/OperationOrSignalExtensions");
+Object.defineProperty(exports, "tryGetParent", { enumerable: true, get: function () { return OperationOrSignalExtensions_1.tryGetParent; } });
+// Commands
+var BaseOperationOrSignal_1 = require("./Commands/BaseOperationOrSignal");
+Object.defineProperty(exports, "BaseOperationOrSignal", { enumerable: true, get: function () { return BaseOperationOrSignal_1.BaseOperationOrSignal; } });
+var And_1 = require("./Commands/And");
+Object.defineProperty(exports, "And", { enumerable: true, get: function () { return And_1.And; } });
+var Or_1 = require("./Commands/Or");
+Object.defineProperty(exports, "Or", { enumerable: true, get: function () { return Or_1.Or; } });
+var Not_1 = require("./Commands/Not");
+Object.defineProperty(exports, "Not", { enumerable: true, get: function () { return Not_1.Not; } });
+var Distributor_1 = require("./Commands/Distributor");
+Object.defineProperty(exports, "Distributor", { enumerable: true, get: function () { return Distributor_1.Distributor; } });
+var Move_1 = require("./Commands/Move");
+Object.defineProperty(exports, "Move", { enumerable: true, get: function () { return Move_1.Move; } });
+var Convert_1 = require("./Commands/Convert");
+Object.defineProperty(exports, "Convert", { enumerable: true, get: function () { return Convert_1.Convert; } });
+var S_Move_1 = require("./Commands/S_Move");
+Object.defineProperty(exports, "S_Move", { enumerable: true, get: function () { return S_Move_1.S_Move; } });
+var NCoil_1 = require("./Commands/NCoil");
+Object.defineProperty(exports, "NCoil", { enumerable: true, get: function () { return NCoil_1.NCoil; } });
+// Signals
+var Signal_1 = require("./Commands/Signals/Signal");
+Object.defineProperty(exports, "Signal", { enumerable: true, get: function () { return Signal_1.Signal; } });
+Object.defineProperty(exports, "FixedSignal", { enumerable: true, get: function () { return Signal_1.FixedSignal; } });
+Object.defineProperty(exports, "FixedPeripherySignal", { enumerable: true, get: function () { return Signal_1.FixedPeripherySignal; } });
+// Coils
+var BaseCoil_1 = require("./Commands/Coils/BaseCoil");
+Object.defineProperty(exports, "BaseCoil", { enumerable: true, get: function () { return BaseCoil_1.BaseCoil; } });
+var BaseNPCoil_1 = require("./Commands/Coils/BaseNPCoil");
+Object.defineProperty(exports, "BaseNPCoil", { enumerable: true, get: function () { return BaseNPCoil_1.BaseNPCoil; } });
+var Coil_1 = require("./Commands/Coils/Coil");
+Object.defineProperty(exports, "Coil", { enumerable: true, get: function () { return Coil_1.Coil; } });
+var PCoil_1 = require("./Commands/Coils/PCoil");
+Object.defineProperty(exports, "PCoil", { enumerable: true, get: function () { return PCoil_1.PCoil; } });
+var RCoil_1 = require("./Commands/Coils/RCoil");
+Object.defineProperty(exports, "RCoil", { enumerable: true, get: function () { return RCoil_1.RCoil; } });
+var SCoil_1 = require("./Commands/Coils/SCoil");
+Object.defineProperty(exports, "SCoil", { enumerable: true, get: function () { return SCoil_1.SCoil; } });
+// Comparisons
+var CompareOperator_1 = require("./Commands/Comparisons/CompareOperator");
+Object.defineProperty(exports, "CompareOperator", { enumerable: true, get: function () { return CompareOperator_1.CompareOperator; } });
+var Eq_1 = require("./Commands/Comparisons/Eq");
+Object.defineProperty(exports, "Eq", { enumerable: true, get: function () { return Eq_1.Eq; } });
+var Ne_1 = require("./Commands/Comparisons/Ne");
+Object.defineProperty(exports, "Ne", { enumerable: true, get: function () { return Ne_1.Ne; } });
+var Ge_1 = require("./Commands/Comparisons/Ge");
+Object.defineProperty(exports, "Ge", { enumerable: true, get: function () { return Ge_1.Ge; } });
+var Gt_1 = require("./Commands/Comparisons/Gt");
+Object.defineProperty(exports, "Gt", { enumerable: true, get: function () { return Gt_1.Gt; } });
+var Le_1 = require("./Commands/Comparisons/Le");
+Object.defineProperty(exports, "Le", { enumerable: true, get: function () { return Le_1.Le; } });
+var Lt_1 = require("./Commands/Comparisons/Lt");
+Object.defineProperty(exports, "Lt", { enumerable: true, get: function () { return Lt_1.Lt; } });
+var InRangeCall_1 = require("./Commands/Comparisons/InRangeCall");
+Object.defineProperty(exports, "InRangeCall", { enumerable: true, get: function () { return InRangeCall_1.InRangeCall; } });
+var OutRangeCall_1 = require("./Commands/Comparisons/OutRangeCall");
+Object.defineProperty(exports, "OutRangeCall", { enumerable: true, get: function () { return OutRangeCall_1.OutRangeCall; } });
+// Function Base
+var FunctionCall_1 = require("./Commands/Functions/Base/FunctionCall");
+Object.defineProperty(exports, "FunctionCall", { enumerable: true, get: function () { return FunctionCall_1.FunctionCall; } });
+var FunctionBlockCall_1 = require("./Commands/Functions/Base/FunctionBlockCall");
+Object.defineProperty(exports, "FunctionBlockCall", { enumerable: true, get: function () { return FunctionBlockCall_1.FunctionBlockCall; } });
+var SystemFunctionCall_1 = require("./Commands/Functions/Base/SystemFunctionCall");
+Object.defineProperty(exports, "SystemFunctionCall", { enumerable: true, get: function () { return SystemFunctionCall_1.SystemFunctionCall; } });
+var SystemFunctionBlockCall_1 = require("./Commands/Functions/Base/SystemFunctionBlockCall");
+Object.defineProperty(exports, "SystemFunctionBlockCall", { enumerable: true, get: function () { return SystemFunctionBlockCall_1.SystemFunctionBlockCall; } });
+// Arithmetic
+var ArithmeticCall_1 = require("./Commands/Functions/Arithmetic/ArithmeticCall");
+Object.defineProperty(exports, "ArithmeticCall", { enumerable: true, get: function () { return ArithmeticCall_1.ArithmeticCall; } });
+var VariableArithmeticCall_1 = require("./Commands/Functions/Arithmetic/VariableArithmeticCall");
+Object.defineProperty(exports, "VariableArithmeticCall", { enumerable: true, get: function () { return VariableArithmeticCall_1.VariableArithmeticCall; } });
+var AddCall_1 = require("./Commands/Functions/Arithmetic/AddCall");
+Object.defineProperty(exports, "AddCall", { enumerable: true, get: function () { return AddCall_1.AddCall; } });
+var MulCall_1 = require("./Commands/Functions/Arithmetic/MulCall");
+Object.defineProperty(exports, "MulCall", { enumerable: true, get: function () { return MulCall_1.MulCall; } });
+var SubCall_1 = require("./Commands/Functions/Arithmetic/SubCall");
+Object.defineProperty(exports, "SubCall", { enumerable: true, get: function () { return SubCall_1.SubCall; } });
+var DivCall_1 = require("./Commands/Functions/Arithmetic/DivCall");
+Object.defineProperty(exports, "DivCall", { enumerable: true, get: function () { return DivCall_1.DivCall; } });
+var ModCall_1 = require("./Commands/Functions/Arithmetic/ModCall");
+Object.defineProperty(exports, "ModCall", { enumerable: true, get: function () { return ModCall_1.ModCall; } });
+// Functions
+var AckGlCall_1 = require("./Commands/Functions/AckGlCall");
+Object.defineProperty(exports, "AckGlCall", { enumerable: true, get: function () { return AckGlCall_1.AckGlCall; } });
+var CTUCall_1 = require("./Commands/Functions/CTUCall");
+Object.defineProperty(exports, "CTUCall", { enumerable: true, get: function () { return CTUCall_1.CTUCall; } });
+var CTUDCall_1 = require("./Commands/Functions/CTUDCall");
+Object.defineProperty(exports, "CTUDCall", { enumerable: true, get: function () { return CTUDCall_1.CTUDCall; } });
+var FDBACKCall_1 = require("./Commands/Functions/FDBACKCall");
+Object.defineProperty(exports, "FDBACKCall", { enumerable: true, get: function () { return FDBACKCall_1.FDBACKCall; } });
+var FTrigCall_1 = require("./Commands/Functions/FTrigCall");
+Object.defineProperty(exports, "FTrigCall", { enumerable: true, get: function () { return FTrigCall_1.FTrigCall; } });
+var NTrigCall_1 = require("./Commands/Functions/NTrigCall");
+Object.defineProperty(exports, "NTrigCall", { enumerable: true, get: function () { return NTrigCall_1.NTrigCall; } });
+var PTrigCall_1 = require("./Commands/Functions/PTrigCall");
+Object.defineProperty(exports, "PTrigCall", { enumerable: true, get: function () { return PTrigCall_1.PTrigCall; } });
+var RTrigCall_1 = require("./Commands/Functions/RTrigCall");
+Object.defineProperty(exports, "RTrigCall", { enumerable: true, get: function () { return RTrigCall_1.RTrigCall; } });
+var TOFCall_1 = require("./Commands/Functions/TOFCall");
+Object.defineProperty(exports, "TOFCall", { enumerable: true, get: function () { return TOFCall_1.TOFCall; } });
+var TONCall_1 = require("./Commands/Functions/TONCall");
+Object.defineProperty(exports, "TONCall", { enumerable: true, get: function () { return TONCall_1.TONCall; } });
+var TONRCall_1 = require("./Commands/Functions/TONRCall");
+Object.defineProperty(exports, "TONRCall", { enumerable: true, get: function () { return TONRCall_1.TONRCall; } });
+var TPCall_1 = require("./Commands/Functions/TPCall");
+Object.defineProperty(exports, "TPCall", { enumerable: true, get: function () { return TPCall_1.TPCall; } });
+// Blocks
+var CodeBlock_1 = require("./Blocks/CodeBlock");
+Object.defineProperty(exports, "CodeBlock", { enumerable: true, get: function () { return CodeBlock_1.CodeBlock; } });
+var Network_1 = require("./Blocks/Network");
+Object.defineProperty(exports, "Network", { enumerable: true, get: function () { return Network_1.Network; } });
+var Block_1 = require("./Blocks/Block");
+Object.defineProperty(exports, "Block", { enumerable: true, get: function () { return Block_1.Block; } });
+// CodeGen
+var KopCodeHelper_1 = require("./CodeGen/KopCodeHelper");
+Object.defineProperty(exports, "KopCodeHelper", { enumerable: true, get: function () { return KopCodeHelper_1.KopCodeHelper; } });
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/index.js.map b/TiaCodegen-ts/dist/index.js.map
new file mode 100644
index 0000000..d202c5a
--- /dev/null
+++ b/TiaCodegen-ts/dist/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,QAAQ;AACR,+CAA8C;AAArC,sGAAA,SAAS,OAAA;AAClB,iDAAgD;AAAvC,wGAAA,UAAU,OAAA;AAOnB,sGAAqG;AAA5F,wJAAA,kCAAkC,OAAA;AAE3C,QAAQ;AACR,uDAAsD;AAA7C,8GAAA,aAAa,OAAA;AAEtB,WAAW;AACX,0EAA2D;AAAlD,gHAAA,OAAO,OAAA;AAEhB,aAAa;AACb,gEAA+D;AAAtD,kHAAA,eAAe,OAAA;AACxB,wFAAwE;AAA/D,2HAAA,YAAY,OAAA;AAErB,WAAW;AACX,0EAAyE;AAAhE,8HAAA,qBAAqB,OAAA;AAC9B,sCAAqC;AAA5B,0FAAA,GAAG,OAAA;AACZ,oCAAmC;AAA1B,wFAAA,EAAE,OAAA;AACX,sCAAqC;AAA5B,0FAAA,GAAG,OAAA;AACZ,sDAA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A,OAAO,OAAA;AAChB,mEAAkE;AAAzD,kGAAA,OAAO,OAAA;AAChB,mEAAkE;AAAzD,kGAAA,OAAO,OAAA;AAChB,mEAAkE;AAAzD,kGAAA,OAAO,OAAA;AAChB,mEAAkE;AAAzD,kGAAA,OAAO,OAAA;AAEhB,YAAY;AACZ,4DAA2D;AAAlD,sGAAA,SAAS,OAAA;AAClB,wDAAuD;AAA9C,kGAAA,OAAO,OAAA;AAChB,0DAAyD;AAAhD,oGAAA,QAAQ,OAAA;AACjB,8DAA6D;AAApD,wGAAA,UAAU,OAAA;AACnB,4DAA2D;AAAlD,sGAAA,SAAS,OAAA;AAClB,4DAA2D;AAAlD,sGAAA,SAAS,OAAA;AAClB,4DAA2D;AAAlD,sGAAA,SAAS,OAAA;AAClB,4DAA2D;AAAlD,sGAAA,SAAS,OAAA;AAClB,wDAAuD;AAA9C,kGAAA,OAAO,OAAA;AAChB,wDAAuD;AAA9C,kGAAA,OAAO,OAAA;AAChB,0DAAyD;AAAhD,oGAAA,QAAQ,OAAA;AACjB,sDAAqD;AAA5C,gGAAA,MAAM,OAAA;AAEf,SAAS;AACT,gDAA+C;AAAtC,sGAAA,SAAS,OAAA;AAClB,4CAA2C;AAAlC,kGAAA,OAAO,OAAA;AAChB,wCAAuC;AAA9B,8FAAA,KAAK,OAAA;AAEd,UAAU;AACV,yDAAwD;AAA/C,8GAAA,aAAa,OAAA"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/utils/StringBuilder.d.ts b/TiaCodegen-ts/dist/utils/StringBuilder.d.ts
new file mode 100644
index 0000000..dd473a9
--- /dev/null
+++ b/TiaCodegen-ts/dist/utils/StringBuilder.d.ts
@@ -0,0 +1,8 @@
+export declare class StringBuilder {
+ private parts;
+ append(text: string): StringBuilder;
+ appendLine(text?: string): StringBuilder;
+ toString(): string;
+ get length(): number;
+}
+//# sourceMappingURL=StringBuilder.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/utils/StringBuilder.d.ts.map b/TiaCodegen-ts/dist/utils/StringBuilder.d.ts.map
new file mode 100644
index 0000000..1e504d1
--- /dev/null
+++ b/TiaCodegen-ts/dist/utils/StringBuilder.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"StringBuilder.d.ts","sourceRoot":"","sources":["../../src/utils/StringBuilder.ts"],"names":[],"mappings":"AAAA,qBAAa,aAAa;IACtB,OAAO,CAAC,KAAK,CAAgB;IAE7B,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa;IAKnC,UAAU,CAAC,IAAI,GAAE,MAAW,GAAG,aAAa;IAK5C,QAAQ,IAAI,MAAM;IAIlB,IAAI,MAAM,IAAI,MAAM,CAEnB;CACJ"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/utils/StringBuilder.js b/TiaCodegen-ts/dist/utils/StringBuilder.js
new file mode 100644
index 0000000..7283896
--- /dev/null
+++ b/TiaCodegen-ts/dist/utils/StringBuilder.js
@@ -0,0 +1,24 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.StringBuilder = void 0;
+class StringBuilder {
+ constructor() {
+ this.parts = [];
+ }
+ append(text) {
+ this.parts.push(text);
+ return this;
+ }
+ appendLine(text = '') {
+ this.parts.push(text + '\r\n');
+ return this;
+ }
+ toString() {
+ return this.parts.join('');
+ }
+ get length() {
+ return this.parts.join('').length;
+ }
+}
+exports.StringBuilder = StringBuilder;
+//# sourceMappingURL=StringBuilder.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/utils/StringBuilder.js.map b/TiaCodegen-ts/dist/utils/StringBuilder.js.map
new file mode 100644
index 0000000..b6e6d6b
--- /dev/null
+++ b/TiaCodegen-ts/dist/utils/StringBuilder.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"StringBuilder.js","sourceRoot":"","sources":["../../src/utils/StringBuilder.ts"],"names":[],"mappings":";;;AAAA,MAAa,aAAa;IAA1B;QACY,UAAK,GAAa,EAAE,CAAC;IAmBjC,CAAC;IAjBG,MAAM,CAAC,IAAY;QACf,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,UAAU,CAAC,OAAe,EAAE;QACxB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,QAAQ;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC/B,CAAC;IAED,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC;IACtC,CAAC;CACJ;AApBD,sCAoBC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/package-lock.json b/TiaCodegen-ts/package-lock.json
index ccbaed7..7b561a4 100644
--- a/TiaCodegen-ts/package-lock.json
+++ b/TiaCodegen-ts/package-lock.json
@@ -46,6 +46,7 @@
"integrity": "sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==",
"dev": true,
"license": "MIT",
+ "peer": true,
"dependencies": {
"@babel/code-frame": "^7.29.0",
"@babel/generator": "^7.29.0",
diff --git a/TiaCodegen-ts/src/Blocks/Block.ts b/TiaCodegen-ts/src/Blocks/Block.ts
index 332f632..6ffc3a5 100644
--- a/TiaCodegen-ts/src/Blocks/Block.ts
+++ b/TiaCodegen-ts/src/Blocks/Block.ts
@@ -71,7 +71,7 @@ export class Block {
en-GB
- ${this.titleEnglish}
+ ${this.titleEnglish ?? ''}
@@ -81,13 +81,13 @@ export class Block {
de-DE
- ${this.comment}
+ ${this.comment ?? ''}
en-GB
- ${this.commentEnglish}
+ ${this.commentEnglish ?? ''}
diff --git a/TiaCodegen-ts/src/CodeGen/KopCodeHelper.ts b/TiaCodegen-ts/src/CodeGen/KopCodeHelper.ts
index 2d1ae42..118f9d4 100644
--- a/TiaCodegen-ts/src/CodeGen/KopCodeHelper.ts
+++ b/TiaCodegen-ts/src/CodeGen/KopCodeHelper.ts
@@ -818,14 +818,14 @@ export class KopCodeHelper {
idRef.value++;
this._sb.appendLine('');
this._sb.appendLine('de-DE');
- this._sb.appendLine(`${network.description}`);
+ this._sb.appendLine(`${network.description ?? ''}`);
this._sb.appendLine('');
this._sb.appendLine('');
this._sb.appendLine(``);
idRef.value++;
this._sb.appendLine('');
this._sb.appendLine('en-GB');
- this._sb.appendLine(`${network.descriptionEnglish}`);
+ this._sb.appendLine(`${network.descriptionEnglish ?? ''}`);
this._sb.appendLine('');
this._sb.appendLine('');
this._sb.appendLine('');
diff --git a/TiaCodegen-ts/tests/SampleTests.test.ts b/TiaCodegen-ts/tests/SampleTests.test.ts
index ac7f8db..7d04ad3 100644
--- a/TiaCodegen-ts/tests/SampleTests.test.ts
+++ b/TiaCodegen-ts/tests/SampleTests.test.ts
@@ -12,6 +12,7 @@ import { Signal, FixedSignal, FixedPeripherySignal } from '../src/Commands/Signa
import { Coil } from '../src/Commands/Coils/Coil';
import { SCoil } from '../src/Commands/Coils/SCoil';
import { RCoil } from '../src/Commands/Coils/RCoil';
+import { Eq } from '../src/Commands/Comparisons/Eq';
import { Gt } from '../src/Commands/Comparisons/Gt';
import { InRangeCall } from '../src/Commands/Comparisons/InRangeCall';
import { FunctionBlockCall } from '../src/Commands/Functions/Base/FunctionBlockCall';
@@ -344,4 +345,37 @@ describe('SampleTests', () => {
const xml = block.getCode();
expect(xml).toBeTruthy();
});
-});
+
+ test('DoubleCarrierTest', () => {
+ const codeblock = new CodeBlock();
+ codeblock.safety = false;
+ const nw = new Network('Test', 'Testen');
+
+ nw.add(
+ new And(
+ new Eq(new Signal('#Configuration.General.SingleDoubleCarrier', SignalType.Int), new Signal(2)),
+ new Distributor(
+ new And(
+ new Or(
+ new Signal('#DoubleCarrier.Sensors.V[#Configuration.General.CoordinationAxisConveyor, 1]'),
+ new Signal('#DoubleCarrier.Sensors.R[#Configuration.General.CoordinationAxisConveyor, 1]'),
+ ),
+ new Coil(new Signal('#CarrierGeneral.States.CarriageOccupied[2]')),
+ ),
+ new And(
+ new Signal('#DoubleCarrierData.MOrder.DataPresent'),
+ new Coil(new Signal('#CarrierGeneral.States.CarriageDataPresent[2]')),
+ ),
+ ),
+ ),
+ );
+
+ codeblock.add(nw);
+
+ const block = new Block('Test', 'blabla', codeblock);
+ const xml = block.getCode();
+
+ const expectedXml = ' General 1.0 Optimized Test LAD DInt2DInt2DInt1DInt1Int2Int2 LADde-DEen-GBde-DETesten-GBTesten de-DE blabla en-GB de-DE en-GB ';
+ expect(xml.replace(/\r?\n/g, '')).toEqual(expectedXml.replace(/\r?\n/g, ''));
+ });
+});
\ No newline at end of file
From 3b9421e6a3277f69dbf1e2ee036ee58f3b7adf83 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Sat, 21 Feb 2026 14:38:22 +0000
Subject: [PATCH 3/3] Add .gitignore for TypeScript dist/ and node_modules/;
remove committed dist artifacts
Co-authored-by: jogibear9988 <364896+jogibear9988@users.noreply.github.com>
---
TiaCodegen-ts/.gitignore | 2 +
TiaCodegen-ts/dist/Blocks/Block.d.ts | 21 -
TiaCodegen-ts/dist/Blocks/Block.d.ts.map | 1 -
TiaCodegen-ts/dist/Blocks/Block.js | 89 --
TiaCodegen-ts/dist/Blocks/Block.js.map | 1 -
TiaCodegen-ts/dist/Blocks/CodeBlock.d.ts | 7 -
TiaCodegen-ts/dist/Blocks/CodeBlock.d.ts.map | 1 -
TiaCodegen-ts/dist/Blocks/CodeBlock.js | 13 -
TiaCodegen-ts/dist/Blocks/CodeBlock.js.map | 1 -
TiaCodegen-ts/dist/Blocks/Network.d.ts | 10 -
TiaCodegen-ts/dist/Blocks/Network.d.ts.map | 1 -
TiaCodegen-ts/dist/Blocks/Network.js | 33 -
TiaCodegen-ts/dist/Blocks/Network.js.map | 1 -
TiaCodegen-ts/dist/CodeGen/KopCodeHelper.d.ts | 27 -
.../dist/CodeGen/KopCodeHelper.d.ts.map | 1 -
TiaCodegen-ts/dist/CodeGen/KopCodeHelper.js | 903 ------------------
.../dist/CodeGen/KopCodeHelper.js.map | 1 -
TiaCodegen-ts/dist/Commands/And.d.ts | 6 -
TiaCodegen-ts/dist/Commands/And.d.ts.map | 1 -
TiaCodegen-ts/dist/Commands/And.js | 11 -
TiaCodegen-ts/dist/Commands/And.js.map | 1 -
.../dist/Commands/BaseOperationOrSignal.d.ts | 20 -
.../Commands/BaseOperationOrSignal.d.ts.map | 1 -
.../dist/Commands/BaseOperationOrSignal.js | 62 --
.../Commands/BaseOperationOrSignal.js.map | 1 -
.../dist/Commands/Coils/BaseCoil.d.ts | 18 -
.../dist/Commands/Coils/BaseCoil.d.ts.map | 1 -
TiaCodegen-ts/dist/Commands/Coils/BaseCoil.js | 37 -
.../dist/Commands/Coils/BaseCoil.js.map | 1 -
.../dist/Commands/Coils/BaseNPCoil.d.ts | 8 -
.../dist/Commands/Coils/BaseNPCoil.d.ts.map | 1 -
.../dist/Commands/Coils/BaseNPCoil.js | 15 -
.../dist/Commands/Coils/BaseNPCoil.js.map | 1 -
TiaCodegen-ts/dist/Commands/Coils/Coil.d.ts | 7 -
.../dist/Commands/Coils/Coil.d.ts.map | 1 -
TiaCodegen-ts/dist/Commands/Coils/Coil.js | 11 -
TiaCodegen-ts/dist/Commands/Coils/Coil.js.map | 1 -
TiaCodegen-ts/dist/Commands/Coils/PCoil.d.ts | 7 -
.../dist/Commands/Coils/PCoil.d.ts.map | 1 -
TiaCodegen-ts/dist/Commands/Coils/PCoil.js | 11 -
.../dist/Commands/Coils/PCoil.js.map | 1 -
TiaCodegen-ts/dist/Commands/Coils/RCoil.d.ts | 7 -
.../dist/Commands/Coils/RCoil.d.ts.map | 1 -
TiaCodegen-ts/dist/Commands/Coils/RCoil.js | 11 -
.../dist/Commands/Coils/RCoil.js.map | 1 -
TiaCodegen-ts/dist/Commands/Coils/SCoil.d.ts | 7 -
.../dist/Commands/Coils/SCoil.d.ts.map | 1 -
TiaCodegen-ts/dist/Commands/Coils/SCoil.js | 11 -
.../dist/Commands/Coils/SCoil.js.map | 1 -
.../Commands/Comparisons/CompareOperator.d.ts | 6 -
.../Comparisons/CompareOperator.d.ts.map | 1 -
.../Commands/Comparisons/CompareOperator.js | 11 -
.../Comparisons/CompareOperator.js.map | 1 -
.../dist/Commands/Comparisons/Eq.d.ts | 6 -
.../dist/Commands/Comparisons/Eq.d.ts.map | 1 -
TiaCodegen-ts/dist/Commands/Comparisons/Eq.js | 11 -
.../dist/Commands/Comparisons/Eq.js.map | 1 -
.../dist/Commands/Comparisons/Ge.d.ts | 6 -
.../dist/Commands/Comparisons/Ge.d.ts.map | 1 -
TiaCodegen-ts/dist/Commands/Comparisons/Ge.js | 11 -
.../dist/Commands/Comparisons/Ge.js.map | 1 -
.../dist/Commands/Comparisons/Gt.d.ts | 6 -
.../dist/Commands/Comparisons/Gt.d.ts.map | 1 -
TiaCodegen-ts/dist/Commands/Comparisons/Gt.js | 11 -
.../dist/Commands/Comparisons/Gt.js.map | 1 -
.../Commands/Comparisons/InRangeCall.d.ts | 6 -
.../Commands/Comparisons/InRangeCall.d.ts.map | 1 -
.../dist/Commands/Comparisons/InRangeCall.js | 22 -
.../Commands/Comparisons/InRangeCall.js.map | 1 -
.../dist/Commands/Comparisons/Le.d.ts | 6 -
.../dist/Commands/Comparisons/Le.d.ts.map | 1 -
TiaCodegen-ts/dist/Commands/Comparisons/Le.js | 11 -
.../dist/Commands/Comparisons/Le.js.map | 1 -
.../dist/Commands/Comparisons/Lt.d.ts | 6 -
.../dist/Commands/Comparisons/Lt.d.ts.map | 1 -
TiaCodegen-ts/dist/Commands/Comparisons/Lt.js | 11 -
.../dist/Commands/Comparisons/Lt.js.map | 1 -
.../dist/Commands/Comparisons/Ne.d.ts | 6 -
.../dist/Commands/Comparisons/Ne.d.ts.map | 1 -
TiaCodegen-ts/dist/Commands/Comparisons/Ne.js | 11 -
.../dist/Commands/Comparisons/Ne.js.map | 1 -
.../Commands/Comparisons/OutRangeCall.d.ts | 6 -
.../Comparisons/OutRangeCall.d.ts.map | 1 -
.../dist/Commands/Comparisons/OutRangeCall.js | 22 -
.../Commands/Comparisons/OutRangeCall.js.map | 1 -
TiaCodegen-ts/dist/Commands/Convert.d.ts | 7 -
TiaCodegen-ts/dist/Commands/Convert.d.ts.map | 1 -
TiaCodegen-ts/dist/Commands/Convert.js | 11 -
TiaCodegen-ts/dist/Commands/Convert.js.map | 1 -
TiaCodegen-ts/dist/Commands/Distributor.d.ts | 7 -
.../dist/Commands/Distributor.d.ts.map | 1 -
TiaCodegen-ts/dist/Commands/Distributor.js | 20 -
.../dist/Commands/Distributor.js.map | 1 -
.../dist/Commands/Functions/AckGlCall.d.ts | 6 -
.../Commands/Functions/AckGlCall.d.ts.map | 1 -
.../dist/Commands/Functions/AckGlCall.js | 23 -
.../dist/Commands/Functions/AckGlCall.js.map | 1 -
.../Functions/Arithmetic/AddCall.d.ts | 6 -
.../Functions/Arithmetic/AddCall.d.ts.map | 1 -
.../Commands/Functions/Arithmetic/AddCall.js | 70 --
.../Functions/Arithmetic/AddCall.js.map | 1 -
.../Functions/Arithmetic/ArithmeticCall.d.ts | 7 -
.../Arithmetic/ArithmeticCall.d.ts.map | 1 -
.../Functions/Arithmetic/ArithmeticCall.js | 12 -
.../Arithmetic/ArithmeticCall.js.map | 1 -
.../Functions/Arithmetic/DivCall.d.ts | 6 -
.../Functions/Arithmetic/DivCall.d.ts.map | 1 -
.../Commands/Functions/Arithmetic/DivCall.js | 22 -
.../Functions/Arithmetic/DivCall.js.map | 1 -
.../Functions/Arithmetic/ModCall.d.ts | 6 -
.../Functions/Arithmetic/ModCall.d.ts.map | 1 -
.../Commands/Functions/Arithmetic/ModCall.js | 22 -
.../Functions/Arithmetic/ModCall.js.map | 1 -
.../Functions/Arithmetic/MulCall.d.ts | 6 -
.../Functions/Arithmetic/MulCall.d.ts.map | 1 -
.../Commands/Functions/Arithmetic/MulCall.js | 70 --
.../Functions/Arithmetic/MulCall.js.map | 1 -
.../Functions/Arithmetic/SubCall.d.ts | 6 -
.../Functions/Arithmetic/SubCall.d.ts.map | 1 -
.../Commands/Functions/Arithmetic/SubCall.js | 22 -
.../Functions/Arithmetic/SubCall.js.map | 1 -
.../Arithmetic/VariableArithmeticCall.d.ts | 6 -
.../VariableArithmeticCall.d.ts.map | 1 -
.../Arithmetic/VariableArithmeticCall.js | 11 -
.../Arithmetic/VariableArithmeticCall.js.map | 1 -
.../Functions/Base/FunctionBlockCall.d.ts | 7 -
.../Functions/Base/FunctionBlockCall.d.ts.map | 1 -
.../Functions/Base/FunctionBlockCall.js | 12 -
.../Functions/Base/FunctionBlockCall.js.map | 1 -
.../Commands/Functions/Base/FunctionCall.d.ts | 25 -
.../Functions/Base/FunctionCall.d.ts.map | 1 -
.../Commands/Functions/Base/FunctionCall.js | 39 -
.../Functions/Base/FunctionCall.js.map | 1 -
.../Base/SystemFunctionBlockCall.d.ts | 9 -
.../Base/SystemFunctionBlockCall.d.ts.map | 1 -
.../Functions/Base/SystemFunctionBlockCall.js | 14 -
.../Base/SystemFunctionBlockCall.js.map | 1 -
.../Functions/Base/SystemFunctionCall.d.ts | 6 -
.../Base/SystemFunctionCall.d.ts.map | 1 -
.../Functions/Base/SystemFunctionCall.js | 11 -
.../Functions/Base/SystemFunctionCall.js.map | 1 -
.../dist/Commands/Functions/CTUCall.d.ts | 6 -
.../dist/Commands/Functions/CTUCall.d.ts.map | 1 -
.../dist/Commands/Functions/CTUCall.js | 25 -
.../dist/Commands/Functions/CTUCall.js.map | 1 -
.../dist/Commands/Functions/CTUDCall.d.ts | 6 -
.../dist/Commands/Functions/CTUDCall.d.ts.map | 1 -
.../dist/Commands/Functions/CTUDCall.js | 28 -
.../dist/Commands/Functions/CTUDCall.js.map | 1 -
.../dist/Commands/Functions/FDBACKCall.d.ts | 6 -
.../Commands/Functions/FDBACKCall.d.ts.map | 1 -
.../dist/Commands/Functions/FDBACKCall.js | 29 -
.../dist/Commands/Functions/FDBACKCall.js.map | 1 -
.../dist/Commands/Functions/FTrigCall.d.ts | 6 -
.../Commands/Functions/FTrigCall.d.ts.map | 1 -
.../dist/Commands/Functions/FTrigCall.js | 19 -
.../dist/Commands/Functions/FTrigCall.js.map | 1 -
.../dist/Commands/Functions/NTrigCall.d.ts | 8 -
.../Commands/Functions/NTrigCall.d.ts.map | 1 -
.../dist/Commands/Functions/NTrigCall.js | 12 -
.../dist/Commands/Functions/NTrigCall.js.map | 1 -
.../dist/Commands/Functions/PTrigCall.d.ts | 8 -
.../Commands/Functions/PTrigCall.d.ts.map | 1 -
.../dist/Commands/Functions/PTrigCall.js | 12 -
.../dist/Commands/Functions/PTrigCall.js.map | 1 -
.../dist/Commands/Functions/RTrigCall.d.ts | 6 -
.../Commands/Functions/RTrigCall.d.ts.map | 1 -
.../dist/Commands/Functions/RTrigCall.js | 19 -
.../dist/Commands/Functions/RTrigCall.js.map | 1 -
.../dist/Commands/Functions/TOFCall.d.ts | 6 -
.../dist/Commands/Functions/TOFCall.d.ts.map | 1 -
.../dist/Commands/Functions/TOFCall.js | 29 -
.../dist/Commands/Functions/TOFCall.js.map | 1 -
.../dist/Commands/Functions/TONCall.d.ts | 6 -
.../dist/Commands/Functions/TONCall.d.ts.map | 1 -
.../dist/Commands/Functions/TONCall.js | 29 -
.../dist/Commands/Functions/TONCall.js.map | 1 -
.../dist/Commands/Functions/TONRCall.d.ts | 6 -
.../dist/Commands/Functions/TONRCall.d.ts.map | 1 -
.../dist/Commands/Functions/TONRCall.js | 30 -
.../dist/Commands/Functions/TONRCall.js.map | 1 -
.../dist/Commands/Functions/TPCall.d.ts | 6 -
.../dist/Commands/Functions/TPCall.d.ts.map | 1 -
.../dist/Commands/Functions/TPCall.js | 29 -
.../dist/Commands/Functions/TPCall.js.map | 1 -
TiaCodegen-ts/dist/Commands/Move.d.ts | 9 -
TiaCodegen-ts/dist/Commands/Move.d.ts.map | 1 -
TiaCodegen-ts/dist/Commands/Move.js | 17 -
TiaCodegen-ts/dist/Commands/Move.js.map | 1 -
TiaCodegen-ts/dist/Commands/NCoil.d.ts | 7 -
TiaCodegen-ts/dist/Commands/NCoil.d.ts.map | 1 -
TiaCodegen-ts/dist/Commands/NCoil.js | 11 -
TiaCodegen-ts/dist/Commands/NCoil.js.map | 1 -
TiaCodegen-ts/dist/Commands/Not.d.ts | 15 -
TiaCodegen-ts/dist/Commands/Not.d.ts.map | 1 -
TiaCodegen-ts/dist/Commands/Not.js | 26 -
TiaCodegen-ts/dist/Commands/Not.js.map | 1 -
TiaCodegen-ts/dist/Commands/Or.d.ts | 7 -
TiaCodegen-ts/dist/Commands/Or.d.ts.map | 1 -
TiaCodegen-ts/dist/Commands/Or.js | 20 -
TiaCodegen-ts/dist/Commands/Or.js.map | 1 -
TiaCodegen-ts/dist/Commands/S_Move.d.ts | 9 -
TiaCodegen-ts/dist/Commands/S_Move.d.ts.map | 1 -
TiaCodegen-ts/dist/Commands/S_Move.js | 17 -
TiaCodegen-ts/dist/Commands/S_Move.js.map | 1 -
.../dist/Commands/Signals/FixedSignal.d.ts | 2 -
.../Commands/Signals/FixedSignal.d.ts.map | 1 -
.../dist/Commands/Signals/FixedSignal.js | 8 -
.../dist/Commands/Signals/FixedSignal.js.map | 1 -
.../dist/Commands/Signals/Signal.d.ts | 30 -
.../dist/Commands/Signals/Signal.d.ts.map | 1 -
TiaCodegen-ts/dist/Commands/Signals/Signal.js | 373 --------
.../dist/Commands/Signals/Signal.js.map | 1 -
TiaCodegen-ts/dist/Enums/Direction.d.ts | 8 -
TiaCodegen-ts/dist/Enums/Direction.d.ts.map | 1 -
TiaCodegen-ts/dist/Enums/Direction.js | 12 -
TiaCodegen-ts/dist/Enums/Direction.js.map | 1 -
TiaCodegen-ts/dist/Enums/SignalType.d.ts | 28 -
TiaCodegen-ts/dist/Enums/SignalType.d.ts.map | 1 -
TiaCodegen-ts/dist/Enums/SignalType.js | 32 -
TiaCodegen-ts/dist/Enums/SignalType.js.map | 1 -
.../dist/Extensions/NaturalComparer.d.ts | 5 -
.../dist/Extensions/NaturalComparer.d.ts.map | 1 -
.../dist/Extensions/NaturalComparer.js | 45 -
.../dist/Extensions/NaturalComparer.js.map | 1 -
.../OperationOrSignalExtensions.d.ts | 3 -
.../OperationOrSignalExtensions.d.ts.map | 1 -
.../Extensions/OperationOrSignalExtensions.js | 13 -
.../OperationOrSignalExtensions.js.map | 1 -
TiaCodegen-ts/dist/Interfaces/ICoil.d.ts | 3 -
TiaCodegen-ts/dist/Interfaces/ICoil.d.ts.map | 1 -
TiaCodegen-ts/dist/Interfaces/ICoil.js | 3 -
TiaCodegen-ts/dist/Interfaces/ICoil.js.map | 1 -
.../dist/Interfaces/IFunctionOperation.d.ts | 3 -
.../Interfaces/IFunctionOperation.d.ts.map | 1 -
.../dist/Interfaces/IFunctionOperation.js | 3 -
.../dist/Interfaces/IFunctionOperation.js.map | 1 -
.../dist/Interfaces/IOperationOrSignal.d.ts | 12 -
.../Interfaces/IOperationOrSignal.d.ts.map | 1 -
.../dist/Interfaces/IOperationOrSignal.js | 3 -
.../dist/Interfaces/IOperationOrSignal.js.map | 1 -
.../IOperationOrSignalDirectionWrapper.d.ts | 11 -
...OperationOrSignalDirectionWrapper.d.ts.map | 1 -
.../IOperationOrSignalDirectionWrapper.js | 13 -
.../IOperationOrSignalDirectionWrapper.js.map | 1 -
TiaCodegen-ts/dist/Interfaces/IPartName.d.ts | 4 -
.../dist/Interfaces/IPartName.d.ts.map | 1 -
TiaCodegen-ts/dist/Interfaces/IPartName.js | 3 -
.../dist/Interfaces/IPartName.js.map | 1 -
.../dist/Internal/IEnumerableExtensions.d.ts | 2 -
.../Internal/IEnumerableExtensions.d.ts.map | 1 -
.../dist/Internal/IEnumerableExtensions.js | 9 -
.../Internal/IEnumerableExtensions.js.map | 1 -
TiaCodegen-ts/dist/index.d.ts | 64 --
TiaCodegen-ts/dist/index.d.ts.map | 1 -
TiaCodegen-ts/dist/index.js | 138 ---
TiaCodegen-ts/dist/index.js.map | 1 -
TiaCodegen-ts/dist/utils/StringBuilder.d.ts | 8 -
.../dist/utils/StringBuilder.d.ts.map | 1 -
TiaCodegen-ts/dist/utils/StringBuilder.js | 24 -
TiaCodegen-ts/dist/utils/StringBuilder.js.map | 1 -
261 files changed, 2 insertions(+), 3457 deletions(-)
create mode 100644 TiaCodegen-ts/.gitignore
delete mode 100644 TiaCodegen-ts/dist/Blocks/Block.d.ts
delete mode 100644 TiaCodegen-ts/dist/Blocks/Block.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Blocks/Block.js
delete mode 100644 TiaCodegen-ts/dist/Blocks/Block.js.map
delete mode 100644 TiaCodegen-ts/dist/Blocks/CodeBlock.d.ts
delete mode 100644 TiaCodegen-ts/dist/Blocks/CodeBlock.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Blocks/CodeBlock.js
delete mode 100644 TiaCodegen-ts/dist/Blocks/CodeBlock.js.map
delete mode 100644 TiaCodegen-ts/dist/Blocks/Network.d.ts
delete mode 100644 TiaCodegen-ts/dist/Blocks/Network.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Blocks/Network.js
delete mode 100644 TiaCodegen-ts/dist/Blocks/Network.js.map
delete mode 100644 TiaCodegen-ts/dist/CodeGen/KopCodeHelper.d.ts
delete mode 100644 TiaCodegen-ts/dist/CodeGen/KopCodeHelper.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/CodeGen/KopCodeHelper.js
delete mode 100644 TiaCodegen-ts/dist/CodeGen/KopCodeHelper.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/And.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/And.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/And.js
delete mode 100644 TiaCodegen-ts/dist/Commands/And.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.js
delete mode 100644 TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/BaseCoil.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/BaseCoil.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/BaseCoil.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/BaseCoil.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/Coil.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/Coil.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/Coil.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/Coil.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/PCoil.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/PCoil.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/PCoil.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/PCoil.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/RCoil.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/RCoil.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/RCoil.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/RCoil.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/SCoil.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/SCoil.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/SCoil.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Coils/SCoil.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Eq.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Eq.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Eq.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Eq.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Ge.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Ge.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Ge.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Ge.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Gt.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Gt.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Gt.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Gt.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Le.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Le.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Le.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Le.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Lt.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Lt.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Lt.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Lt.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Ne.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Ne.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Ne.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/Ne.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Convert.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Convert.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Convert.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Convert.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Distributor.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Distributor.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Distributor.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Distributor.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/AckGlCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/AckGlCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/AckGlCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/AckGlCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/CTUCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/CTUCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/CTUCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/CTUCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/CTUDCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/CTUDCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/CTUDCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/CTUDCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/FTrigCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/FTrigCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/FTrigCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/FTrigCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/NTrigCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/NTrigCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/NTrigCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/NTrigCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/PTrigCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/PTrigCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/PTrigCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/PTrigCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/RTrigCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/RTrigCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/RTrigCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/RTrigCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/TOFCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/TOFCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/TOFCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/TOFCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/TONCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/TONCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/TONCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/TONCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/TONRCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/TONRCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/TONRCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/TONRCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/TPCall.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/TPCall.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/TPCall.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Functions/TPCall.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Move.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Move.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Move.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Move.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/NCoil.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/NCoil.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/NCoil.js
delete mode 100644 TiaCodegen-ts/dist/Commands/NCoil.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Not.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Not.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Not.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Not.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Or.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Or.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Or.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Or.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/S_Move.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/S_Move.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/S_Move.js
delete mode 100644 TiaCodegen-ts/dist/Commands/S_Move.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Signals/FixedSignal.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Signals/FixedSignal.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Signals/FixedSignal.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Signals/FixedSignal.js.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Signals/Signal.d.ts
delete mode 100644 TiaCodegen-ts/dist/Commands/Signals/Signal.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Commands/Signals/Signal.js
delete mode 100644 TiaCodegen-ts/dist/Commands/Signals/Signal.js.map
delete mode 100644 TiaCodegen-ts/dist/Enums/Direction.d.ts
delete mode 100644 TiaCodegen-ts/dist/Enums/Direction.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Enums/Direction.js
delete mode 100644 TiaCodegen-ts/dist/Enums/Direction.js.map
delete mode 100644 TiaCodegen-ts/dist/Enums/SignalType.d.ts
delete mode 100644 TiaCodegen-ts/dist/Enums/SignalType.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Enums/SignalType.js
delete mode 100644 TiaCodegen-ts/dist/Enums/SignalType.js.map
delete mode 100644 TiaCodegen-ts/dist/Extensions/NaturalComparer.d.ts
delete mode 100644 TiaCodegen-ts/dist/Extensions/NaturalComparer.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Extensions/NaturalComparer.js
delete mode 100644 TiaCodegen-ts/dist/Extensions/NaturalComparer.js.map
delete mode 100644 TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.d.ts
delete mode 100644 TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.js
delete mode 100644 TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.js.map
delete mode 100644 TiaCodegen-ts/dist/Interfaces/ICoil.d.ts
delete mode 100644 TiaCodegen-ts/dist/Interfaces/ICoil.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Interfaces/ICoil.js
delete mode 100644 TiaCodegen-ts/dist/Interfaces/ICoil.js.map
delete mode 100644 TiaCodegen-ts/dist/Interfaces/IFunctionOperation.d.ts
delete mode 100644 TiaCodegen-ts/dist/Interfaces/IFunctionOperation.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Interfaces/IFunctionOperation.js
delete mode 100644 TiaCodegen-ts/dist/Interfaces/IFunctionOperation.js.map
delete mode 100644 TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.d.ts
delete mode 100644 TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.js
delete mode 100644 TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.js.map
delete mode 100644 TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.d.ts
delete mode 100644 TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.js
delete mode 100644 TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.js.map
delete mode 100644 TiaCodegen-ts/dist/Interfaces/IPartName.d.ts
delete mode 100644 TiaCodegen-ts/dist/Interfaces/IPartName.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Interfaces/IPartName.js
delete mode 100644 TiaCodegen-ts/dist/Interfaces/IPartName.js.map
delete mode 100644 TiaCodegen-ts/dist/Internal/IEnumerableExtensions.d.ts
delete mode 100644 TiaCodegen-ts/dist/Internal/IEnumerableExtensions.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/Internal/IEnumerableExtensions.js
delete mode 100644 TiaCodegen-ts/dist/Internal/IEnumerableExtensions.js.map
delete mode 100644 TiaCodegen-ts/dist/index.d.ts
delete mode 100644 TiaCodegen-ts/dist/index.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/index.js
delete mode 100644 TiaCodegen-ts/dist/index.js.map
delete mode 100644 TiaCodegen-ts/dist/utils/StringBuilder.d.ts
delete mode 100644 TiaCodegen-ts/dist/utils/StringBuilder.d.ts.map
delete mode 100644 TiaCodegen-ts/dist/utils/StringBuilder.js
delete mode 100644 TiaCodegen-ts/dist/utils/StringBuilder.js.map
diff --git a/TiaCodegen-ts/.gitignore b/TiaCodegen-ts/.gitignore
new file mode 100644
index 0000000..1eae0cf
--- /dev/null
+++ b/TiaCodegen-ts/.gitignore
@@ -0,0 +1,2 @@
+dist/
+node_modules/
diff --git a/TiaCodegen-ts/dist/Blocks/Block.d.ts b/TiaCodegen-ts/dist/Blocks/Block.d.ts
deleted file mode 100644
index ce8547f..0000000
--- a/TiaCodegen-ts/dist/Blocks/Block.d.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import { CodeBlock } from './CodeBlock';
-export declare class Block {
- name: string;
- number: number;
- private codeBlock;
- title: string | undefined;
- titleEnglish: string | undefined;
- comment: string | undefined;
- commentEnglish: string | undefined;
- author: string | undefined;
- blockInterface: string;
- constructor(name: string, title: string, codeBlock: CodeBlock);
- getCode(): string;
- getBlockHeader(idRef: {
- value: number;
- }): string;
- getBlockFooter(idRef: {
- value: number;
- }): string;
-}
-//# sourceMappingURL=Block.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/Block.d.ts.map b/TiaCodegen-ts/dist/Blocks/Block.d.ts.map
deleted file mode 100644
index b817bf7..0000000
--- a/TiaCodegen-ts/dist/Blocks/Block.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Block.d.ts","sourceRoot":"","sources":["../../src/Blocks/Block.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,qBAAa,KAAK;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAK;IACnB,OAAO,CAAC,SAAS,CAAY;IAC7B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;gBAEX,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS;IAqB7D,OAAO,IAAI,MAAM;IAQjB,cAAc,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM;IAiBhD,cAAc,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM;CAsCnD"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/Block.js b/TiaCodegen-ts/dist/Blocks/Block.js
deleted file mode 100644
index 1c0add3..0000000
--- a/TiaCodegen-ts/dist/Blocks/Block.js
+++ /dev/null
@@ -1,89 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Block = void 0;
-const KopCodeHelper_1 = require("../CodeGen/KopCodeHelper");
-class Block {
- constructor(name, title, codeBlock) {
- this.number = 0;
- this.name = name;
- this.title = title;
- this.codeBlock = codeBlock;
- this.blockInterface = `
-
-
-
-
-
-
-
-
-
-
-`;
- }
- getCode() {
- const idRef = { value: 0 };
- let code = this.getBlockHeader(idRef);
- code += new KopCodeHelper_1.KopCodeHelper(this.codeBlock).getXml(idRef);
- code += this.getBlockFooter(idRef);
- return code;
- }
- getBlockHeader(idRef) {
- const header = `
-
-
- ${this.author !== undefined && this.author !== null ? '' + this.author + '' : ''}
- General
- 1.0
- Optimized
- ${this.name}
- ${this.number !== 0 ? '' + this.number + '' : ''}
-
- LAD
-
- `;
- return header;
- }
- getBlockFooter(idRef) {
- const footer = `
-
-
-
-
- de-DE
- ${this.title}
-
-
-
-
- en-GB
- ${this.titleEnglish ?? ''}
-
-
-
-
-
-
-
-
- de-DE
- ${this.comment ?? ''}
-
-
-
-
- en-GB
- ${this.commentEnglish ?? ''}
-
-
-
-
-
- `;
- return footer;
- }
-}
-exports.Block = Block;
-//# sourceMappingURL=Block.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/Block.js.map b/TiaCodegen-ts/dist/Blocks/Block.js.map
deleted file mode 100644
index f1c7ffa..0000000
--- a/TiaCodegen-ts/dist/Blocks/Block.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Block.js","sourceRoot":"","sources":["../../src/Blocks/Block.ts"],"names":[],"mappings":";;;AACA,4DAAyD;AAEzD,MAAa,KAAK;IAWd,YAAY,IAAY,EAAE,KAAa,EAAE,SAAoB;QAT7D,WAAM,GAAW,CAAC,CAAC;QAUf,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAE3B,IAAI,CAAC,cAAc,GAAG;;;;;;;;;;;;;CAa7B,CAAC;I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CAAC;CACJ;AA/FD,sBA+FC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/CodeBlock.d.ts b/TiaCodegen-ts/dist/Blocks/CodeBlock.d.ts
deleted file mode 100644
index dffe45c..0000000
--- a/TiaCodegen-ts/dist/Blocks/CodeBlock.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { BaseOperationOrSignal } from '../Commands/BaseOperationOrSignal';
-export declare class CodeBlock extends BaseOperationOrSignal {
- name: string;
- safety: boolean;
- constructor(name?: string);
-}
-//# sourceMappingURL=CodeBlock.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/CodeBlock.d.ts.map b/TiaCodegen-ts/dist/Blocks/CodeBlock.d.ts.map
deleted file mode 100644
index 23646af..0000000
--- a/TiaCodegen-ts/dist/Blocks/CodeBlock.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"CodeBlock.d.ts","sourceRoot":"","sources":["../../src/Blocks/CodeBlock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAE1E,qBAAa,SAAU,SAAQ,qBAAqB;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,CAAS;gBAEZ,IAAI,GAAE,MAAW;CAIhC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/CodeBlock.js b/TiaCodegen-ts/dist/Blocks/CodeBlock.js
deleted file mode 100644
index e0b89e5..0000000
--- a/TiaCodegen-ts/dist/Blocks/CodeBlock.js
+++ /dev/null
@@ -1,13 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.CodeBlock = void 0;
-const BaseOperationOrSignal_1 = require("../Commands/BaseOperationOrSignal");
-class CodeBlock extends BaseOperationOrSignal_1.BaseOperationOrSignal {
- constructor(name = '') {
- super();
- this.safety = false;
- this.name = name;
- }
-}
-exports.CodeBlock = CodeBlock;
-//# sourceMappingURL=CodeBlock.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/CodeBlock.js.map b/TiaCodegen-ts/dist/Blocks/CodeBlock.js.map
deleted file mode 100644
index 22c4680..0000000
--- a/TiaCodegen-ts/dist/Blocks/CodeBlock.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"CodeBlock.js","sourceRoot":"","sources":["../../src/Blocks/CodeBlock.ts"],"names":[],"mappings":";;;AAAA,6EAA0E;AAE1E,MAAa,SAAU,SAAQ,6CAAqB;IAIhD,YAAY,OAAe,EAAE;QACzB,KAAK,EAAE,CAAC;QAHZ,WAAM,GAAY,KAAK,CAAC;QAIpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;CACJ;AARD,8BAQC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/Network.d.ts b/TiaCodegen-ts/dist/Blocks/Network.d.ts
deleted file mode 100644
index 1ec87c0..0000000
--- a/TiaCodegen-ts/dist/Blocks/Network.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
-import { BaseOperationOrSignal } from '../Commands/BaseOperationOrSignal';
-export declare class Network extends BaseOperationOrSignal {
- networkTitle: string | undefined;
- description: string | undefined;
- networkTitleEnglish: string | undefined;
- descriptionEnglish: string | undefined;
- constructor(networkTitleOrOp?: string | IOperationOrSignal, networkTitleEnglishOrOp?: string | IOperationOrSignal, ...operationOrSignals: IOperationOrSignal[]);
-}
-//# sourceMappingURL=Network.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/Network.d.ts.map b/TiaCodegen-ts/dist/Blocks/Network.d.ts.map
deleted file mode 100644
index 9190053..0000000
--- a/TiaCodegen-ts/dist/Blocks/Network.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Network.d.ts","sourceRoot":"","sources":["../../src/Blocks/Network.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAE1E,qBAAa,OAAQ,SAAQ,qBAAqB;IAC9C,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;gBAGnC,gBAAgB,CAAC,EAAE,MAAM,GAAG,kBAAkB,EAC9C,uBAAuB,CAAC,EAAE,MAAM,GAAG,kBAAkB,EACrD,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;CAwBlD"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/Network.js b/TiaCodegen-ts/dist/Blocks/Network.js
deleted file mode 100644
index 9d33a51..0000000
--- a/TiaCodegen-ts/dist/Blocks/Network.js
+++ /dev/null
@@ -1,33 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Network = void 0;
-const BaseOperationOrSignal_1 = require("../Commands/BaseOperationOrSignal");
-class Network extends BaseOperationOrSignal_1.BaseOperationOrSignal {
- constructor(networkTitleOrOp, networkTitleEnglishOrOp, ...operationOrSignals) {
- super();
- if (typeof networkTitleOrOp === 'string') {
- this.networkTitle = networkTitleOrOp;
- this.networkTitleEnglish = typeof networkTitleEnglishOrOp === 'string'
- ? networkTitleEnglishOrOp
- : undefined;
- if (networkTitleEnglishOrOp !== undefined && typeof networkTitleEnglishOrOp !== 'string') {
- this.children.push(networkTitleEnglishOrOp);
- }
- for (const op of operationOrSignals) {
- this.children.push(op);
- }
- }
- else {
- if (networkTitleOrOp !== undefined)
- this.children.push(networkTitleOrOp);
- if (networkTitleEnglishOrOp !== undefined && typeof networkTitleEnglishOrOp !== 'string') {
- this.children.push(networkTitleEnglishOrOp);
- }
- for (const op of operationOrSignals) {
- this.children.push(op);
- }
- }
- }
-}
-exports.Network = Network;
-//# sourceMappingURL=Network.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Blocks/Network.js.map b/TiaCodegen-ts/dist/Blocks/Network.js.map
deleted file mode 100644
index 3bd43ea..0000000
--- a/TiaCodegen-ts/dist/Blocks/Network.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Network.js","sourceRoot":"","sources":["../../src/Blocks/Network.ts"],"names":[],"mappings":";;;AACA,6EAA0E;AAE1E,MAAa,OAAQ,SAAQ,6CAAqB;IAM9C,YACI,gBAA8C,EAC9C,uBAAqD,EACrD,GAAG,kBAAwC;QAE3C,KAAK,EAAE,CAAC;QACR,IAAI,OAAO,gBAAgB,KAAK,QAAQ,EAAE,CAAC;YACvC,IAAI,CAAC,YAAY,GAAG,gBAAgB,CAAC;YACrC,IAAI,CAAC,mBAAmB,GAAG,OAAO,uBAAuB,KAAK,QAAQ;gBAClE,CAAC,CAAC,uBAAuB;gBACzB,CAAC,CAAC,SAAS,CAAC;YAChB,IAAI,uBAAuB,KAAK,SAAS,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;gBACvF,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;YAChD,CAAC;YACD,KAAK,MAAM,EAAE,IAAI,kBAAkB,EAAE,CAAC;gBAClC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YAC3B,CAAC;QACL,CAAC;aAAM,CAAC;YACJ,IAAI,gBAAgB,KAAK,SAAS;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;YACzE,IAAI,uBAAuB,KAAK,SAAS,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAAC;gBACvF,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;YAChD,CAAC;YACD,KAAK,MAAM,EAAE,IAAI,kBAAkB,EAAE,CAAC;gBAClC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YAC3B,CAAC;QACL,CAAC;IACL,CAAC;CACJ;AAjCD,0BAiCC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.d.ts b/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.d.ts
deleted file mode 100644
index fc1abc7..0000000
--- a/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.d.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
-import { CodeBlock } from '../Blocks/CodeBlock';
-export declare class KopCodeHelper {
- static flattenOrdered(e: T[], f: (t: T) => T[]): T[];
- private _currentId;
- private _block;
- private _sb;
- constructor(block: CodeBlock);
- private addSignalDefinitions;
- private checkAndAndOr;
- private printTree;
- private addContactDefinitions;
- private static readonly debug;
- private addWires;
- private addPowerrails;
- private fixChildAndsAndSingleOr;
- private escapeForXml;
- private printTreeParent;
- private setParent;
- getXml(idRef: {
- value: number;
- }): string;
- getAllOrSignals(sng: IOperationOrSignal): IOperationOrSignal[];
- private isIPartName;
- private isIFunctionOperation;
-}
-//# sourceMappingURL=KopCodeHelper.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.d.ts.map b/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.d.ts.map
deleted file mode 100644
index 78a5038..0000000
--- a/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"KopCodeHelper.d.ts","sourceRoot":"","sources":["../../src/CodeGen/KopCodeHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAOtE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AA8BhD,qBAAa,aAAa;IACtB,MAAM,CAAC,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,CAAC,EAAE;IAWvD,OAAO,CAAC,UAAU,CAAc;IAChC,OAAO,CAAC,MAAM,CAAY;IAC1B,OAAO,CAAC,GAAG,CAAgB;gBAEf,KAAK,EAAE,SAAS;IAK5B,OAAO,CAAC,oBAAoB;IAc5B,OAAO,CAAC,aAAa;IAWrB,OAAO,CAAC,SAAS;IAOjB,OAAO,CAAC,qBAAqB;IA6R7B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAuB;IAEpD,OAAO,CAAC,QAAQ;IAwQhB,OAAO,CAAC,aAAa;IAmFrB,OAAO,CAAC,uBAAuB;IA8B/B,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,eAAe;IAavB,OAAO,CAAC,SAAS;IAcjB,MAAM,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM;IA6ExC,eAAe,CAAC,GAAG,EAAE,kBAAkB,GAAG,kBAAkB,EAAE;IAiB9D,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,oBAAoB;CAI/B"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.js b/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.js
deleted file mode 100644
index 7954d0c..0000000
--- a/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.js
+++ /dev/null
@@ -1,903 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.KopCodeHelper = void 0;
-const StringBuilder_1 = require("../utils/StringBuilder");
-const IEnumerableExtensions_1 = require("../Internal/IEnumerableExtensions");
-const NaturalComparer_1 = require("../Extensions/NaturalComparer");
-const CodeBlock_1 = require("../Blocks/CodeBlock");
-const Network_1 = require("../Blocks/Network");
-const And_1 = require("../Commands/And");
-const Or_1 = require("../Commands/Or");
-const Not_1 = require("../Commands/Not");
-const Distributor_1 = require("../Commands/Distributor");
-const Move_1 = require("../Commands/Move");
-const Convert_1 = require("../Commands/Convert");
-const S_Move_1 = require("../Commands/S_Move");
-const Signal_1 = require("../Commands/Signals/Signal");
-const BaseCoil_1 = require("../Commands/Coils/BaseCoil");
-const BaseNPCoil_1 = require("../Commands/Coils/BaseNPCoil");
-const Coil_1 = require("../Commands/Coils/Coil");
-const SCoil_1 = require("../Commands/Coils/SCoil");
-const RCoil_1 = require("../Commands/Coils/RCoil");
-const BaseOperationOrSignal_1 = require("../Commands/BaseOperationOrSignal");
-const CompareOperator_1 = require("../Commands/Comparisons/CompareOperator");
-const InRangeCall_1 = require("../Commands/Comparisons/InRangeCall");
-const OutRangeCall_1 = require("../Commands/Comparisons/OutRangeCall");
-const FunctionCall_1 = require("../Commands/Functions/Base/FunctionCall");
-const FunctionBlockCall_1 = require("../Commands/Functions/Base/FunctionBlockCall");
-const SystemFunctionCall_1 = require("../Commands/Functions/Base/SystemFunctionCall");
-const SystemFunctionBlockCall_1 = require("../Commands/Functions/Base/SystemFunctionBlockCall");
-const ArithmeticCall_1 = require("../Commands/Functions/Arithmetic/ArithmeticCall");
-const VariableArithmeticCall_1 = require("../Commands/Functions/Arithmetic/VariableArithmeticCall");
-const AckGlCall_1 = require("../Commands/Functions/AckGlCall");
-const CTUCall_1 = require("../Commands/Functions/CTUCall");
-const CTUDCall_1 = require("../Commands/Functions/CTUDCall");
-const OperationOrSignalExtensions_1 = require("../Extensions/OperationOrSignalExtensions");
-class KopCodeHelper {
- static flattenOrdered(e, f) {
- const result = [];
- for (const el of e) {
- for (const el2 of KopCodeHelper.flattenOrdered(f(el), f)) {
- result.push(el2);
- }
- result.push(el);
- }
- return result;
- }
- constructor(block) {
- this._currentId = 21;
- this._block = block;
- this._sb = new StringBuilder_1.StringBuilder();
- }
- addSignalDefinitions(network) {
- const allChildren = (0, IEnumerableExtensions_1.flatten)(network.children, x => x.children);
- const signals = allChildren
- .filter((x) => x instanceof Signal_1.Signal)
- .slice()
- .sort((a, b) => new NaturalComparer_1.NaturalComparer().compare(a.name, b.name));
- for (const signal of signals) {
- signal.addXmlToStringBuilder(this._currentId, this._sb);
- signal.signalId = this._currentId;
- this._currentId++;
- }
- }
- checkAndAndOr(block, network) {
- const allChildren = (0, IEnumerableExtensions_1.flatten)(network.children, x => x.children);
- const ors = allChildren.filter((x) => x instanceof Or_1.Or);
- for (const or of ors) {
- if (or.children.length === 0) {
- throw new Error(`Empty Or im Baustein "${block.name}" Netzwerk "${network.networkTitle}"`);
- }
- }
- }
- printTree(signal, sb, level = 0) {
- sb.appendLine(' '.repeat(level * 4) + signal.toString() + ' OP ID: ' + signal.operationId);
- for (const s of signal.children) {
- this.printTree(s, sb, level + 1);
- }
- }
- addContactDefinitions(network, block) {
- const ops = KopCodeHelper.flattenOrdered(network.children, x => x.children)
- .filter((x) => true);
- for (const op of ops) {
- if (op instanceof Signal_1.Signal) {
- // nothing
- }
- else if (op instanceof And_1.And || (op instanceof Or_1.Or && op.children.length === 1)) {
- // nothing
- }
- else {
- if (op instanceof Or_1.Or && op.children.length > 1) {
- op.createContactAndFillCardinality(op);
- }
- }
- }
- for (const op of ops) {
- if (op instanceof Signal_1.Signal) {
- if (!(op.parent instanceof BaseCoil_1.BaseCoil) &&
- !(op.parent instanceof Not_1.Not) &&
- !(op.parent instanceof FunctionCall_1.FunctionCall) &&
- !(op.parent instanceof CompareOperator_1.CompareOperator) &&
- !(op.parent instanceof Move_1.Move) &&
- !(op.parent instanceof Convert_1.Convert) &&
- !(op.parent instanceof S_Move_1.S_Move)) {
- op.operationId = this._currentId;
- this._currentId++;
- }
- }
- else if (op instanceof And_1.And || (op instanceof Or_1.Or && op.children.length === 1)) {
- op.operationId = op.children[op.children.length - 1].operationId;
- }
- else {
- op.operationId = this._currentId;
- if (op instanceof Not_1.Not || op instanceof BaseCoil_1.BaseCoil || op instanceof SystemFunctionBlockCall_1.SystemFunctionBlockCall || op instanceof SystemFunctionCall_1.SystemFunctionCall) {
- if (op.children.length > 0) {
- op.children[0].operationId = this._currentId;
- }
- }
- if (op instanceof Or_1.Or && op.children.length > 1) {
- op.createContactAndFillCardinality(op);
- }
- if (!(op instanceof Distributor_1.Distributor) && !op.doNotCreateContact) {
- this._currentId++;
- }
- }
- }
- for (const op of ops) {
- let partname = op.constructor.name;
- if (this.isIPartName(op)) {
- partname = op.partName;
- }
- if (op instanceof Signal_1.Signal) {
- if (!(op.parent instanceof BaseCoil_1.BaseCoil) &&
- !(op.parent instanceof Not_1.Not) &&
- !(op.parent instanceof FunctionCall_1.FunctionCall) &&
- !(op.parent instanceof CompareOperator_1.CompareOperator) &&
- !(op.parent instanceof Move_1.Move) &&
- !(op.parent instanceof Convert_1.Convert) &&
- !(op.parent instanceof S_Move_1.S_Move)) {
- this._sb.appendLine(``);
- }
- }
- else if (op instanceof Or_1.Or && op.children.length > 1) {
- if (!op.doNotCreateContact) {
- this._sb.appendLine(``);
- this._sb.appendLine(`${op.cardinality}`);
- this._sb.appendLine('');
- }
- }
- else if (op instanceof CompareOperator_1.CompareOperator) {
- this._sb.appendLine(``);
- let srctype = op.children[0].signalType.toString();
- if (srctype.startsWith('Constant'))
- srctype = srctype.substring(8);
- this._sb.appendLine(`${srctype}`);
- this._sb.appendLine('');
- }
- else if (op instanceof Convert_1.Convert) {
- this._sb.appendLine(``);
- let srctype = op.children[op.children.length - 1].signalType.toString();
- let desttype = op.children[0].signalType.toString();
- if (srctype.startsWith('Constant'))
- srctype = srctype.substring(8);
- if (desttype.startsWith('Constant'))
- desttype = desttype.substring(8);
- this._sb.appendLine(`${srctype}`);
- this._sb.appendLine(`${desttype}`);
- this._sb.appendLine('');
- }
- else if (op instanceof Move_1.Move) {
- this._sb.appendLine(``);
- this._sb.appendLine(`${op.cardinality}`);
- this._sb.appendLine('');
- }
- else if (op instanceof S_Move_1.S_Move) {
- this._sb.appendLine(``);
- }
- else if (op instanceof Not_1.Not) {
- this._sb.appendLine(``);
- this._sb.appendLine('');
- this._sb.appendLine('');
- }
- else if (op instanceof BaseCoil_1.BaseCoil) {
- const coil = op;
- if (coil.negated) {
- this._sb.appendLine(``);
- this._sb.appendLine('\t');
- this._sb.appendLine('');
- }
- else {
- this._sb.appendLine(``);
- }
- }
- else if (op instanceof And_1.And || op instanceof Or_1.Or) {
- // nothing
- }
- else if (op instanceof SystemFunctionBlockCall_1.SystemFunctionBlockCall) {
- const fc = op;
- this._sb.appendLine(``);
- if (fc.additionalInnerXml !== null)
- this._sb.appendLine(fc.additionalInnerXml);
- const fb = op;
- if (fb.instanceName.startsWith('"')) {
- this._sb.appendLine(``);
- this._currentId++;
- this._sb.appendLine(``);
- this._sb.appendLine('');
- }
- else {
- this._sb.appendLine(``);
- this._currentId++;
- for (const part of fb.instanceName.split('.')) {
- const idx = part.indexOf('[') + 1;
- if (idx > 0) {
- this._sb.appendLine(``);
- const arrays = part.substring(idx, part.length - idx - 1);
- if (arrays.includes('"')) {
- this._sb.appendLine('');
- this._sb.appendLine(``);
- this._sb.appendLine('');
- this._sb.appendLine('');
- }
- else {
- for (const arr of arrays.split(',')) {
- this._sb.appendLine(``);
- this._currentId++;
- this._sb.appendLine('');
- this._sb.appendLine('DInt');
- this._sb.appendLine(`${arr}`);
- this._sb.appendLine('');
- this._sb.appendLine('');
- }
- }
- }
- else {
- this._sb.appendLine(``);
- }
- this._sb.appendLine('');
- }
- this._sb.appendLine('');
- }
- if (fc.templateValueName !== null) {
- this._sb.appendLine(`${fc.templateValue}`);
- if (fc.safetyTemplateString !== null && (0, OperationOrSignalExtensions_1.tryGetParent)(fc, CodeBlock_1.CodeBlock)?.safety === true) {
- this._sb.appendLine(fc.safetyTemplateString);
- }
- }
- if (this._block.safety && fc.additionalSafetyTemplateValues !== null) {
- this._sb.appendLine(fc.additionalSafetyTemplateValues);
- }
- this._sb.appendLine('');
- }
- else if (op instanceof SystemFunctionCall_1.SystemFunctionCall) {
- const fc = op;
- if (fc.functionName === 'Serialize' || fc.functionName === 'Deserialize') {
- this._sb.appendLine(``);
- }
- else {
- this._sb.appendLine(``);
- }
- if (fc.additionalInnerXml !== null)
- this._sb.appendLine(fc.additionalInnerXml);
- if (fc instanceof ArithmeticCall_1.ArithmeticCall) {
- if (fc instanceof VariableArithmeticCall_1.VariableArithmeticCall) {
- this._sb.appendLine(`${fc.children.length - 1}`);
- }
- this._sb.appendLine(`${fc.type}`);
- }
- else if (fc instanceof InRangeCall_1.InRangeCall || fc instanceof OutRangeCall_1.OutRangeCall) {
- let srctype = op.children[0].signalType.toString();
- if (srctype.startsWith('Constant'))
- srctype = srctype.substring(8);
- this._sb.appendLine(`${srctype}`);
- }
- else if (fc.functionName === 'DPRD_DAT' || fc.functionName === 'DPWR_DAT') {
- this._sb.appendLine('Variant');
- this._sb.appendLine('HW_IO');
- }
- this._sb.appendLine('');
- }
- else if (op instanceof FunctionCall_1.FunctionCall) {
- const fc = op;
- if (op instanceof AckGlCall_1.AckGlCall) {
- this._sb.appendLine(``);
- }
- else if (op instanceof FunctionBlockCall_1.FunctionBlockCall) {
- this._sb.appendLine(``);
- this._sb.appendLine(``);
- }
- else {
- this._sb.appendLine(``);
- this._sb.appendLine(``);
- }
- if (op instanceof FunctionBlockCall_1.FunctionBlockCall) {
- const fb = op;
- if (fb.instanceName.startsWith('"')) {
- this._sb.appendLine(``);
- }
- else {
- this._sb.appendLine(``);
- }
- this._currentId++;
- for (const part of fb.instanceName.split('.')) {
- let instanceNamePart;
- if (part.startsWith('"')) {
- instanceNamePart = part.replace(/"/g, '');
- }
- else {
- instanceNamePart = part;
- }
- const idx = instanceNamePart.indexOf('[') + 1;
- if (idx > 0) {
- this._sb.appendLine(``);
- const arrays = instanceNamePart.substring(idx, instanceNamePart.length - idx - 1);
- if (arrays.includes('"')) {
- this._sb.appendLine('');
- this._sb.appendLine(``);
- this._sb.appendLine('');
- this._sb.appendLine('');
- }
- else {
- for (const arr of arrays.split(',')) {
- this._sb.appendLine(``);
- this._currentId++;
- this._sb.appendLine('');
- this._sb.appendLine('DInt');
- this._sb.appendLine(`${arr}`);
- this._sb.appendLine('');
- this._sb.appendLine('');
- }
- }
- }
- else {
- this._sb.appendLine(``);
- }
- this._sb.appendLine('');
- }
- this._sb.appendLine('');
- }
- if (op instanceof AckGlCall_1.AckGlCall) {
- this._sb.appendLine('1');
- this._sb.appendLine('0');
- this._sb.appendLine('DInt');
- this._sb.appendLine('');
- }
- else {
- for (const [key, intf] of Object.entries(fc.iface)) {
- if (intf.direction !== 'Eno') {
- let type = 'Bool';
- if (intf.operationOrSignal instanceof Signal_1.Signal) {
- const sig = intf.operationOrSignal;
- if (sig.signalType === 'Custom') {
- type = sig.customType ?? 'Bool';
- }
- else {
- type = sig.signalType.toString();
- }
- }
- if (type !== 'Constant' && type.startsWith('Constant')) {
- type = type.substring(8);
- }
- type = intf.type !== null ? intf.type.toString() : type;
- if (intf.length > 0) {
- this._sb.appendLine(``);
- }
- else {
- this._sb.appendLine(``);
- }
- }
- }
- this._sb.appendLine('');
- this._sb.appendLine('');
- }
- }
- }
- }
- addWires(op) {
- if (op.children !== null) {
- for (const lop of op.children) {
- this.addWires(lop);
- }
- }
- if (op instanceof FunctionCall_1.FunctionCall) {
- const fc = op;
- for (const [key, intf] of Object.entries(fc.iface)) {
- const sng = intf.operationOrSignal;
- if (fc instanceof ArithmeticCall_1.ArithmeticCall && sng === null) {
- // skip
- }
- else if (sng === null) {
- this._sb.appendLine(``);
- this._currentId++;
- this._sb.appendLine(``);
- this._sb.appendLine(``);
- this._currentId++;
- this._sb.appendLine('');
- }
- else if (intf.direction === 'Input' || intf.direction === 'InOut') {
- this._sb.appendLine(``);
- if (sng instanceof Signal_1.Signal) {
- this._sb.appendLine(` `);
- }
- else {
- if (sng instanceof Or_1.Or) {
- this._sb.appendLine(``);
- }
- else {
- this._sb.appendLine(``);
- }
- }
- this._sb.appendLine(``);
- this._sb.appendLine('');
- this._currentId++;
- }
- else if (intf.direction === 'Eno') {
- this._sb.appendLine(``);
- this._sb.appendLine(``);
- this._sb.appendLine(``);
- this._sb.appendLine('');
- this._currentId++;
- }
- else {
- this._sb.appendLine(``);
- this._sb.appendLine(``);
- if (sng instanceof Distributor_1.Distributor) {
- this._sb.appendLine('');
- for (const c of sng.children) {
- if (c instanceof Signal_1.Signal) {
- this._sb.appendLine(` `);
- }
- else if (c instanceof And_1.And && c.children.length > 0 && c.children[0] instanceof Or_1.Or) {
- for (const chIn of c.children[0].children) {
- for (const ch of this.getAllOrSignals(chIn)) {
- const inName = ch instanceof FunctionCall_1.FunctionCall
- ? ((ch instanceof InRangeCall_1.InRangeCall || ch instanceof OutRangeCall_1.OutRangeCall) ? 'pre' : 'en')
- : 'in';
- this._sb.appendLine(``);
- }
- }
- }
- else {
- const inName = c instanceof FunctionCall_1.FunctionCall
- ? ((c instanceof InRangeCall_1.InRangeCall || c instanceof OutRangeCall_1.OutRangeCall) ? 'pre' : 'en')
- : 'in';
- this._sb.appendLine(``);
- }
- }
- }
- else {
- if (sng instanceof Signal_1.Signal) {
- this._sb.appendLine(` `);
- }
- else {
- const inName = sng instanceof FunctionCall_1.FunctionCall
- ? ((sng instanceof InRangeCall_1.InRangeCall || sng instanceof OutRangeCall_1.OutRangeCall) ? 'pre' : 'en')
- : 'in';
- this._sb.appendLine(``);
- }
- }
- this._sb.appendLine('');
- this._currentId++;
- }
- }
- }
- else if (op instanceof Signal_1.Signal &&
- !(op.parent instanceof FunctionCall_1.FunctionCall) &&
- !(op.parent instanceof CompareOperator_1.CompareOperator) &&
- !(op.parent instanceof Move_1.Move) &&
- !(op.parent instanceof Convert_1.Convert) &&
- !(op.parent instanceof S_Move_1.S_Move)) {
- this._sb.appendLine(``);
- this._sb.appendLine(` `);
- let tname = 'operand';
- if (op.parent instanceof BaseNPCoil_1.BaseNPCoil)
- tname = 'bit';
- this._sb.appendLine(` `);
- this._sb.appendLine('');
- this._currentId++;
- }
- else if (op instanceof Or_1.Or && op.children.length > 1) {
- let orInputCounter = 1;
- const importChildOrs = (childOr) => {
- for (const ch of childOr.children) {
- if (ch.children.length > 0 && ch.children[ch.children.length - 1] instanceof Or_1.Or) {
- importChildOrs(ch.children[ch.children.length - 1]);
- }
- else {
- this._sb.appendLine(`${op.debugInfo !== null ? ` ` : ''}`);
- this._sb.appendLine(` `);
- this._sb.appendLine(` `);
- this._sb.appendLine('');
- orInputCounter++;
- this._currentId++;
- }
- }
- };
- if (!op.doNotCreateContact) {
- importChildOrs(op);
- }
- }
- else if (op instanceof CompareOperator_1.CompareOperator) {
- let i = 1;
- for (const ch of op.children) {
- this._sb.appendLine(``);
- this._sb.appendLine(` `);
- this._sb.appendLine(` `);
- this._sb.appendLine('');
- i++;
- this._currentId++;
- }
- }
- else if (op instanceof Move_1.Move || op instanceof S_Move_1.S_Move || op instanceof Convert_1.Convert) {
- this._sb.appendLine(``);
- this._sb.appendLine(` `);
- this._sb.appendLine(` `);
- this._sb.appendLine('');
- this._currentId++;
- if (op instanceof S_Move_1.S_Move) {
- this._sb.appendLine(``);
- this._sb.appendLine(` `);
- this._sb.appendLine(` `);
- this._sb.appendLine('');
- this._currentId++;
- }
- else if (op instanceof Convert_1.Convert) {
- this._sb.appendLine(``);
- this._sb.appendLine(` `);
- this._sb.appendLine(` `);
- this._sb.appendLine('');
- this._currentId++;
- }
- else {
- for (let n = 0; n < op.children.length - 1; n++) {
- this._sb.appendLine(``);
- this._sb.appendLine(` `);
- this._sb.appendLine(` `);
- this._sb.appendLine('');
- this._currentId++;
- }
- }
- }
- else if (op instanceof And_1.And) {
- for (let n = 0; n < op.children.length - 1; n++) {
- const ch = op.children[n];
- const next = op.children[n + 1];
- if (next instanceof Or_1.Or) {
- this._sb.appendLine(`${op.debugInfo !== null ? ` ` : ''}`);
- this._sb.appendLine(`${ch instanceof Signal_1.Signal ? ' ' : ''}`);
- for (const orSignal of next.children) {
- for (const os of this.getAllOrSignals(orSignal)) {
- const opId = os.operationId;
- let ipName = 'in';
- if (os instanceof BaseOperationOrSignal_1.BaseOperationOrSignal &&
- (os.getFirstChildNotAnd() instanceof CompareOperator_1.CompareOperator ||
- os.getFirstChildNotAnd() instanceof InRangeCall_1.InRangeCall ||
- os.getFirstChildNotAnd() instanceof OutRangeCall_1.OutRangeCall)) {
- ipName = 'pre';
- }
- this._sb.appendLine(`${os instanceof Signal_1.Signal ? ' ' : ''}`);
- }
- }
- this._sb.appendLine('');
- this._currentId++;
- }
- else {
- this._sb.appendLine(`${op.debugInfo !== null ? ` ` : ''}`);
- let outName = 'out';
- if (ch instanceof FunctionCall_1.FunctionCall || ch instanceof S_Move_1.S_Move || ch instanceof Move_1.Move || ch instanceof Convert_1.Convert)
- outName = 'eno';
- const srcName = ch instanceof Signal_1.Signal ? ch.name : ch.constructor.name;
- const dstName = next instanceof Signal_1.Signal ? next.name : next.constructor.name;
- this._sb.appendLine(` `);
- if (next instanceof CompareOperator_1.CompareOperator || next instanceof InRangeCall_1.InRangeCall || next instanceof OutRangeCall_1.OutRangeCall) {
- this._sb.appendLine(` `);
- }
- else if (next instanceof CTUCall_1.CTUCall || next instanceof CTUDCall_1.CTUDCall) {
- this._sb.appendLine(` `);
- }
- else if (next instanceof FunctionCall_1.FunctionCall) {
- const noEnName = next.hasNoEn ? 'in' : 'en';
- this._sb.appendLine(` `);
- }
- else if (this.isIFunctionOperation(next)) {
- this._sb.appendLine(` `);
- }
- else if (next instanceof Distributor_1.Distributor) {
- this._sb.appendLine('');
- for (const c of next.children) {
- let akC = c;
- if (c instanceof BaseCoil_1.BaseCoil && c.children.length > 0) {
- akC = c.children[c.children.length - 1];
- }
- else if (c instanceof And_1.And && c.children.length > 0) {
- akC = c.children[0];
- }
- let l = [akC];
- if (akC instanceof Or_1.Or)
- l = akC.children;
- for (const sIn of l) {
- for (const s of this.getAllOrSignals(sIn)) {
- if (s instanceof CompareOperator_1.CompareOperator || s instanceof InRangeCall_1.InRangeCall || s instanceof OutRangeCall_1.OutRangeCall) {
- this._sb.appendLine(` `);
- }
- else if (s instanceof FunctionCall_1.FunctionCall) {
- const noEnName2 = s.hasNoEn ? 'in' : 'en';
- this._sb.appendLine(` `);
- }
- else if (this.isIFunctionOperation(s)) {
- this._sb.appendLine(` `);
- }
- else {
- this._sb.appendLine(` `);
- }
- }
- }
- }
- }
- else {
- this._sb.appendLine(` `);
- }
- this._sb.appendLine('');
- this._currentId++;
- }
- }
- }
- else if (op instanceof BaseCoil_1.BaseCoil) {
- if (op.children.length > 1) {
- let ch;
- if (op.children[1] instanceof Signal_1.Signal) {
- ch = op.children[1];
- }
- else {
- ch = op.children[1].children[op.children[1].children.length - 1];
- }
- if (op.children[1] instanceof Or_1.Or ||
- op.children[1] instanceof CompareOperator_1.CompareOperator ||
- op.children[1] instanceof Move_1.Move ||
- op.children[1] instanceof Convert_1.Convert ||
- op.children[1] instanceof S_Move_1.S_Move ||
- op.children[1] instanceof BaseCoil_1.BaseCoil) {
- ch = op.children[op.children.length - 1];
- }
- const sig = op.children[0];
- let outName = 'out';
- if (ch instanceof FunctionCall_1.FunctionCall || ch instanceof Move_1.Move || ch instanceof S_Move_1.S_Move || ch instanceof Convert_1.Convert)
- outName = 'eno';
- this._sb.appendLine(``);
- this._sb.appendLine(` `);
- this._sb.appendLine(` `);
- this._sb.appendLine('');
- this._currentId++;
- }
- }
- }
- addPowerrails(network) {
- const ops = KopCodeHelper.flattenOrdered(network.children, x => x.children);
- this._sb.appendLine(``);
- this._sb.appendLine('');
- for (const s of ops) {
- let noPowerRail = false;
- let p = s;
- if (s instanceof FunctionCall_1.FunctionCall) {
- while (p.parent !== null) {
- const pp = p.parent;
- if (pp instanceof And_1.And ||
- pp instanceof CompareOperator_1.CompareOperator ||
- pp instanceof Convert_1.Convert ||
- pp instanceof Move_1.Move ||
- pp instanceof S_Move_1.S_Move) {
- if (pp.children.indexOf(p) > 0)
- noPowerRail = true;
- }
- p = p.parent;
- if (noPowerRail)
- break;
- }
- if (!noPowerRail) {
- if (s instanceof InRangeCall_1.InRangeCall || s instanceof OutRangeCall_1.OutRangeCall) {
- this._sb.appendLine(` `);
- }
- else {
- this._sb.appendLine(` `);
- }
- }
- noPowerRail = true;
- }
- else if (s.parent instanceof FunctionCall_1.FunctionCall) {
- noPowerRail = true;
- }
- else if (s.parent instanceof BaseCoil_1.BaseCoil && s.parent.children.indexOf(p) === 0) {
- noPowerRail = true;
- }
- else if ((s instanceof Coil_1.Coil || s instanceof SCoil_1.SCoil || s instanceof RCoil_1.RCoil) &&
- s.children.length === 1 &&
- s.children[0] instanceof Signal_1.Signal &&
- (s.parent === null || s.parent instanceof Network_1.Network)) {
- this._sb.appendLine(` `);
- }
- else if (s instanceof Signal_1.Signal) {
- if (p.parent instanceof FunctionCall_1.FunctionCall) {
- noPowerRail = true;
- }
- else {
- while (p.parent !== null) {
- const pp = p.parent;
- if (pp instanceof And_1.And ||
- pp instanceof CompareOperator_1.CompareOperator ||
- pp instanceof Convert_1.Convert ||
- pp instanceof Move_1.Move ||
- pp instanceof S_Move_1.S_Move) {
- if (pp.children.indexOf(p) > 0)
- noPowerRail = true;
- }
- else if (pp instanceof FunctionCall_1.FunctionCall) {
- break;
- }
- p = p.parent;
- if (noPowerRail)
- break;
- }
- }
- }
- if (!noPowerRail && s instanceof Signal_1.Signal) {
- const sng = s;
- const par = s.parent;
- if (par instanceof CompareOperator_1.CompareOperator) {
- this._sb.appendLine(` `);
- }
- else if (par instanceof Move_1.Move || par instanceof S_Move_1.S_Move || par instanceof Convert_1.Convert) {
- this._sb.appendLine(` `);
- }
- else {
- this._sb.appendLine(` `);
- }
- }
- }
- this._sb.appendLine('');
- this._currentId++;
- }
- fixChildAndsAndSingleOr(s) {
- let fixAgain = false;
- const newChildren = [];
- if (s !== null && s.children !== null) {
- if (s instanceof BaseCoil_1.BaseCoil && s.children.length === 2 && s.children[1] instanceof Signal_1.Signal) {
- s.children[1] = new And_1.And(s.children[1]);
- }
- else {
- for (const op of s.children.slice()) {
- if ((s instanceof And_1.And || s instanceof Or_1.Or) && op instanceof Or_1.Or && op.children.length === 1) {
- for (const p of op.children) {
- newChildren.push(p);
- fixAgain = true;
- }
- }
- else if (s instanceof And_1.And && op instanceof And_1.And) {
- for (const p of op.children) {
- newChildren.push(p);
- s.children.push(p);
- fixAgain = true;
- }
- }
- else {
- newChildren.push(op);
- this.fixChildAndsAndSingleOr(op);
- }
- }
- s.children = newChildren;
- if (fixAgain)
- this.fixChildAndsAndSingleOr(s);
- }
- }
- }
- escapeForXml(text) {
- return text.replace(//g, '>');
- }
- printTreeParent(signal) {
- if (signal !== null) {
- let t = '';
- if (signal instanceof Signal_1.Signal)
- t = ` (${signal.name})`;
- if (signal instanceof Coil_1.Coil)
- t = ` (${signal.signal.name})`;
- if (signal instanceof Network_1.Network)
- t = ` (${signal.networkTitle ?? ''})`;
- if (signal instanceof CodeBlock_1.CodeBlock)
- t = ` (${signal.name ?? ''})`;
- const p = this.printTreeParent(signal.parent);
- return (p !== '' ? p + ' -> ' : '') + signal.constructor.name + t;
- }
- return '';
- }
- setParent(s) {
- for (const op of s.children) {
- if (op.parent !== null) {
- throw new Error('\n\nIOperationOrSignal reused wich is not valid!\n' +
- this.printTreeParent(op.parent) + '\n\n' +
- this.printTreeParent(s) + '\n\n');
- }
- op.parent = s;
- this.setParent(op);
- }
- }
- getXml(idRef) {
- this.fixChildAndsAndSingleOr(this._block);
- this.setParent(this._block);
- const allChildren = (0, IEnumerableExtensions_1.flatten)(this._block.children, x => x.children);
- const networks = allChildren.filter((x) => x instanceof Network_1.Network);
- for (const network of networks) {
- this.checkAndAndOr(this._block, network);
- try {
- this._sb.appendLine(` `);
- idRef.value++;
- this._sb.appendLine('');
- if (network.children.length > 0) {
- this._sb.appendLine('');
- this._sb.appendLine('');
- this.addSignalDefinitions(network);
- this.addContactDefinitions(network, this._block);
- this._sb.appendLine('');
- this._sb.appendLine('');
- this.addPowerrails(network);
- this.addWires(network);
- this._sb.appendLine('');
- this._sb.appendLine('');
- }
- this._sb.appendLine(`${this._block.safety ? 'F_LAD' : 'LAD'}`);
- this._sb.appendLine('');
- this._sb.appendLine('');
- this._sb.appendLine(``);
- idRef.value++;
- this._sb.appendLine('');
- this._sb.appendLine(``);
- idRef.value++;
- this._sb.appendLine('');
- this._sb.appendLine('de-DE');
- this._sb.appendLine(`${network.description ?? ''}`);
- this._sb.appendLine('');
- this._sb.appendLine('');
- this._sb.appendLine(``);
- idRef.value++;
- this._sb.appendLine('');
- this._sb.appendLine('en-GB');
- this._sb.appendLine(`${network.descriptionEnglish ?? ''}`);
- this._sb.appendLine('');
- this._sb.appendLine('');
- this._sb.appendLine('');
- this._sb.appendLine('');
- this._sb.appendLine(``);
- idRef.value++;
- this._sb.appendLine('');
- this._sb.appendLine(``);
- idRef.value++;
- this._sb.appendLine('');
- this._sb.appendLine('de-DE');
- this._sb.appendLine(`${this.escapeForXml(network.networkTitle ?? '')}`);
- this._sb.appendLine('');
- this._sb.appendLine('');
- this._sb.appendLine(``);
- idRef.value++;
- this._sb.appendLine('');
- this._sb.appendLine('en-GB');
- this._sb.appendLine(`${this.escapeForXml(network.networkTitleEnglish ?? '')}`);
- this._sb.appendLine('');
- this._sb.appendLine('');
- this._sb.appendLine('');
- this._sb.appendLine('');
- this._sb.appendLine('');
- this._sb.appendLine('');
- }
- catch (ex) {
- throw new Error(`Error generating Network: ${network.networkTitle} in Block: ${this._block.name}\n${ex.message}`);
- }
- }
- return this._sb.toString();
- }
- getAllOrSignals(sng) {
- const result = [];
- if (sng instanceof And_1.And) {
- if (sng.children.length > 0 && sng.children[0] instanceof Or_1.Or) {
- const or = sng.children[0];
- for (const o of or.children) {
- result.push(...this.getAllOrSignals(o));
- }
- }
- else {
- result.push(sng.children[0]);
- }
- }
- else {
- result.push(sng);
- }
- return result;
- }
- isIPartName(op) {
- return 'partName' in op && typeof op.partName === 'string';
- }
- isIFunctionOperation(op) {
- // Check if op implements IFunctionOperation (Move, Convert, S_Move)
- return op instanceof Move_1.Move || op instanceof Convert_1.Convert || op instanceof S_Move_1.S_Move;
- }
-}
-exports.KopCodeHelper = KopCodeHelper;
-KopCodeHelper.debug = null;
-//# sourceMappingURL=KopCodeHelper.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.js.map b/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.js.map
deleted file mode 100644
index 7fd3879..0000000
--- a/TiaCodegen-ts/dist/CodeGen/KopCodeHelper.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"KopCodeHelper.js","sourceRoot":"","sources":["../../src/CodeGen/KopCodeHelper.ts"],"names":[],"mappings":";;;AAIA,0DAAuD;AACvD,6EAA4D;AAC5D,mEAAgE;AAChE,mDAAgD;AAChD,+CAA4C;AAC5C,yCAAsC;AACtC,uCAAoC;AACpC,yCAAsC;AACtC,yDAAsD;AACtD,2CAAwC;AACxC,iDAA8C;AAC9C,+CAA4C;AAC5C,uDAAoD;AACpD,yDAAsD;AACtD,6DAA0D;AAC1D,iDAA8C;AAC9C,mDAAgD;AAChD,mDAAgD;AAChD,6EAA0E;AAC1E,6EAA0E;AAC1E,qEAAkE;AAClE,uEAAoE;AACpE,0EAAuE;AACvE,oFAAiF;AACjF,sFAAmF;AACnF,gGAA6F;AAC7F,oFAAiF;AACjF,oGAAiG;AACjG,+DAA4D;AAC5D,2DAAwD;AACxD,6DAA0D;AAC1D,2FAAyE;AAEzE,MAAa,aAAa;IACtB,MAAM,CAAC,cAAc,CAAI,CAAM,EAAE,CAAgB;QAC7C,MAAM,MAAM,GAAQ,EAAE,CAAC;QACvB,KAAK,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC;YACjB,KAAK,MAAM,GAAG,IAAI,aAAa,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC;gBACvD,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACrB,CAAC;YACD,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACpB,CAAC;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;IAMD,YAAY,KAAgB;Q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ACJ,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACrB,CAAC;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;IAEO,WAAW,CAAC,EAAsB;QACtC,OAAO,UAAU,IAAI,EAAE,IAAI,OAAQ,EAAU,CAAC,QAAQ,KAAK,QAAQ,CAAC;IACxE,CAAC;IAEO,oBAAoB,CAAC,EAAsB;QAC/C,oEAAoE;QACpE,OAAO,EAAE,YAAY,WAAI,IAAI,EAAE,YAAY,iBAAO,IAAI,EAAE,YAAY,eAAM,CAAC;IAC/E,CAAC;;AAj1BL,sCAk1BC;AAhgB2B,mBAAK,GAAkB,IAAI,AAAtB,CAAuB"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/And.d.ts b/TiaCodegen-ts/dist/Commands/And.d.ts
deleted file mode 100644
index 83de201..0000000
--- a/TiaCodegen-ts/dist/Commands/And.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
-import { BaseOperationOrSignal } from './BaseOperationOrSignal';
-export declare class And extends BaseOperationOrSignal {
- constructor(...operationOrSignals: IOperationOrSignal[]);
-}
-//# sourceMappingURL=And.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/And.d.ts.map b/TiaCodegen-ts/dist/Commands/And.d.ts.map
deleted file mode 100644
index 8261db4..0000000
--- a/TiaCodegen-ts/dist/Commands/And.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"And.d.ts","sourceRoot":"","sources":["../../src/Commands/And.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,qBAAa,GAAI,SAAQ,qBAAqB;gBAC9B,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;CAG1D"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/And.js b/TiaCodegen-ts/dist/Commands/And.js
deleted file mode 100644
index e9d9d83..0000000
--- a/TiaCodegen-ts/dist/Commands/And.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.And = void 0;
-const BaseOperationOrSignal_1 = require("./BaseOperationOrSignal");
-class And extends BaseOperationOrSignal_1.BaseOperationOrSignal {
- constructor(...operationOrSignals) {
- super(...operationOrSignals);
- }
-}
-exports.And = And;
-//# sourceMappingURL=And.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/And.js.map b/TiaCodegen-ts/dist/Commands/And.js.map
deleted file mode 100644
index 18d5e10..0000000
--- a/TiaCodegen-ts/dist/Commands/And.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"And.js","sourceRoot":"","sources":["../../src/Commands/And.ts"],"names":[],"mappings":";;;AACA,mEAAgE;AAEhE,MAAa,GAAI,SAAQ,6CAAqB;IAC1C,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;CACJ;AAJD,kBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.d.ts b/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.d.ts
deleted file mode 100644
index 639667b..0000000
--- a/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.d.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
-export declare abstract class BaseOperationOrSignal implements IOperationOrSignal {
- debugInfo: string | null;
- private _operationId;
- children: IOperationOrSignal[];
- parent: IOperationOrSignal | null;
- doNotCreateContact: boolean;
- private _cardinality;
- get cardinality(): number;
- set cardinality(value: number);
- constructor(...operationOrSignals: IOperationOrSignal[]);
- get operationId(): number;
- set operationId(value: number);
- createContactAndFillCardinality(parent: IOperationOrSignal): number;
- add(...operationOrSignals: IOperationOrSignal[]): void;
- toString(): string;
- getFirstChildNotAnd(): IOperationOrSignal;
- clone(): IOperationOrSignal;
-}
-//# sourceMappingURL=BaseOperationOrSignal.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.d.ts.map b/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.d.ts.map
deleted file mode 100644
index 59b1b8f..0000000
--- a/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"BaseOperationOrSignal.d.ts","sourceRoot":"","sources":["../../src/Commands/BaseOperationOrSignal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,8BAAsB,qBAAsB,YAAW,kBAAkB;IACrE,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAChC,OAAO,CAAC,YAAY,CAAa;IACjC,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAC/B,MAAM,EAAE,kBAAkB,GAAG,IAAI,CAAQ;IACzC,kBAAkB,EAAE,OAAO,CAAS;IACpC,OAAO,CAAC,YAAY,CAAa;IAEjC,IAAI,WAAW,IAAI,MAAM,CAA8B;IACvD,IAAI,WAAW,CAAC,KAAK,EAAE,MAAM,EAAgC;gBAEjD,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;IAOvD,IAAI,WAAW,IAAI,MAAM,CAA8B;IACvD,IAAI,WAAW,CAAC,KAAK,EAAE,MAAM,EAAgC;IAE7D,+BAA+B,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM;IASnE,GAAG,CAAC,GAAG,kBAAkB,EAAE,kBAAkB,EAAE,GAAG,IAAI;IAItD,QAAQ,IAAI,MAAM;IAOlB,mBAAmB,IAAI,kBAAkB;IAUzC,KAAK,IAAI,kBAAkB;CAW9B"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.js b/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.js
deleted file mode 100644
index a0893ef..0000000
--- a/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.js
+++ /dev/null
@@ -1,62 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.BaseOperationOrSignal = void 0;
-class BaseOperationOrSignal {
- get cardinality() { return this._cardinality; }
- set cardinality(value) { this._cardinality = value; }
- constructor(...operationOrSignals) {
- this.debugInfo = null;
- this._operationId = 0;
- this.parent = null;
- this.doNotCreateContact = false;
- this._cardinality = 0;
- this.children = [];
- if (operationOrSignals) {
- this.children.push(...operationOrSignals);
- }
- }
- get operationId() { return this._operationId; }
- set operationId(value) { this._operationId = value; }
- createContactAndFillCardinality(parent) {
- this.cardinality = 1;
- if (this.children.length > 0 && this.children[this.children.length - 1] instanceof Or_1.Or) {
- this.cardinality = this.children[this.children.length - 1].createContactAndFillCardinality(parent);
- this.children[this.children.length - 1].doNotCreateContact = true;
- }
- return this.cardinality;
- }
- add(...operationOrSignals) {
- this.children.push(...operationOrSignals);
- }
- toString() {
- if (this instanceof And_1.And || this instanceof Or_1.Or) {
- return `${this.constructor.name} (${this.children.map(x => x.toString()).join(',')})`;
- }
- return this.constructor.name;
- }
- getFirstChildNotAnd() {
- if (this instanceof And_1.And) {
- const ch1 = this.children[0];
- if (ch1 instanceof BaseOperationOrSignal) {
- return ch1.getFirstChildNotAnd();
- }
- }
- return this;
- }
- clone() {
- // Subclasses that need cloning should override this.
- // Generic approach: create a new instance of the same class.
- const inst = new this.constructor();
- inst.debugInfo = this.debugInfo;
- inst.doNotCreateContact = this.doNotCreateContact;
- for (const c of this.children) {
- inst.children.push(c.clone());
- }
- return inst;
- }
-}
-exports.BaseOperationOrSignal = BaseOperationOrSignal;
-// Forward declarations to avoid circular imports - these are resolved at runtime
-const And_1 = require("./And");
-const Or_1 = require("./Or");
-//# sourceMappingURL=BaseOperationOrSignal.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.js.map b/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.js.map
deleted file mode 100644
index bcb4738..0000000
--- a/TiaCodegen-ts/dist/Commands/BaseOperationOrSignal.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"BaseOperationOrSignal.js","sourceRoot":"","sources":["../../src/Commands/BaseOperationOrSignal.ts"],"names":[],"mappings":";;;AAEA,MAAsB,qBAAqB;IAQvC,IAAI,WAAW,KAAa,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IACvD,IAAI,WAAW,CAAC,KAAa,IAAI,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,CAAC,CAAC;IAE7D,YAAY,GAAG,kBAAwC;QAVvD,cAAS,GAAkB,IAAI,CAAC;QACxB,iBAAY,GAAW,CAAC,CAAC;QAEjC,WAAM,GAA8B,IAAI,CAAC;QACzC,uBAAkB,GAAY,KAAK,CAAC;QAC5B,iBAAY,GAAW,CAAC,CAAC;QAM7B,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QACnB,IAAI,kBAAkB,EAAE,CAAC;YACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,kBAAkB,CAAC,CAAC;QAC9C,CAAC;IACL,CAAC;IAED,IAAI,WAAW,KAAa,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IACvD,IAAI,WAAW,CAAC,KAAa,IAAI,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,CAAC,CAAC;IAE7D,+BAA+B,CAAC,MAA0B;QACtD,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;QACrB,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,YAAY,OAAE,EAAE,CAAC;YACpF,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAA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Q,EAAE,CAAC;YAC5B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC;QAClC,CAAC;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AA9DD,sDA8DC;AAED,iFAAiF;AACjF,+BAA4B;AAC5B,6BAA0B"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.d.ts b/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.d.ts
deleted file mode 100644
index 9fe67bd..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.d.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { ICoil } from '../../Interfaces/ICoil';
-import { Signal } from '../Signals/Signal';
-export declare class BaseCoil implements IOperationOrSignal, ICoil {
- debugInfo: string | null;
- negated: boolean;
- signal: Signal;
- children: IOperationOrSignal[];
- operationId: number;
- parent: IOperationOrSignal | null;
- doNotCreateContact: boolean;
- cardinality: number;
- constructor(signal: Signal, op?: IOperationOrSignal | null);
- createContactAndFillCardinality(_parent: IOperationOrSignal): number;
- toString(): string;
- clone(): IOperationOrSignal;
-}
-//# sourceMappingURL=BaseCoil.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.d.ts.map b/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.d.ts.map
deleted file mode 100644
index bacae2f..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"BaseCoil.d.ts","sourceRoot":"","sources":["../../../src/Commands/Coils/BaseCoil.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,qBAAa,QAAS,YAAW,kBAAkB,EAAE,KAAK;IACtD,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAChC,OAAO,EAAE,OAAO,CAAS;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAC/B,WAAW,EAAE,MAAM,CAAK;IACxB,MAAM,EAAE,kBAAkB,GAAG,IAAI,CAAQ;IACzC,kBAAkB,EAAE,OAAO,CAAS;IACpC,WAAW,EAAE,MAAM,CAAK;gBAEZ,MAAM,EAAE,MAAM,EAAE,EAAE,GAAE,kBAAkB,GAAG,IAAW;IAShE,+BAA+B,CAAC,OAAO,EAAE,kBAAkB,GAAG,MAAM;IAKpE,QAAQ,IAAI,MAAM;IAIlB,KAAK,IAAI,kBAAkB;CAS9B"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.js b/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.js
deleted file mode 100644
index 092903d..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.js
+++ /dev/null
@@ -1,37 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.BaseCoil = void 0;
-class BaseCoil {
- constructor(signal, op = null) {
- this.debugInfo = null;
- this.negated = false;
- this.operationId = 0;
- this.parent = null;
- this.doNotCreateContact = false;
- this.cardinality = 0;
- this.signal = signal;
- this.children = [];
- this.children.push(signal);
- if (op !== null) {
- this.children.push(op);
- }
- }
- createContactAndFillCardinality(_parent) {
- this.cardinality = 1;
- return 1;
- }
- toString() {
- return this.constructor.name;
- }
- clone() {
- const inst = new this.constructor(this.signal.clone());
- inst.debugInfo = this.debugInfo;
- inst.negated = this.negated;
- for (const c of this.children.slice(1)) {
- inst.children.push(c.clone());
- }
- return inst;
- }
-}
-exports.BaseCoil = BaseCoil;
-//# sourceMappingURL=BaseCoil.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.js.map b/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.js.map
deleted file mode 100644
index 329d08c..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/BaseCoil.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"BaseCoil.js","sourceRoot":"","sources":["../../../src/Commands/Coils/BaseCoil.ts"],"names":[],"mappings":";;;AAIA,MAAa,QAAQ;IAUjB,YAAY,MAAc,EAAE,KAAgC,IAAI;QAThE,cAAS,GAAkB,IAAI,CAAC;QAChC,YAAO,GAAY,KAAK,CAAC;QAGzB,gBAAW,GAAW,CAAC,CAAC;QACxB,WAAM,GAA8B,IAAI,CAAC;QACzC,uBAAkB,GAAY,KAAK,CAAC;QACpC,gBAAW,GAAW,CAAC,CAAC;QAGpB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QACnB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC3B,IAAI,EAAE,KAAK,IAAI,EAAE,CAAC;YACd,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAC3B,CAAC;IACL,CAAC;IAED,+BAA+B,CAAC,OAA2B;QACvD,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;QACrB,OAAO,CAAC,CAAC;IACb,CAAC;IAED,QAAQ;QACJ,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACjC,CAAC;IAED,KAAK;QACD,MAAM,IAAI,GAAG,IAAK,IAAI,CAAC,WAA2C,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,EAAY,CAAC,CAAC;QAClG,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAChC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC5B,KAAK,MAAM,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;YACrC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC;QAClC,CAAC;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AArCD,4BAqCC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.d.ts b/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.d.ts
deleted file mode 100644
index 2527e86..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.d.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { Signal } from '../Signals/Signal';
-import { BaseCoil } from './BaseCoil';
-export declare class BaseNPCoil extends BaseCoil {
- helpSignal: Signal | null;
- constructor(signal: Signal, helpSignal: Signal | null, op?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=BaseNPCoil.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.d.ts.map b/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.d.ts.map
deleted file mode 100644
index 32e9b59..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"BaseNPCoil.d.ts","sourceRoot":"","sources":["../../../src/Commands/Coils/BaseNPCoil.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBAAa,UAAW,SAAQ,QAAQ;IACpC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;gBAEd,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,EAAE,EAAE,GAAE,kBAAkB,GAAG,IAAW;CAO9F"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.js b/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.js
deleted file mode 100644
index 771921e..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.js
+++ /dev/null
@@ -1,15 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.BaseNPCoil = void 0;
-const BaseCoil_1 = require("./BaseCoil");
-class BaseNPCoil extends BaseCoil_1.BaseCoil {
- constructor(signal, helpSignal, op = null) {
- super(signal, op);
- this.helpSignal = helpSignal;
- if (helpSignal !== null) {
- this.children.push(helpSignal);
- }
- }
-}
-exports.BaseNPCoil = BaseNPCoil;
-//# sourceMappingURL=BaseNPCoil.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.js.map b/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.js.map
deleted file mode 100644
index 4fee8a3..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/BaseNPCoil.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"BaseNPCoil.js","sourceRoot":"","sources":["../../../src/Commands/Coils/BaseNPCoil.ts"],"names":[],"mappings":";;;AAEA,yCAAsC;AAEtC,MAAa,UAAW,SAAQ,mBAAQ;IAGpC,YAAY,MAAc,EAAE,UAAyB,EAAE,KAAgC,IAAI;QACvF,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAClB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,UAAU,KAAK,IAAI,EAAE,CAAC;YACtB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACnC,CAAC;IACL,CAAC;CACJ;AAVD,gCAUC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/Coil.d.ts b/TiaCodegen-ts/dist/Commands/Coils/Coil.d.ts
deleted file mode 100644
index a188b45..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/Coil.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { Signal } from '../Signals/Signal';
-import { BaseCoil } from './BaseCoil';
-export declare class Coil extends BaseCoil {
- constructor(signal: Signal, op?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=Coil.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/Coil.d.ts.map b/TiaCodegen-ts/dist/Commands/Coils/Coil.d.ts.map
deleted file mode 100644
index f920198..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/Coil.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Coil.d.ts","sourceRoot":"","sources":["../../../src/Commands/Coils/Coil.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBAAa,IAAK,SAAQ,QAAQ;gBAClB,MAAM,EAAE,MAAM,EAAE,EAAE,GAAE,kBAAkB,GAAG,IAAW;CAGnE"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/Coil.js b/TiaCodegen-ts/dist/Commands/Coils/Coil.js
deleted file mode 100644
index ca9314b..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/Coil.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Coil = void 0;
-const BaseCoil_1 = require("./BaseCoil");
-class Coil extends BaseCoil_1.BaseCoil {
- constructor(signal, op = null) {
- super(signal, op);
- }
-}
-exports.Coil = Coil;
-//# sourceMappingURL=Coil.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/Coil.js.map b/TiaCodegen-ts/dist/Commands/Coils/Coil.js.map
deleted file mode 100644
index 6a6c910..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/Coil.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Coil.js","sourceRoot":"","sources":["../../../src/Commands/Coils/Coil.ts"],"names":[],"mappings":";;;AAEA,yCAAsC;AAEtC,MAAa,IAAK,SAAQ,mBAAQ;IAC9B,YAAY,MAAc,EAAE,KAAgC,IAAI;QAC5D,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IACtB,CAAC;CACJ;AAJD,oBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/PCoil.d.ts b/TiaCodegen-ts/dist/Commands/Coils/PCoil.d.ts
deleted file mode 100644
index 0d94b21..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/PCoil.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { Signal } from '../Signals/Signal';
-import { BaseNPCoil } from './BaseNPCoil';
-export declare class PCoil extends BaseNPCoil {
- constructor(signal: Signal, helpSignal: Signal, op?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=PCoil.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/PCoil.d.ts.map b/TiaCodegen-ts/dist/Commands/Coils/PCoil.d.ts.map
deleted file mode 100644
index 085d550..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/PCoil.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"PCoil.d.ts","sourceRoot":"","sources":["../../../src/Commands/Coils/PCoil.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,KAAM,SAAQ,UAAU;gBACrB,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,GAAE,kBAAkB,GAAG,IAAW;CAGvF"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/PCoil.js b/TiaCodegen-ts/dist/Commands/Coils/PCoil.js
deleted file mode 100644
index c94019b..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/PCoil.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.PCoil = void 0;
-const BaseNPCoil_1 = require("./BaseNPCoil");
-class PCoil extends BaseNPCoil_1.BaseNPCoil {
- constructor(signal, helpSignal, op = null) {
- super(signal, helpSignal, op);
- }
-}
-exports.PCoil = PCoil;
-//# sourceMappingURL=PCoil.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/PCoil.js.map b/TiaCodegen-ts/dist/Commands/Coils/PCoil.js.map
deleted file mode 100644
index 2f7d376..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/PCoil.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"PCoil.js","sourceRoot":"","sources":["../../../src/Commands/Coils/PCoil.ts"],"names":[],"mappings":";;;AAEA,6CAA0C;AAE1C,MAAa,KAAM,SAAQ,uBAAU;IACjC,YAAY,MAAc,EAAE,UAAkB,EAAE,KAAgC,IAAI;QAChF,KAAK,CAAC,MAAM,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC;IAClC,CAAC;CACJ;AAJD,sBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/RCoil.d.ts b/TiaCodegen-ts/dist/Commands/Coils/RCoil.d.ts
deleted file mode 100644
index b54411c..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/RCoil.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { Signal } from '../Signals/Signal';
-import { BaseCoil } from './BaseCoil';
-export declare class RCoil extends BaseCoil {
- constructor(signal: Signal, op?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=RCoil.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/RCoil.d.ts.map b/TiaCodegen-ts/dist/Commands/Coils/RCoil.d.ts.map
deleted file mode 100644
index afe56c9..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/RCoil.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"RCoil.d.ts","sourceRoot":"","sources":["../../../src/Commands/Coils/RCoil.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBAAa,KAAM,SAAQ,QAAQ;gBACnB,MAAM,EAAE,MAAM,EAAE,EAAE,GAAE,kBAAkB,GAAG,IAAW;CAGnE"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/RCoil.js b/TiaCodegen-ts/dist/Commands/Coils/RCoil.js
deleted file mode 100644
index 3f1fe73..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/RCoil.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.RCoil = void 0;
-const BaseCoil_1 = require("./BaseCoil");
-class RCoil extends BaseCoil_1.BaseCoil {
- constructor(signal, op = null) {
- super(signal, op);
- }
-}
-exports.RCoil = RCoil;
-//# sourceMappingURL=RCoil.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/RCoil.js.map b/TiaCodegen-ts/dist/Commands/Coils/RCoil.js.map
deleted file mode 100644
index 4878e8b..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/RCoil.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"RCoil.js","sourceRoot":"","sources":["../../../src/Commands/Coils/RCoil.ts"],"names":[],"mappings":";;;AAEA,yCAAsC;AAEtC,MAAa,KAAM,SAAQ,mBAAQ;IAC/B,YAAY,MAAc,EAAE,KAAgC,IAAI;QAC5D,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IACtB,CAAC;CACJ;AAJD,sBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/SCoil.d.ts b/TiaCodegen-ts/dist/Commands/Coils/SCoil.d.ts
deleted file mode 100644
index 3779211..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/SCoil.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { Signal } from '../Signals/Signal';
-import { BaseCoil } from './BaseCoil';
-export declare class SCoil extends BaseCoil {
- constructor(signal: Signal, op?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=SCoil.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/SCoil.d.ts.map b/TiaCodegen-ts/dist/Commands/Coils/SCoil.d.ts.map
deleted file mode 100644
index e67d48b..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/SCoil.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SCoil.d.ts","sourceRoot":"","sources":["../../../src/Commands/Coils/SCoil.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBAAa,KAAM,SAAQ,QAAQ;gBACnB,MAAM,EAAE,MAAM,EAAE,EAAE,GAAE,kBAAkB,GAAG,IAAW;CAGnE"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/SCoil.js b/TiaCodegen-ts/dist/Commands/Coils/SCoil.js
deleted file mode 100644
index 3052f53..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/SCoil.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.SCoil = void 0;
-const BaseCoil_1 = require("./BaseCoil");
-class SCoil extends BaseCoil_1.BaseCoil {
- constructor(signal, op = null) {
- super(signal, op);
- }
-}
-exports.SCoil = SCoil;
-//# sourceMappingURL=SCoil.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Coils/SCoil.js.map b/TiaCodegen-ts/dist/Commands/Coils/SCoil.js.map
deleted file mode 100644
index 0762e69..0000000
--- a/TiaCodegen-ts/dist/Commands/Coils/SCoil.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SCoil.js","sourceRoot":"","sources":["../../../src/Commands/Coils/SCoil.ts"],"names":[],"mappings":";;;AAEA,yCAAsC;AAEtC,MAAa,KAAM,SAAQ,mBAAQ;IAC/B,YAAY,MAAc,EAAE,KAAgC,IAAI;QAC5D,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IACtB,CAAC;CACJ;AAJD,sBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.d.ts b/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.d.ts
deleted file mode 100644
index 1601172..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { BaseOperationOrSignal } from '../BaseOperationOrSignal';
-export declare abstract class CompareOperator extends BaseOperationOrSignal {
- constructor(...operationOrSignals: IOperationOrSignal[]);
-}
-//# sourceMappingURL=CompareOperator.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.d.ts.map b/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.d.ts.map
deleted file mode 100644
index d58ffd1..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"CompareOperator.d.ts","sourceRoot":"","sources":["../../../src/Commands/Comparisons/CompareOperator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAEjE,8BAAsB,eAAgB,SAAQ,qBAAqB;gBACnD,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;CAG1D"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.js b/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.js
deleted file mode 100644
index 6150b1f..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.CompareOperator = void 0;
-const BaseOperationOrSignal_1 = require("../BaseOperationOrSignal");
-class CompareOperator extends BaseOperationOrSignal_1.BaseOperationOrSignal {
- constructor(...operationOrSignals) {
- super(...operationOrSignals);
- }
-}
-exports.CompareOperator = CompareOperator;
-//# sourceMappingURL=CompareOperator.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.js.map b/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.js.map
deleted file mode 100644
index cf0a4e3..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/CompareOperator.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"CompareOperator.js","sourceRoot":"","sources":["../../../src/Commands/Comparisons/CompareOperator.ts"],"names":[],"mappings":";;;AACA,oEAAiE;AAEjE,MAAsB,eAAgB,SAAQ,6CAAqB;IAC/D,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;CACJ;AAJD,0CAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Eq.d.ts b/TiaCodegen-ts/dist/Commands/Comparisons/Eq.d.ts
deleted file mode 100644
index 92f4386..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Eq.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { CompareOperator } from './CompareOperator';
-export declare class Eq extends CompareOperator {
- constructor(...operationOrSignals: IOperationOrSignal[]);
-}
-//# sourceMappingURL=Eq.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Eq.d.ts.map b/TiaCodegen-ts/dist/Commands/Comparisons/Eq.d.ts.map
deleted file mode 100644
index 7fd5800..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Eq.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Eq.d.ts","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Eq.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qBAAa,EAAG,SAAQ,eAAe;gBACvB,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;CAG1D"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Eq.js b/TiaCodegen-ts/dist/Commands/Comparisons/Eq.js
deleted file mode 100644
index 27f9e19..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Eq.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Eq = void 0;
-const CompareOperator_1 = require("./CompareOperator");
-class Eq extends CompareOperator_1.CompareOperator {
- constructor(...operationOrSignals) {
- super(...operationOrSignals);
- }
-}
-exports.Eq = Eq;
-//# sourceMappingURL=Eq.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Eq.js.map b/TiaCodegen-ts/dist/Commands/Comparisons/Eq.js.map
deleted file mode 100644
index 93b8053..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Eq.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Eq.js","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Eq.ts"],"names":[],"mappings":";;;AACA,uDAAoD;AAEpD,MAAa,EAAG,SAAQ,iCAAe;IACnC,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;CACJ;AAJD,gBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Ge.d.ts b/TiaCodegen-ts/dist/Commands/Comparisons/Ge.d.ts
deleted file mode 100644
index fa54922..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Ge.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { CompareOperator } from './CompareOperator';
-export declare class Ge extends CompareOperator {
- constructor(...operationOrSignals: IOperationOrSignal[]);
-}
-//# sourceMappingURL=Ge.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Ge.d.ts.map b/TiaCodegen-ts/dist/Commands/Comparisons/Ge.d.ts.map
deleted file mode 100644
index 2d86a68..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Ge.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Ge.d.ts","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Ge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qBAAa,EAAG,SAAQ,eAAe;gBACvB,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;CAG1D"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Ge.js b/TiaCodegen-ts/dist/Commands/Comparisons/Ge.js
deleted file mode 100644
index 6a63883..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Ge.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Ge = void 0;
-const CompareOperator_1 = require("./CompareOperator");
-class Ge extends CompareOperator_1.CompareOperator {
- constructor(...operationOrSignals) {
- super(...operationOrSignals);
- }
-}
-exports.Ge = Ge;
-//# sourceMappingURL=Ge.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Ge.js.map b/TiaCodegen-ts/dist/Commands/Comparisons/Ge.js.map
deleted file mode 100644
index 8810a24..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Ge.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Ge.js","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Ge.ts"],"names":[],"mappings":";;;AACA,uDAAoD;AAEpD,MAAa,EAAG,SAAQ,iCAAe;IACnC,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;CACJ;AAJD,gBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Gt.d.ts b/TiaCodegen-ts/dist/Commands/Comparisons/Gt.d.ts
deleted file mode 100644
index b8b8af6..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Gt.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { CompareOperator } from './CompareOperator';
-export declare class Gt extends CompareOperator {
- constructor(...operationOrSignals: IOperationOrSignal[]);
-}
-//# sourceMappingURL=Gt.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Gt.d.ts.map b/TiaCodegen-ts/dist/Commands/Comparisons/Gt.d.ts.map
deleted file mode 100644
index d1e9acd..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Gt.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Gt.d.ts","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Gt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qBAAa,EAAG,SAAQ,eAAe;gBACvB,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;CAG1D"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Gt.js b/TiaCodegen-ts/dist/Commands/Comparisons/Gt.js
deleted file mode 100644
index 166893b..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Gt.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Gt = void 0;
-const CompareOperator_1 = require("./CompareOperator");
-class Gt extends CompareOperator_1.CompareOperator {
- constructor(...operationOrSignals) {
- super(...operationOrSignals);
- }
-}
-exports.Gt = Gt;
-//# sourceMappingURL=Gt.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Gt.js.map b/TiaCodegen-ts/dist/Commands/Comparisons/Gt.js.map
deleted file mode 100644
index b3668f8..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Gt.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Gt.js","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Gt.ts"],"names":[],"mappings":";;;AACA,uDAAoD;AAEpD,MAAa,EAAG,SAAQ,iCAAe;IACnC,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;CACJ;AAJD,gBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.d.ts b/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.d.ts
deleted file mode 100644
index fe71ec0..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { SystemFunctionCall } from '../Functions/Base/SystemFunctionCall';
-export declare class InRangeCall extends SystemFunctionCall {
- constructor(min: IOperationOrSignal, inParam: IOperationOrSignal, max: IOperationOrSignal, out: IOperationOrSignal, eno?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=InRangeCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.d.ts.map
deleted file mode 100644
index c162fb0..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"InRangeCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Comparisons/InRangeCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,qBAAa,WAAY,SAAQ,kBAAkB;gBAE3C,GAAG,EAAE,kBAAkB,EACvB,OAAO,EAAE,kBAAkB,EAC3B,GAAG,EAAE,kBAAkB,EACvB,GAAG,EAAE,kBAAkB,EACvB,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAa5C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.js b/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.js
deleted file mode 100644
index bd93087..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.js
+++ /dev/null
@@ -1,22 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.InRangeCall = void 0;
-const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
-const Direction_1 = require("../../Enums/Direction");
-const SystemFunctionCall_1 = require("../Functions/Base/SystemFunctionCall");
-class InRangeCall extends SystemFunctionCall_1.SystemFunctionCall {
- constructor(min, inParam, max, out, eno = null) {
- super('InRange', eno);
- this.disableEno = false;
- this.iface['min'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(min, Direction_1.Direction.Input);
- this.iface['in'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(inParam, Direction_1.Direction.Input);
- this.iface['max'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(max, Direction_1.Direction.Input);
- this.iface['out'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(out, Direction_1.Direction.Output);
- for (const w of Object.values(this.iface)) {
- if (w.operationOrSignal !== null)
- this.children.push(w.operationOrSignal);
- }
- }
-}
-exports.InRangeCall = InRangeCall;
-//# sourceMappingURL=InRangeCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.js.map b/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.js.map
deleted file mode 100644
index 8ad17ec..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/InRangeCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"InRangeCall.js","sourceRoot":"","sources":["../../../src/Commands/Comparisons/InRangeCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,6EAA0E;AAE1E,MAAa,WAAY,SAAQ,uCAAkB;IAC/C,YACI,GAAuB,EACvB,OAA2B,EAC3B,GAAuB,EACvB,GAAuB,EACvB,MAAiC,IAAI;QAErC,KAAK,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC;QACtB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;QACxB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,OAAO,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACpF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAElF,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAnBD,kCAmBC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Le.d.ts b/TiaCodegen-ts/dist/Commands/Comparisons/Le.d.ts
deleted file mode 100644
index 459ed9e..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Le.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { CompareOperator } from './CompareOperator';
-export declare class Le extends CompareOperator {
- constructor(...operationOrSignals: IOperationOrSignal[]);
-}
-//# sourceMappingURL=Le.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Le.d.ts.map b/TiaCodegen-ts/dist/Commands/Comparisons/Le.d.ts.map
deleted file mode 100644
index 9d159ad..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Le.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Le.d.ts","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Le.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qBAAa,EAAG,SAAQ,eAAe;gBACvB,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;CAG1D"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Le.js b/TiaCodegen-ts/dist/Commands/Comparisons/Le.js
deleted file mode 100644
index 2856981..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Le.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Le = void 0;
-const CompareOperator_1 = require("./CompareOperator");
-class Le extends CompareOperator_1.CompareOperator {
- constructor(...operationOrSignals) {
- super(...operationOrSignals);
- }
-}
-exports.Le = Le;
-//# sourceMappingURL=Le.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Le.js.map b/TiaCodegen-ts/dist/Commands/Comparisons/Le.js.map
deleted file mode 100644
index 066a9a6..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Le.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Le.js","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Le.ts"],"names":[],"mappings":";;;AACA,uDAAoD;AAEpD,MAAa,EAAG,SAAQ,iCAAe;IACnC,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;CACJ;AAJD,gBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Lt.d.ts b/TiaCodegen-ts/dist/Commands/Comparisons/Lt.d.ts
deleted file mode 100644
index b50784c..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Lt.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { CompareOperator } from './CompareOperator';
-export declare class Lt extends CompareOperator {
- constructor(...operationOrSignals: IOperationOrSignal[]);
-}
-//# sourceMappingURL=Lt.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Lt.d.ts.map b/TiaCodegen-ts/dist/Commands/Comparisons/Lt.d.ts.map
deleted file mode 100644
index ac5bbbe..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Lt.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Lt.d.ts","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Lt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qBAAa,EAAG,SAAQ,eAAe;gBACvB,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;CAG1D"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Lt.js b/TiaCodegen-ts/dist/Commands/Comparisons/Lt.js
deleted file mode 100644
index 7432513..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Lt.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Lt = void 0;
-const CompareOperator_1 = require("./CompareOperator");
-class Lt extends CompareOperator_1.CompareOperator {
- constructor(...operationOrSignals) {
- super(...operationOrSignals);
- }
-}
-exports.Lt = Lt;
-//# sourceMappingURL=Lt.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Lt.js.map b/TiaCodegen-ts/dist/Commands/Comparisons/Lt.js.map
deleted file mode 100644
index 47f4beb..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Lt.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Lt.js","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Lt.ts"],"names":[],"mappings":";;;AACA,uDAAoD;AAEpD,MAAa,EAAG,SAAQ,iCAAe;IACnC,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;CACJ;AAJD,gBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Ne.d.ts b/TiaCodegen-ts/dist/Commands/Comparisons/Ne.d.ts
deleted file mode 100644
index 6a5d9fe..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Ne.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { CompareOperator } from './CompareOperator';
-export declare class Ne extends CompareOperator {
- constructor(...operationOrSignals: IOperationOrSignal[]);
-}
-//# sourceMappingURL=Ne.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Ne.d.ts.map b/TiaCodegen-ts/dist/Commands/Comparisons/Ne.d.ts.map
deleted file mode 100644
index 7114179..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Ne.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Ne.d.ts","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Ne.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qBAAa,EAAG,SAAQ,eAAe;gBACvB,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;CAG1D"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Ne.js b/TiaCodegen-ts/dist/Commands/Comparisons/Ne.js
deleted file mode 100644
index 5b594e8..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Ne.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Ne = void 0;
-const CompareOperator_1 = require("./CompareOperator");
-class Ne extends CompareOperator_1.CompareOperator {
- constructor(...operationOrSignals) {
- super(...operationOrSignals);
- }
-}
-exports.Ne = Ne;
-//# sourceMappingURL=Ne.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/Ne.js.map b/TiaCodegen-ts/dist/Commands/Comparisons/Ne.js.map
deleted file mode 100644
index e8dfb21..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/Ne.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Ne.js","sourceRoot":"","sources":["../../../src/Commands/Comparisons/Ne.ts"],"names":[],"mappings":";;;AACA,uDAAoD;AAEpD,MAAa,EAAG,SAAQ,iCAAe;IACnC,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;CACJ;AAJD,gBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.d.ts b/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.d.ts
deleted file mode 100644
index fc4a24a..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { SystemFunctionCall } from '../Functions/Base/SystemFunctionCall';
-export declare class OutRangeCall extends SystemFunctionCall {
- constructor(min: IOperationOrSignal, inParam: IOperationOrSignal, max: IOperationOrSignal, out: IOperationOrSignal, eno?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=OutRangeCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.d.ts.map
deleted file mode 100644
index 13341c6..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"OutRangeCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Comparisons/OutRangeCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,qBAAa,YAAa,SAAQ,kBAAkB;gBAE5C,GAAG,EAAE,kBAAkB,EACvB,OAAO,EAAE,kBAAkB,EAC3B,GAAG,EAAE,kBAAkB,EACvB,GAAG,EAAE,kBAAkB,EACvB,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAa5C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.js b/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.js
deleted file mode 100644
index 1e92ec2..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.js
+++ /dev/null
@@ -1,22 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.OutRangeCall = void 0;
-const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
-const Direction_1 = require("../../Enums/Direction");
-const SystemFunctionCall_1 = require("../Functions/Base/SystemFunctionCall");
-class OutRangeCall extends SystemFunctionCall_1.SystemFunctionCall {
- constructor(min, inParam, max, out, eno = null) {
- super('OutRange', eno);
- this.disableEno = false;
- this.iface['min'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(min, Direction_1.Direction.Input);
- this.iface['in'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(inParam, Direction_1.Direction.Input);
- this.iface['max'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(max, Direction_1.Direction.Input);
- this.iface['out'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(out, Direction_1.Direction.Output);
- for (const w of Object.values(this.iface)) {
- if (w.operationOrSignal !== null)
- this.children.push(w.operationOrSignal);
- }
- }
-}
-exports.OutRangeCall = OutRangeCall;
-//# sourceMappingURL=OutRangeCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.js.map b/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.js.map
deleted file mode 100644
index 8ad0957..0000000
--- a/TiaCodegen-ts/dist/Commands/Comparisons/OutRangeCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"OutRangeCall.js","sourceRoot":"","sources":["../../../src/Commands/Comparisons/OutRangeCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,6EAA0E;AAE1E,MAAa,YAAa,SAAQ,uCAAkB;IAChD,YACI,GAAuB,EACvB,OAA2B,EAC3B,GAAuB,EACvB,GAAuB,EACvB,MAAiC,IAAI;QAErC,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;QACvB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;QACxB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,OAAO,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACpF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAElF,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAnBD,oCAmBC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Convert.d.ts b/TiaCodegen-ts/dist/Commands/Convert.d.ts
deleted file mode 100644
index dfda0c4..0000000
--- a/TiaCodegen-ts/dist/Commands/Convert.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
-import { IFunctionOperation } from '../Interfaces/IFunctionOperation';
-import { BaseOperationOrSignal } from './BaseOperationOrSignal';
-export declare class Convert extends BaseOperationOrSignal implements IFunctionOperation {
- constructor(...operationOrSignals: IOperationOrSignal[]);
-}
-//# sourceMappingURL=Convert.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Convert.d.ts.map b/TiaCodegen-ts/dist/Commands/Convert.d.ts.map
deleted file mode 100644
index 3228b10..0000000
--- a/TiaCodegen-ts/dist/Commands/Convert.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Convert.d.ts","sourceRoot":"","sources":["../../src/Commands/Convert.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,qBAAa,OAAQ,SAAQ,qBAAsB,YAAW,kBAAkB;gBAChE,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;CAG1D"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Convert.js b/TiaCodegen-ts/dist/Commands/Convert.js
deleted file mode 100644
index 2c6e592..0000000
--- a/TiaCodegen-ts/dist/Commands/Convert.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Convert = void 0;
-const BaseOperationOrSignal_1 = require("./BaseOperationOrSignal");
-class Convert extends BaseOperationOrSignal_1.BaseOperationOrSignal {
- constructor(...operationOrSignals) {
- super(...operationOrSignals);
- }
-}
-exports.Convert = Convert;
-//# sourceMappingURL=Convert.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Convert.js.map b/TiaCodegen-ts/dist/Commands/Convert.js.map
deleted file mode 100644
index f1a42e2..0000000
--- a/TiaCodegen-ts/dist/Commands/Convert.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Convert.js","sourceRoot":"","sources":["../../src/Commands/Convert.ts"],"names":[],"mappings":";;;AAEA,mEAAgE;AAEhE,MAAa,OAAQ,SAAQ,6CAAqB;IAC9C,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;CACJ;AAJD,0BAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Distributor.d.ts b/TiaCodegen-ts/dist/Commands/Distributor.d.ts
deleted file mode 100644
index 69d4cb3..0000000
--- a/TiaCodegen-ts/dist/Commands/Distributor.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
-import { BaseOperationOrSignal } from './BaseOperationOrSignal';
-export declare class Distributor extends BaseOperationOrSignal {
- constructor(...operationOrSignals: IOperationOrSignal[]);
- createContactAndFillCardinality(parent: IOperationOrSignal): number;
-}
-//# sourceMappingURL=Distributor.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Distributor.d.ts.map b/TiaCodegen-ts/dist/Commands/Distributor.d.ts.map
deleted file mode 100644
index 3a373d7..0000000
--- a/TiaCodegen-ts/dist/Commands/Distributor.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Distributor.d.ts","sourceRoot":"","sources":["../../src/Commands/Distributor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,qBAAa,WAAY,SAAQ,qBAAqB;gBACtC,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;IAIvD,+BAA+B,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM;CAStE"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Distributor.js b/TiaCodegen-ts/dist/Commands/Distributor.js
deleted file mode 100644
index 89f3d3f..0000000
--- a/TiaCodegen-ts/dist/Commands/Distributor.js
+++ /dev/null
@@ -1,20 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Distributor = void 0;
-const BaseOperationOrSignal_1 = require("./BaseOperationOrSignal");
-class Distributor extends BaseOperationOrSignal_1.BaseOperationOrSignal {
- constructor(...operationOrSignals) {
- super(...operationOrSignals);
- }
- createContactAndFillCardinality(parent) {
- let c = 0;
- this.operationId = parent.operationId;
- for (const op of this.children) {
- c += op.createContactAndFillCardinality(this);
- }
- this.cardinality = c;
- return this.cardinality;
- }
-}
-exports.Distributor = Distributor;
-//# sourceMappingURL=Distributor.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Distributor.js.map b/TiaCodegen-ts/dist/Commands/Distributor.js.map
deleted file mode 100644
index 1e4a285..0000000
--- a/TiaCodegen-ts/dist/Commands/Distributor.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Distributor.js","sourceRoot":"","sources":["../../src/Commands/Distributor.ts"],"names":[],"mappings":";;;AACA,mEAAgE;AAEhE,MAAa,WAAY,SAAQ,6CAAqB;IAClD,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;IAED,+BAA+B,CAAC,MAA0B;QACtD,IAAI,CAAC,GAAG,CAAC,CAAC;QACV,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QACtC,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAC7B,CAAC,IAAI,EAAE,CAAC,+BAA+B,CAAC,IAAI,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;QACrB,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;CACJ;AAdD,kCAcC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.d.ts
deleted file mode 100644
index cadbc5d..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { SystemFunctionBlockCall } from './Base/SystemFunctionBlockCall';
-export declare class AckGlCall extends SystemFunctionBlockCall {
- constructor(instanceName: string, ackGlob?: IOperationOrSignal | null, eno?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=AckGlCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.d.ts.map
deleted file mode 100644
index 9899113..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"AckGlCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/AckGlCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBAAa,SAAU,SAAQ,uBAAuB;gBAE9C,YAAY,EAAE,MAAM,EACpB,OAAO,GAAE,kBAAkB,GAAG,IAAW,EACzC,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAe5C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.js b/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.js
deleted file mode 100644
index 273e693..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.js
+++ /dev/null
@@ -1,23 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.AckGlCall = void 0;
-const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
-const Direction_1 = require("../../Enums/Direction");
-const SystemFunctionBlockCall_1 = require("./Base/SystemFunctionBlockCall");
-class AckGlCall extends SystemFunctionBlockCall_1.SystemFunctionBlockCall {
- constructor(instanceName, ackGlob = null, eno = null) {
- super('ACK_GL', instanceName, eno);
- this.iface['ACK_GLOB'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(ackGlob, Direction_1.Direction.Input);
- this.additionalSafetyTemplateValues = `
-1
-0
-DInt
-`;
- for (const w of Object.values(this.iface)) {
- if (w.operationOrSignal !== null)
- this.children.push(w.operationOrSignal);
- }
- }
-}
-exports.AckGlCall = AckGlCall;
-//# sourceMappingURL=AckGlCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.js.map
deleted file mode 100644
index f634d49..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/AckGlCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"AckGlCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/AckGlCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,4EAAyE;AAEzE,MAAa,SAAU,SAAQ,iDAAuB;IAClD,YACI,YAAoB,EACpB,UAAqC,IAAI,EACzC,MAAiC,IAAI;QAErC,KAAK,CAAC,QAAQ,EAAE,YAAY,EAAE,GAAG,CAAC,CAAC;QACnC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,IAAI,uEAAkC,CAAC,OAAO,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAE1F,IAAI,CAAC,8BAA8B,GAAG;;;;CAI7C,CAAC;QAEM,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAnBD,8BAmBC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.d.ts
deleted file mode 100644
index 5e6f647..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
-import { VariableArithmeticCall } from './VariableArithmeticCall';
-export declare class AddCall extends VariableArithmeticCall {
- constructor(type: string, in1: IOperationOrSignal, in2: IOperationOrSignal, in3?: IOperationOrSignal | null, in4?: IOperationOrSignal | null, in5?: IOperationOrSignal | null, in6?: IOperationOrSignal | null, in7?: IOperationOrSignal | null, in8?: IOperationOrSignal | null, in9?: IOperationOrSignal | null, in10?: IOperationOrSignal | null, in11?: IOperationOrSignal | null, in12?: IOperationOrSignal | null, in13?: IOperationOrSignal | null, in14?: IOperationOrSignal | null, in15?: IOperationOrSignal | null, in16?: IOperationOrSignal | null, in17?: IOperationOrSignal | null, in18?: IOperationOrSignal | null, in19?: IOperationOrSignal | null, in20?: IOperationOrSignal | null, in21?: IOperationOrSignal | null, in22?: IOperationOrSignal | null, in23?: IOperationOrSignal | null, in24?: IOperationOrSignal | null, in25?: IOperationOrSignal | null, in26?: IOperationOrSignal | null, in27?: IOperationOrSignal | null, in28?: IOperationOrSignal | null, in29?: IOperationOrSignal | null, in30?: IOperationOrSignal | null, in31?: IOperationOrSignal | null, in32?: IOperationOrSignal | null, in33?: IOperationOrSignal | null, in34?: IOperationOrSignal | null, in35?: IOperationOrSignal | null, in36?: IOperationOrSignal | null, in37?: IOperationOrSignal | null, in38?: IOperationOrSignal | null, in39?: IOperationOrSignal | null, in40?: IOperationOrSignal | null, in41?: IOperationOrSignal | null, in42?: IOperationOrSignal | null, in43?: IOperationOrSignal | null, in44?: IOperationOrSignal | null, in45?: IOperationOrSignal | null, in46?: IOperationOrSignal | null, in47?: IOperationOrSignal | null, in48?: IOperationOrSignal | null, in49?: IOperationOrSignal | null, in50?: IOperationOrSignal | null, out1?: IOperationOrSignal | null, eno?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=AddCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.d.ts.map
deleted file mode 100644
index 5a3caa1..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"AddCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/AddCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAG5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,qBAAa,OAAQ,SAAQ,sBAAsB;gBAEnC,IAAI,EAAE,MAAM,EACpB,GAAG,EAAE,kBAAkB,EACvB,GAAG,EAAE,kBAAkB,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EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,GAAG,GAAE,kBAAkB,GAAG,IAAW;CA6D5C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.js b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.js
deleted file mode 100644
index b55b7c7..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.js
+++ /dev/null
@@ -1,70 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.AddCall = void 0;
-const IOperationOrSignalDirectionWrapper_1 = require("../../../Interfaces/IOperationOrSignalDirectionWrapper");
-const Direction_1 = require("../../../Enums/Direction");
-const VariableArithmeticCall_1 = require("./VariableArithmeticCall");
-class AddCall extends VariableArithmeticCall_1.VariableArithmeticCall {
- constructor(type, in1, in2, in3 = null, in4 = null, in5 = null, in6 = null, in7 = null, in8 = null, in9 = null, in10 = null, in11 = null, in12 = null, in13 = null, in14 = null, in15 = null, in16 = null, in17 = null, in18 = null, in19 = null, in20 = null, in21 = null, in22 = null, in23 = null, in24 = null, in25 = null, in26 = null, in27 = null, in28 = null, in29 = null, in30 = null, in31 = null, in32 = null, in33 = null, in34 = null, in35 = null, in36 = null, in37 = null, in38 = null, in39 = null, in40 = null, in41 = null, in42 = null, in43 = null, in44 = null, in45 = null, in46 = null, in47 = null, in48 = null, in49 = null, in50 = null, out1 = null, eno = null) {
- super('Add', eno);
- this.disableEno = true;
- this.type = type;
- this.iface['IN1'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in1, Direction_1.Direction.Input);
- this.iface['IN2'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in2, Direction_1.Direction.Input);
- this.iface['IN3'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in3, Direction_1.Direction.Input);
- this.iface['IN4'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in4, Direction_1.Direction.Input);
- this.iface['IN5'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in5, Direction_1.Direction.Input);
- this.iface['IN6'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in6, Direction_1.Direction.Input);
- this.iface['IN7'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in7, Direction_1.Direction.Input);
- this.iface['IN8'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in8, Direction_1.Direction.Input);
- this.iface['IN9'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in9, Direction_1.Direction.Input);
- this.iface['IN10'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in10, Direction_1.Direction.Input);
- this.iface['IN11'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in11, Direction_1.Direction.Input);
- this.iface['IN12'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in12, Direction_1.Direction.Input);
- this.iface['IN13'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in13, Direction_1.Direction.Input);
- this.iface['IN14'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in14, Direction_1.Direction.Input);
- this.iface['IN15'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in15, Direction_1.Direction.Input);
- this.iface['IN16'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in16, Direction_1.Direction.Input);
- this.iface['IN17'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in17, Direction_1.Direction.Input);
- this.iface['IN18'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in18, Direction_1.Direction.Input);
- this.iface['IN19'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in19, Direction_1.Direction.Input);
- this.iface['IN20'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in20, Direction_1.Direction.Input);
- this.iface['IN21'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in21, Direction_1.Direction.Input);
- this.iface['IN22'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in22, Direction_1.Direction.Input);
- this.iface['IN23'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in23, Direction_1.Direction.Input);
- this.iface['IN24'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in24, Direction_1.Direction.Input);
- this.iface['IN25'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in25, Direction_1.Direction.Input);
- this.iface['IN26'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in26, Direction_1.Direction.Input);
- this.iface['IN27'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in27, Direction_1.Direction.Input);
- this.iface['IN28'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in28, Direction_1.Direction.Input);
- this.iface['IN29'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in29, Direction_1.Direction.Input);
- this.iface['IN30'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in30, Direction_1.Direction.Input);
- this.iface['IN31'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in31, Direction_1.Direction.Input);
- this.iface['IN32'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in32, Direction_1.Direction.Input);
- this.iface['IN33'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in33, Direction_1.Direction.Input);
- this.iface['IN34'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in34, Direction_1.Direction.Input);
- this.iface['IN35'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in35, Direction_1.Direction.Input);
- this.iface['IN36'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in36, Direction_1.Direction.Input);
- this.iface['IN37'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in37, Direction_1.Direction.Input);
- this.iface['IN38'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in38, Direction_1.Direction.Input);
- this.iface['IN39'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in39, Direction_1.Direction.Input);
- this.iface['IN40'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in40, Direction_1.Direction.Input);
- this.iface['IN41'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in41, Direction_1.Direction.Input);
- this.iface['IN42'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in42, Direction_1.Direction.Input);
- this.iface['IN43'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in43, Direction_1.Direction.Input);
- this.iface['IN44'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in44, Direction_1.Direction.Input);
- this.iface['IN45'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in45, Direction_1.Direction.Input);
- this.iface['IN46'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in46, Direction_1.Direction.Input);
- this.iface['IN47'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in47, Direction_1.Direction.Input);
- this.iface['IN48'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in48, Direction_1.Direction.Input);
- this.iface['IN49'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in49, Direction_1.Direction.Input);
- this.iface['IN50'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in50, Direction_1.Direction.Input);
- this.iface['OUT'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(out1, Direction_1.Direction.Output);
- for (const w of Object.values(this.iface)) {
- if (w.operationOrSignal !== null)
- this.children.push(w.operationOrSignal);
- }
- }
-}
-exports.AddCall = AddCall;
-//# sourceMappingURL=AddCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.js.map
deleted file mode 100644
index 30c0f3e..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/AddCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"AddCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/AddCall.ts"],"names":[],"mappings":";;;AACA,+GAA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,MAAM,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACnF,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACnF,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACnF,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACnF,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACnF,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACnF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEnF,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAnHD,0BAmHC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.d.ts
deleted file mode 100644
index 12fb403..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
-import { SystemFunctionCall } from '../Base/SystemFunctionCall';
-export declare abstract class ArithmeticCall extends SystemFunctionCall {
- type: string;
- constructor(functionName: string, eno?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=ArithmeticCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.d.ts.map
deleted file mode 100644
index a6f76fb..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ArithmeticCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/ArithmeticCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,8BAAsB,cAAe,SAAQ,kBAAkB;IAC3D,IAAI,EAAE,MAAM,CAAM;gBAEN,YAAY,EAAE,MAAM,EAAE,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAG1E"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.js b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.js
deleted file mode 100644
index a36fcec..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.js
+++ /dev/null
@@ -1,12 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.ArithmeticCall = void 0;
-const SystemFunctionCall_1 = require("../Base/SystemFunctionCall");
-class ArithmeticCall extends SystemFunctionCall_1.SystemFunctionCall {
- constructor(functionName, eno = null) {
- super(functionName, eno);
- this.type = '';
- }
-}
-exports.ArithmeticCall = ArithmeticCall;
-//# sourceMappingURL=ArithmeticCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.js.map
deleted file mode 100644
index 25fb2a2..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ArithmeticCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ArithmeticCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/ArithmeticCall.ts"],"names":[],"mappings":";;;AACA,mEAAgE;AAEhE,MAAsB,cAAe,SAAQ,uCAAkB;IAG3D,YAAY,YAAoB,EAAE,MAAiC,IAAI;QACnE,KAAK,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;QAH7B,SAAI,GAAW,EAAE,CAAC;IAIlB,CAAC;CACJ;AAND,wCAMC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.d.ts
deleted file mode 100644
index a7613d4..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
-import { ArithmeticCall } from './ArithmeticCall';
-export declare class DivCall extends ArithmeticCall {
- constructor(type: string, in1: IOperationOrSignal, in2: IOperationOrSignal, out1?: IOperationOrSignal | null, eno?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=DivCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.d.ts.map
deleted file mode 100644
index fc1b68a..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"DivCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/DivCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAG5E,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,OAAQ,SAAQ,cAAc;gBAEnC,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,kBAAkB,EACvB,GAAG,EAAE,kBAAkB,EACvB,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAa5C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.js b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.js
deleted file mode 100644
index 7465fe9..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.js
+++ /dev/null
@@ -1,22 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.DivCall = void 0;
-const IOperationOrSignalDirectionWrapper_1 = require("../../../Interfaces/IOperationOrSignalDirectionWrapper");
-const Direction_1 = require("../../../Enums/Direction");
-const ArithmeticCall_1 = require("./ArithmeticCall");
-class DivCall extends ArithmeticCall_1.ArithmeticCall {
- constructor(type, in1, in2, out1 = null, eno = null) {
- super('Div', eno);
- this.disableEno = true;
- this.type = type;
- this.iface['IN1'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in1, Direction_1.Direction.Input);
- this.iface['IN2'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in2, Direction_1.Direction.Input);
- this.iface['OUT'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(out1, Direction_1.Direction.Output);
- for (const w of Object.values(this.iface)) {
- if (w.operationOrSignal !== null)
- this.children.push(w.operationOrSignal);
- }
- }
-}
-exports.DivCall = DivCall;
-//# sourceMappingURL=DivCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.js.map
deleted file mode 100644
index 83adaa8..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/DivCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"DivCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/DivCall.ts"],"names":[],"mappings":";;;AACA,+GAA4G;AAC5G,wDAAqD;AACrD,qDAAkD;AAElD,MAAa,OAAQ,SAAQ,+BAAc;IACvC,YACI,IAAY,EACZ,GAAuB,EACvB,GAAuB,EACvB,OAAkC,IAAI,EACtC,MAAiC,IAAI;QAErC,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;QAClB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEnF,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAnBD,0BAmBC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.d.ts
deleted file mode 100644
index 7060d75..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
-import { ArithmeticCall } from './ArithmeticCall';
-export declare class ModCall extends ArithmeticCall {
- constructor(type: string, in1: IOperationOrSignal, in2: IOperationOrSignal, out1?: IOperationOrSignal | null, eno?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=ModCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.d.ts.map
deleted file mode 100644
index 5811fab..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ModCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/ModCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAG5E,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,OAAQ,SAAQ,cAAc;gBAEnC,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,kBAAkB,EACvB,GAAG,EAAE,kBAAkB,EACvB,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAa5C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.js b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.js
deleted file mode 100644
index f833b17..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.js
+++ /dev/null
@@ -1,22 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.ModCall = void 0;
-const IOperationOrSignalDirectionWrapper_1 = require("../../../Interfaces/IOperationOrSignalDirectionWrapper");
-const Direction_1 = require("../../../Enums/Direction");
-const ArithmeticCall_1 = require("./ArithmeticCall");
-class ModCall extends ArithmeticCall_1.ArithmeticCall {
- constructor(type, in1, in2, out1 = null, eno = null) {
- super('Mod', eno);
- this.disableEno = true;
- this.type = type;
- this.iface['IN1'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in1, Direction_1.Direction.Input);
- this.iface['IN2'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in2, Direction_1.Direction.Input);
- this.iface['OUT'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(out1, Direction_1.Direction.Output);
- for (const w of Object.values(this.iface)) {
- if (w.operationOrSignal !== null)
- this.children.push(w.operationOrSignal);
- }
- }
-}
-exports.ModCall = ModCall;
-//# sourceMappingURL=ModCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.js.map
deleted file mode 100644
index decb137..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/ModCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ModCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/ModCall.ts"],"names":[],"mappings":";;;AACA,+GAA4G;AAC5G,wDAAqD;AACrD,qDAAkD;AAElD,MAAa,OAAQ,SAAQ,+BAAc;IACvC,YACI,IAAY,EACZ,GAAuB,EACvB,GAAuB,EACvB,OAAkC,IAAI,EACtC,MAAiC,IAAI;QAErC,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;QAClB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEnF,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAnBD,0BAmBC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.d.ts
deleted file mode 100644
index 833544d..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
-import { VariableArithmeticCall } from './VariableArithmeticCall';
-export declare class MulCall extends VariableArithmeticCall {
- constructor(type: string, in1: IOperationOrSignal, in2: IOperationOrSignal, in3?: IOperationOrSignal | null, in4?: IOperationOrSignal | null, in5?: IOperationOrSignal | null, in6?: IOperationOrSignal | null, in7?: IOperationOrSignal | null, in8?: IOperationOrSignal | null, in9?: IOperationOrSignal | null, in10?: IOperationOrSignal | null, in11?: IOperationOrSignal | null, in12?: IOperationOrSignal | null, in13?: IOperationOrSignal | null, in14?: IOperationOrSignal | null, in15?: IOperationOrSignal | null, in16?: IOperationOrSignal | null, in17?: IOperationOrSignal | null, in18?: IOperationOrSignal | null, in19?: IOperationOrSignal | null, in20?: IOperationOrSignal | null, in21?: IOperationOrSignal | null, in22?: IOperationOrSignal | null, in23?: IOperationOrSignal | null, in24?: IOperationOrSignal | null, in25?: IOperationOrSignal | null, in26?: IOperationOrSignal | null, in27?: IOperationOrSignal | null, in28?: IOperationOrSignal | null, in29?: IOperationOrSignal | null, in30?: IOperationOrSignal | null, in31?: IOperationOrSignal | null, in32?: IOperationOrSignal | null, in33?: IOperationOrSignal | null, in34?: IOperationOrSignal | null, in35?: IOperationOrSignal | null, in36?: IOperationOrSignal | null, in37?: IOperationOrSignal | null, in38?: IOperationOrSignal | null, in39?: IOperationOrSignal | null, in40?: IOperationOrSignal | null, in41?: IOperationOrSignal | null, in42?: IOperationOrSignal | null, in43?: IOperationOrSignal | null, in44?: IOperationOrSignal | null, in45?: IOperationOrSignal | null, in46?: IOperationOrSignal | null, in47?: IOperationOrSignal | null, in48?: IOperationOrSignal | null, in49?: IOperationOrSignal | null, in50?: IOperationOrSignal | null, out1?: IOperationOrSignal | null, eno?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=MulCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.d.ts.map
deleted file mode 100644
index a09fb93..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"MulCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/MulCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAG5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,qBAAa,OAAQ,SAAQ,sBAAsB;gBAEnC,IAAI,EAAE,MAAM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kB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,GAAG,GAAE,kBAAkB,GAAG,IAAW;CA6D5C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.js b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.js
deleted file mode 100644
index d0d1d9c..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.js
+++ /dev/null
@@ -1,70 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.MulCall = void 0;
-const IOperationOrSignalDirectionWrapper_1 = require("../../../Interfaces/IOperationOrSignalDirectionWrapper");
-const Direction_1 = require("../../../Enums/Direction");
-const VariableArithmeticCall_1 = require("./VariableArithmeticCall");
-class MulCall extends VariableArithmeticCall_1.VariableArithmeticCall {
- constructor(type, in1, in2, in3 = null, in4 = null, in5 = null, in6 = null, in7 = null, in8 = null, in9 = null, in10 = null, in11 = null, in12 = null, in13 = null, in14 = null, in15 = null, in16 = null, in17 = null, in18 = null, in19 = null, in20 = null, in21 = null, in22 = null, in23 = null, in24 = null, in25 = null, in26 = null, in27 = null, in28 = null, in29 = null, in30 = null, in31 = null, in32 = null, in33 = null, in34 = null, in35 = null, in36 = null, in37 = null, in38 = null, in39 = null, in40 = null, in41 = null, in42 = null, in43 = null, in44 = null, in45 = null, in46 = null, in47 = null, in48 = null, in49 = null, in50 = null, out1 = null, eno = null) {
- super('Mul', eno);
- this.disableEno = true;
- this.type = type;
- this.iface['IN1'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in1, Direction_1.Direction.Input);
- this.iface['IN2'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in2, Direction_1.Direction.Input);
- this.iface['IN3'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in3, Direction_1.Direction.Input);
- this.iface['IN4'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in4, Direction_1.Direction.Input);
- this.iface['IN5'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in5, Direction_1.Direction.Input);
- this.iface['IN6'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in6, Direction_1.Direction.Input);
- this.iface['IN7'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in7, Direction_1.Direction.Input);
- this.iface['IN8'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in8, Direction_1.Direction.Input);
- this.iface['IN9'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in9, Direction_1.Direction.Input);
- this.iface['IN10'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in10, Direction_1.Direction.Input);
- this.iface['IN11'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in11, Direction_1.Direction.Input);
- this.iface['IN12'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in12, Direction_1.Direction.Input);
- this.iface['IN13'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in13, Direction_1.Direction.Input);
- this.iface['IN14'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in14, Direction_1.Direction.Input);
- this.iface['IN15'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in15, Direction_1.Direction.Input);
- this.iface['IN16'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in16, Direction_1.Direction.Input);
- this.iface['IN17'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in17, Direction_1.Direction.Input);
- this.iface['IN18'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in18, Direction_1.Direction.Input);
- this.iface['IN19'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in19, Direction_1.Direction.Input);
- this.iface['IN20'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in20, Direction_1.Direction.Input);
- this.iface['IN21'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in21, Direction_1.Direction.Input);
- this.iface['IN22'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in22, Direction_1.Direction.Input);
- this.iface['IN23'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in23, Direction_1.Direction.Input);
- this.iface['IN24'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in24, Direction_1.Direction.Input);
- this.iface['IN25'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in25, Direction_1.Direction.Input);
- this.iface['IN26'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in26, Direction_1.Direction.Input);
- this.iface['IN27'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in27, Direction_1.Direction.Input);
- this.iface['IN28'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in28, Direction_1.Direction.Input);
- this.iface['IN29'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in29, Direction_1.Direction.Input);
- this.iface['IN30'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in30, Direction_1.Direction.Input);
- this.iface['IN31'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in31, Direction_1.Direction.Input);
- this.iface['IN32'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in32, Direction_1.Direction.Input);
- this.iface['IN33'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in33, Direction_1.Direction.Input);
- this.iface['IN34'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in34, Direction_1.Direction.Input);
- this.iface['IN35'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in35, Direction_1.Direction.Input);
- this.iface['IN36'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in36, Direction_1.Direction.Input);
- this.iface['IN37'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in37, Direction_1.Direction.Input);
- this.iface['IN38'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in38, Direction_1.Direction.Input);
- this.iface['IN39'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in39, Direction_1.Direction.Input);
- this.iface['IN40'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in40, Direction_1.Direction.Input);
- this.iface['IN41'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in41, Direction_1.Direction.Input);
- this.iface['IN42'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in42, Direction_1.Direction.Input);
- this.iface['IN43'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in43, Direction_1.Direction.Input);
- this.iface['IN44'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in44, Direction_1.Direction.Input);
- this.iface['IN45'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in45, Direction_1.Direction.Input);
- this.iface['IN46'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in46, Direction_1.Direction.Input);
- this.iface['IN47'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in47, Direction_1.Direction.Input);
- this.iface['IN48'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in48, Direction_1.Direction.Input);
- this.iface['IN49'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in49, Direction_1.Direction.Input);
- this.iface['IN50'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in50, Direction_1.Direction.Input);
- this.iface['OUT'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(out1, Direction_1.Direction.Output);
- for (const w of Object.values(this.iface)) {
- if (w.operationOrSignal !== null)
- this.children.push(w.operationOrSignal);
- }
- }
-}
-exports.MulCall = MulCall;
-//# sourceMappingURL=MulCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.js.map
deleted file mode 100644
index 798cfcc..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/MulCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"MulCall.js","sourceRoot":"","sources":["../../../../src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S,CAAC,KAAK,CAAC,CAAC;QACnF,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACnF,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACnF,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACnF,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACnF,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACnF,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACnF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEnF,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAnHD,0BAmHC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.d.ts
deleted file mode 100644
index c9fbb55..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
-import { ArithmeticCall } from './ArithmeticCall';
-export declare class SubCall extends ArithmeticCall {
- constructor(type: string, in1: IOperationOrSignal, in2: IOperationOrSignal, out1?: IOperationOrSignal | null, eno?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=SubCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.d.ts.map
deleted file mode 100644
index 658c8ee..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SubCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/SubCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAG5E,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,OAAQ,SAAQ,cAAc;gBAEnC,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,kBAAkB,EACvB,GAAG,EAAE,kBAAkB,EACvB,IAAI,GAAE,kBAAkB,GAAG,IAAW,EACtC,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAa5C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.js b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.js
deleted file mode 100644
index 51c129b..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.js
+++ /dev/null
@@ -1,22 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.SubCall = void 0;
-const IOperationOrSignalDirectionWrapper_1 = require("../../../Interfaces/IOperationOrSignalDirectionWrapper");
-const Direction_1 = require("../../../Enums/Direction");
-const ArithmeticCall_1 = require("./ArithmeticCall");
-class SubCall extends ArithmeticCall_1.ArithmeticCall {
- constructor(type, in1, in2, out1 = null, eno = null) {
- super('Sub', eno);
- this.disableEno = true;
- this.type = type;
- this.iface['IN1'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in1, Direction_1.Direction.Input);
- this.iface['IN2'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(in2, Direction_1.Direction.Input);
- this.iface['OUT'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(out1, Direction_1.Direction.Output);
- for (const w of Object.values(this.iface)) {
- if (w.operationOrSignal !== null)
- this.children.push(w.operationOrSignal);
- }
- }
-}
-exports.SubCall = SubCall;
-//# sourceMappingURL=SubCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.js.map
deleted file mode 100644
index 8d9efa0..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/SubCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SubCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/SubCall.ts"],"names":[],"mappings":";;;AACA,+GAA4G;AAC5G,wDAAqD;AACrD,qDAAkD;AAElD,MAAa,OAAQ,SAAQ,+BAAc;IACvC,YACI,IAAY,EACZ,GAAuB,EACvB,GAAuB,EACvB,OAAkC,IAAI,EACtC,MAAiC,IAAI;QAErC,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;QAClB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEnF,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAnBD,0BAmBC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.d.ts
deleted file mode 100644
index 5d07d34..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
-import { ArithmeticCall } from './ArithmeticCall';
-export declare abstract class VariableArithmeticCall extends ArithmeticCall {
- constructor(functionName: string, eno?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=VariableArithmeticCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.d.ts.map
deleted file mode 100644
index 88b14c0..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"VariableArithmeticCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/VariableArithmeticCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,8BAAsB,sBAAuB,SAAQ,cAAc;gBACnD,YAAY,EAAE,MAAM,EAAE,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAG1E"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.js b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.js
deleted file mode 100644
index f25347d..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.VariableArithmeticCall = void 0;
-const ArithmeticCall_1 = require("./ArithmeticCall");
-class VariableArithmeticCall extends ArithmeticCall_1.ArithmeticCall {
- constructor(functionName, eno = null) {
- super(functionName, eno);
- }
-}
-exports.VariableArithmeticCall = VariableArithmeticCall;
-//# sourceMappingURL=VariableArithmeticCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.js.map
deleted file mode 100644
index 1dfe54d..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Arithmetic/VariableArithmeticCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"VariableArithmeticCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Arithmetic/VariableArithmeticCall.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAElD,MAAsB,sBAAuB,SAAQ,+BAAc;IAC/D,YAAY,YAAoB,EAAE,MAAiC,IAAI;QACnE,KAAK,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;IAC7B,CAAC;CACJ;AAJD,wDAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.d.ts
deleted file mode 100644
index 9ff31be..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
-import { FunctionCall } from './FunctionCall';
-export declare class FunctionBlockCall extends FunctionCall {
- instanceName: string;
- constructor(functionName: string, instanceName: string, eno?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=FunctionBlockCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.d.ts.map
deleted file mode 100644
index c665333..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"FunctionBlockCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Base/FunctionBlockCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,qBAAa,iBAAkB,SAAQ,YAAY;IAC/C,YAAY,EAAE,MAAM,CAAC;gBAET,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAIhG"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.js b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.js
deleted file mode 100644
index 2bddd47..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.js
+++ /dev/null
@@ -1,12 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.FunctionBlockCall = void 0;
-const FunctionCall_1 = require("./FunctionCall");
-class FunctionBlockCall extends FunctionCall_1.FunctionCall {
- constructor(functionName, instanceName, eno = null) {
- super(functionName, eno);
- this.instanceName = instanceName;
- }
-}
-exports.FunctionBlockCall = FunctionBlockCall;
-//# sourceMappingURL=FunctionBlockCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.js.map
deleted file mode 100644
index 77fd310..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionBlockCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"FunctionBlockCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Base/FunctionBlockCall.ts"],"names":[],"mappings":";;;AACA,iDAA8C;AAE9C,MAAa,iBAAkB,SAAQ,2BAAY;IAG/C,YAAY,YAAoB,EAAE,YAAoB,EAAE,MAAiC,IAAI;QACzF,KAAK,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;QACzB,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACrC,CAAC;CACJ;AAPD,8CAOC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.d.ts
deleted file mode 100644
index c49dbfd..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.d.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
-import { IOperationOrSignalDirectionWrapper } from '../../../Interfaces/IOperationOrSignalDirectionWrapper';
-export declare class FunctionCall implements IOperationOrSignal {
- safetyTemplateString: string | null;
- debugInfo: string | null;
- disableEno: boolean;
- functionName: string;
- version: string | null;
- additionalInnerXml: string | null;
- /** Interface map - using plain object to preserve insertion order */
- iface: Record;
- additionalSafetyTemplateValues: string | null;
- children: IOperationOrSignal[];
- eno: IOperationOrSignal | null;
- operationId: number;
- parent: IOperationOrSignal | null;
- doNotCreateContact: boolean;
- cardinality: number;
- hasNoEn: boolean;
- constructor(functionName: string, eno?: IOperationOrSignal | null);
- createContactAndFillCardinality(_parent: IOperationOrSignal): number;
- toString(): string;
- clone(): IOperationOrSignal;
-}
-//# sourceMappingURL=FunctionCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.d.ts.map
deleted file mode 100644
index 9204147..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"FunctionCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Base/FunctionCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,kCAAkC,EAAE,MAAM,wDAAwD,CAAC;AAG5G,qBAAa,YAAa,YAAW,kBAAkB;IACnD,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC3C,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAChC,UAAU,EAAE,OAAO,CAAS;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC9B,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAQ;IACzC,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,kCAAkC,CAAC,CAAC;IAC1D,8BAA8B,EAAE,MAAM,GAAG,IAAI,CAAQ;IACrD,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAC/B,GAAG,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC/B,WAAW,EAAE,MAAM,CAAK;IACxB,MAAM,EAAE,kBAAkB,GAAG,IAAI,CAAQ;IACzC,kBAAkB,EAAE,OAAO,CAAS;IACpC,WAAW,EAAE,MAAM,CAAK;IACxB,OAAO,EAAE,OAAO,CAAS;gBAEb,YAAY,EAAE,MAAM,EAAE,GAAG,GAAE,kBAAkB,GAAG,IAAW;IAUvE,+BAA+B,CAAC,OAAO,EAAE,kBAAkB,GAAG,MAAM;IAKpE,QAAQ,IAAI,MAAM;IAIlB,KAAK,IAAI,kBAAkB;CAG9B"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.js b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.js
deleted file mode 100644
index 7c2d906..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.js
+++ /dev/null
@@ -1,39 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.FunctionCall = void 0;
-const IOperationOrSignalDirectionWrapper_1 = require("../../../Interfaces/IOperationOrSignalDirectionWrapper");
-const Direction_1 = require("../../../Enums/Direction");
-class FunctionCall {
- constructor(functionName, eno = null) {
- this.safetyTemplateString = null;
- this.debugInfo = null;
- this.disableEno = false;
- this.version = null;
- this.additionalInnerXml = null;
- this.additionalSafetyTemplateValues = null;
- this.operationId = 0;
- this.parent = null;
- this.doNotCreateContact = false;
- this.cardinality = 0;
- this.hasNoEn = false;
- this.functionName = functionName;
- this.iface = {};
- this.children = [];
- this.eno = eno;
- if (eno !== null) {
- this.iface['eno'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(eno, Direction_1.Direction.Eno);
- }
- }
- createContactAndFillCardinality(_parent) {
- this.cardinality = 1;
- return this.cardinality;
- }
- toString() {
- return `${this.constructor.name}(${this.functionName})`;
- }
- clone() {
- throw new Error('Not yet supported');
- }
-}
-exports.FunctionCall = FunctionCall;
-//# sourceMappingURL=FunctionCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.js.map
deleted file mode 100644
index 42e05d8..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Base/FunctionCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"FunctionCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Base/FunctionCall.ts"],"names":[],"mappings":";;;AACA,+GAA4G;AAC5G,wDAAqD;AAErD,MAAa,YAAY;IAkBrB,YAAY,YAAoB,EAAE,MAAiC,IAAI;QAjBvE,yBAAoB,GAAkB,IAAI,CAAC;QAC3C,cAAS,GAAkB,IAAI,CAAC;QAChC,eAAU,GAAY,KAAK,CAAC;QAE5B,YAAO,GAAkB,IAAI,CAAC;QAC9B,uBAAkB,GAAkB,IAAI,CAAC;QAGzC,mCAA8B,GAAkB,IAAI,CAAC;QAGrD,gBAAW,GAAW,CAAC,CAAC;QACxB,WAAM,GAA8B,IAAI,CAAC;QACzC,uBAAkB,GAAY,KAAK,CAAC;QACpC,gBAAW,GAAW,CAAC,CAAC;QACxB,YAAO,GAAY,KAAK,CAAC;QAGrB,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;QAChB,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QACnB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YACf,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,GAAG,CAAC,CAAC;QACnF,CAAC;IACL,CAAC;IAED,+BAA+B,CAAC,OAA2B;QACvD,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;QACrB,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;IAED,QAAQ;QACJ,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,GAAG,CAAC;IAC5D,CAAC;IAED,KAAK;QACD,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACzC,CAAC;CACJ;AAxCD,oCAwCC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.d.ts
deleted file mode 100644
index c7c8866..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
-import { FunctionBlockCall } from './FunctionBlockCall';
-export declare class SystemFunctionBlockCall extends FunctionBlockCall {
- templateValueName: string | null;
- templateValueType: string | null;
- templateValue: string | null;
- constructor(functionName: string, instanceName: string, eno?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=SystemFunctionBlockCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.d.ts.map
deleted file mode 100644
index ec6836d..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SystemFunctionBlockCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Base/SystemFunctionBlockCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,uBAAwB,SAAQ,iBAAiB;IAC1D,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAQ;IACxC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAQ;IACxC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAQ;gBAExB,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAGhG"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.js b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.js
deleted file mode 100644
index 637c984..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.js
+++ /dev/null
@@ -1,14 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.SystemFunctionBlockCall = void 0;
-const FunctionBlockCall_1 = require("./FunctionBlockCall");
-class SystemFunctionBlockCall extends FunctionBlockCall_1.FunctionBlockCall {
- constructor(functionName, instanceName, eno = null) {
- super(functionName, instanceName, eno);
- this.templateValueName = null;
- this.templateValueType = null;
- this.templateValue = null;
- }
-}
-exports.SystemFunctionBlockCall = SystemFunctionBlockCall;
-//# sourceMappingURL=SystemFunctionBlockCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.js.map
deleted file mode 100644
index ad3dcb7..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionBlockCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SystemFunctionBlockCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Base/SystemFunctionBlockCall.ts"],"names":[],"mappings":";;;AACA,2DAAwD;AAExD,MAAa,uBAAwB,SAAQ,qCAAiB;IAK1D,YAAY,YAAoB,EAAE,YAAoB,EAAE,MAAiC,IAAI;QACzF,KAAK,CAAC,YAAY,EAAE,YAAY,EAAE,GAAG,CAAC,CAAC;QAL3C,sBAAiB,GAAkB,IAAI,CAAC;QACxC,sBAAiB,GAAkB,IAAI,CAAC;QACxC,kBAAa,GAAkB,IAAI,CAAC;IAIpC,CAAC;CACJ;AARD,0DAQC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.d.ts
deleted file mode 100644
index c9a77c0..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../../Interfaces/IOperationOrSignal';
-import { FunctionCall } from './FunctionCall';
-export declare class SystemFunctionCall extends FunctionCall {
- constructor(functionName: string, eno?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=SystemFunctionCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.d.ts.map
deleted file mode 100644
index 56378ee..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SystemFunctionCall.d.ts","sourceRoot":"","sources":["../../../../src/Commands/Functions/Base/SystemFunctionCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,qBAAa,kBAAmB,SAAQ,YAAY;gBACpC,YAAY,EAAE,MAAM,EAAE,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAG1E"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.js b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.js
deleted file mode 100644
index 9a60031..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.SystemFunctionCall = void 0;
-const FunctionCall_1 = require("./FunctionCall");
-class SystemFunctionCall extends FunctionCall_1.FunctionCall {
- constructor(functionName, eno = null) {
- super(functionName, eno);
- }
-}
-exports.SystemFunctionCall = SystemFunctionCall;
-//# sourceMappingURL=SystemFunctionCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.js.map
deleted file mode 100644
index 6f66e69..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/Base/SystemFunctionCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SystemFunctionCall.js","sourceRoot":"","sources":["../../../../src/Commands/Functions/Base/SystemFunctionCall.ts"],"names":[],"mappings":";;;AACA,iDAA8C;AAE9C,MAAa,kBAAmB,SAAQ,2BAAY;IAChD,YAAY,YAAoB,EAAE,MAAiC,IAAI;QACnE,KAAK,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;IAC7B,CAAC;CACJ;AAJD,gDAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/CTUCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/CTUCall.d.ts
deleted file mode 100644
index 7f58edd..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/CTUCall.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { SystemFunctionBlockCall } from './Base/SystemFunctionBlockCall';
-export declare class CTUCall extends SystemFunctionBlockCall {
- constructor(instanceName: string, r?: IOperationOrSignal | null, pv?: IOperationOrSignal | null, q?: IOperationOrSignal | null, cv?: IOperationOrSignal | null, templateValue?: string);
-}
-//# sourceMappingURL=CTUCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/CTUCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/CTUCall.d.ts.map
deleted file mode 100644
index 63c81e2..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/CTUCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"CTUCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/CTUCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBAAa,OAAQ,SAAQ,uBAAuB;gBAE5C,YAAY,EAAE,MAAM,EACpB,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,EAAE,GAAE,kBAAkB,GAAG,IAAW,EACpC,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,EAAE,GAAE,kBAAkB,GAAG,IAAW,EACpC,aAAa,GAAE,MAAc;CAiBpC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/CTUCall.js b/TiaCodegen-ts/dist/Commands/Functions/CTUCall.js
deleted file mode 100644
index fd78729..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/CTUCall.js
+++ /dev/null
@@ -1,25 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.CTUCall = void 0;
-const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
-const Direction_1 = require("../../Enums/Direction");
-const SystemFunctionBlockCall_1 = require("./Base/SystemFunctionBlockCall");
-class CTUCall extends SystemFunctionBlockCall_1.SystemFunctionBlockCall {
- constructor(instanceName, r = null, pv = null, q = null, cv = null, templateValue = 'Int') {
- super('CTU', instanceName, null);
- this.iface['R'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(r, Direction_1.Direction.Input);
- this.iface['PV'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(pv, Direction_1.Direction.Input);
- this.iface['Q'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(q, Direction_1.Direction.Output);
- this.iface['CV'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(cv, Direction_1.Direction.Output);
- this.templateValueName = 'value_type';
- this.templateValueType = 'Type';
- this.templateValue = templateValue;
- this.hasNoEn = true;
- for (const w of Object.values(this.iface)) {
- if (w.operationOrSignal !== null)
- this.children.push(w.operationOrSignal);
- }
- }
-}
-exports.CTUCall = CTUCall;
-//# sourceMappingURL=CTUCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/CTUCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/CTUCall.js.map
deleted file mode 100644
index ed7f55a..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/CTUCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"CTUCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/CTUCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,4EAAyE;AAEzE,MAAa,OAAQ,SAAQ,iDAAuB;IAChD,YACI,YAAoB,EACpB,IAA+B,IAAI,EACnC,KAAgC,IAAI,EACpC,IAA+B,IAAI,EACnC,KAAgC,IAAI,EACpC,gBAAwB,KAAK;QAE7B,KAAK,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,uEAAkC,CAAC,CAAC,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAC7E,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAC/E,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,uEAAkC,CAAC,CAAC,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAC9E,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEhF,IAAI,CAAC,iBAAiB,GAAG,YAAY,CAAC;QACtC,IAAI,CAAC,iBAAiB,GAAG,MAAM,CAAC;QAChC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QAEpB,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAxBD,0BAwBC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.d.ts
deleted file mode 100644
index 5497ca4..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { SystemFunctionBlockCall } from './Base/SystemFunctionBlockCall';
-export declare class CTUDCall extends SystemFunctionBlockCall {
- constructor(instanceName: string, cd?: IOperationOrSignal | null, r?: IOperationOrSignal | null, ld?: IOperationOrSignal | null, pv?: IOperationOrSignal | null, qu?: IOperationOrSignal | null, qd?: IOperationOrSignal | null, cv?: IOperationOrSignal | null, templateValue?: string);
-}
-//# sourceMappingURL=CTUDCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.d.ts.map
deleted file mode 100644
index eb40a50..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"CTUDCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/CTUDCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBAAa,QAAS,SAAQ,uBAAuB;gBAE7C,YAAY,EAAE,MAAM,EACpB,EAAE,GAAE,kBAAkB,GAAG,IAAW,EACpC,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,EAAE,GAAE,kBAAkB,GAAG,IAAW,EACpC,EAAE,GAAE,kBAAkB,GAAG,IAAW,EACpC,EAAE,GAAE,kBAAkB,GAAG,IAAW,EACpC,EAAE,GAAE,kBAAkB,GAAG,IAAW,EACpC,EAAE,GAAE,kBAAkB,GAAG,IAAW,EACpC,aAAa,GAAE,MAAc;CAoBpC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.js b/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.js
deleted file mode 100644
index 98a0b1c..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.js
+++ /dev/null
@@ -1,28 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.CTUDCall = void 0;
-const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
-const Direction_1 = require("../../Enums/Direction");
-const SystemFunctionBlockCall_1 = require("./Base/SystemFunctionBlockCall");
-class CTUDCall extends SystemFunctionBlockCall_1.SystemFunctionBlockCall {
- constructor(instanceName, cd = null, r = null, ld = null, pv = null, qu = null, qd = null, cv = null, templateValue = 'Int') {
- super('CTUD', instanceName, null);
- this.iface['CD'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(cd, Direction_1.Direction.Input);
- this.iface['R'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(r, Direction_1.Direction.Input);
- this.iface['LD'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(ld, Direction_1.Direction.Input);
- this.iface['PV'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(pv, Direction_1.Direction.Input);
- this.iface['QU'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(qu, Direction_1.Direction.Output);
- this.iface['QD'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(qd, Direction_1.Direction.Output);
- this.iface['CV'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(cv, Direction_1.Direction.Output);
- this.templateValueName = 'value_type';
- this.templateValueType = 'Type';
- this.templateValue = templateValue;
- this.hasNoEn = true;
- for (const w of Object.values(this.iface)) {
- if (w.operationOrSignal !== null)
- this.children.push(w.operationOrSignal);
- }
- }
-}
-exports.CTUDCall = CTUDCall;
-//# sourceMappingURL=CTUDCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.js.map
deleted file mode 100644
index 9936cf5..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/CTUDCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"CTUDCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/CTUDCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,4EAAyE;AAEzE,MAAa,QAAS,SAAQ,iDAAuB;IACjD,YACI,YAAoB,EACpB,KAAgC,IAAI,EACpC,IAA+B,IAAI,EACnC,KAAgC,IAAI,EACpC,KAAgC,IAAI,EACpC,KAAgC,IAAI,EACpC,KAAgC,IAAI,EACpC,KAAgC,IAAI,EACpC,gBAAwB,KAAK;QAE7B,KAAK,CAAC,MAAM,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;QAClC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEA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Codegen-ts/dist/Commands/Functions/FDBACKCall.d.ts
deleted file mode 100644
index 990391f..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { SystemFunctionBlockCall } from './Base/SystemFunctionBlockCall';
-export declare class FDBACKCall extends SystemFunctionBlockCall {
- constructor(instanceName: string, on?: IOperationOrSignal | null, feedback?: IOperationOrSignal | null, qbad_fio?: IOperationOrSignal | null, ack_nec?: IOperationOrSignal | null, ack?: IOperationOrSignal | null, fdb_time?: IOperationOrSignal | null, q?: IOperationOrSignal | null, error?: IOperationOrSignal | null, ack_req?: IOperationOrSignal | null, diag?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=FDBACKCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.d.ts.map
deleted file mode 100644
index 4d58944..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"FDBACKCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/FDBACKCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBAAa,UAAW,SAAQ,uBAAuB;gBAE/C,YAAY,EAAE,MAAM,EACpB,EAAE,GAAE,kBAAkB,GAAG,IAAW,EACpC,QAAQ,GAAE,kBAAkB,GAAG,IAAW,EAC1C,QAAQ,GAAE,kBAAkB,GAAG,IAAW,EAC1C,OAAO,GAAE,kBAAkB,GAAG,IAAW,EACzC,GAAG,GAAE,kBAAkB,GAAG,IAAW,EACrC,QAAQ,GAAE,kBAAkB,GAAG,IAAW,EAC1C,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,KAAK,GAAE,kBAAkB,GAAG,IAAW,EACvC,OAAO,GAAE,kBAAkB,GAAG,IAAW,EACzC,IAAI,GAAE,kBAAkB,GAAG,IAAW;CAqB7C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.js b/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.js
deleted file mode 100644
index 8786a0f..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.js
+++ /dev/null
@@ -1,29 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.FDBACKCall = void 0;
-const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
-const Direction_1 = require("../../Enums/Direction");
-const SystemFunctionBlockCall_1 = require("./Base/SystemFunctionBlockCall");
-class FDBACKCall extends SystemFunctionBlockCall_1.SystemFunctionBlockCall {
- constructor(instanceName, on = null, feedback = null, qbad_fio = null, ack_nec = null, ack = null, fdb_time = null, q = null, error = null, ack_req = null, diag = null) {
- super('FDBACK', instanceName, null);
- this.iface['ON'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(on, Direction_1.Direction.Input);
- this.iface['FEEDBACK'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(feedback, Direction_1.Direction.Input);
- this.iface['QBAD_FIO'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(qbad_fio, Direction_1.Direction.Input);
- this.iface['ACK_NEC'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(ack_nec, Direction_1.Direction.Input);
- this.iface['ACK'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(ack, Direction_1.Direction.Input);
- this.iface['FDB_TIME'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(fdb_time, Direction_1.Direction.Input);
- this.iface['Q'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(q, Direction_1.Direction.Output);
- this.iface['ERROR'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(error, Direction_1.Direction.Output);
- this.iface['ACK_REQ'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(ack_req, Direction_1.Direction.Output);
- this.iface['DIAG'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(diag, Direction_1.Direction.Output);
- this.additionalSafetyTemplateValues = ` 1
- 0`;
- for (const w of Object.values(this.iface)) {
- if (w.operationOrSignal !== null)
- this.children.push(w.operationOrSignal);
- }
- }
-}
-exports.FDBACKCall = FDBACKCall;
-//# sourceMappingURL=FDBACKCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.js.map
deleted file mode 100644
index 39b84a7..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/FDBACKCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"FDBACKCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/FDBACKCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,4EAAyE;AAEzE,MAAa,UAAW,SAAQ,iDAAuB;IACnD,YACI,YAAoB,EACpB,KAAgC,IAAI,EACpC,WAAsC,IAAI,EAC1C,WAAsC,IAAI,EAC1C,UAAqC,IAAI,EACzC,MAAiC,IAAI,EACrC,WAAsC,IAAI,EAC1C,IAA+B,IAAI,EACnC,QAAmC,IAAI,EACvC,UAAqC,IAAI,EACzC,OAAkC,IAAI;QAEtC,KAAK,CAAC,QAAQ,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;QACpC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,KAAK,CAA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Q,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAjCD,gCAiCC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.d.ts
deleted file mode 100644
index db7f154..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { SystemFunctionBlockCall } from './Base/SystemFunctionBlockCall';
-export declare class FTrigCall extends SystemFunctionBlockCall {
- constructor(instanceName: string, clk?: IOperationOrSignal | null, q?: IOperationOrSignal | null, eno?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=FTrigCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.d.ts.map
deleted file mode 100644
index 1eac1e8..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"FTrigCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/FTrigCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBAAa,SAAU,SAAQ,uBAAuB;gBAE9C,YAAY,EAAE,MAAM,EACpB,GAAG,GAAE,kBAAkB,GAAG,IAAW,EACrC,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAU5C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.js b/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.js
deleted file mode 100644
index d6dfe09..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.js
+++ /dev/null
@@ -1,19 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.FTrigCall = void 0;
-const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
-const Direction_1 = require("../../Enums/Direction");
-const SystemFunctionBlockCall_1 = require("./Base/SystemFunctionBlockCall");
-class FTrigCall extends SystemFunctionBlockCall_1.SystemFunctionBlockCall {
- constructor(instanceName, clk = null, q = null, eno = null) {
- super('F_TRIG', instanceName, eno);
- this.iface['CLK'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(clk, Direction_1.Direction.Input);
- this.iface['Q'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(q, Direction_1.Direction.Output);
- for (const w of Object.values(this.iface)) {
- if (w.operationOrSignal !== null)
- this.children.push(w.operationOrSignal);
- }
- }
-}
-exports.FTrigCall = FTrigCall;
-//# sourceMappingURL=FTrigCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.js.map
deleted file mode 100644
index 3657435..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/FTrigCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"FTrigCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/FTrigCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,4EAAyE;AAEzE,MAAa,SAAU,SAAQ,iDAAuB;IAClD,YACI,YAAoB,EACpB,MAAiC,IAAI,EACrC,IAA+B,IAAI,EACnC,MAAiC,IAAI;QAErC,KAAK,CAAC,QAAQ,EAAE,YAAY,EAAE,GAAG,CAAC,CAAC;QACnC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,uEAAkC,CAAC,CAAC,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAE9E,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAfD,8BAeC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.d.ts
deleted file mode 100644
index bd12bda..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.d.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import { Signal } from '../Signals/Signal';
-import { IPartName } from '../../Interfaces/IPartName';
-import { BaseNPCoil } from '../Coils/BaseNPCoil';
-export declare class NTrigCall extends BaseNPCoil implements IPartName {
- partName: string;
- constructor(signal: Signal);
-}
-//# sourceMappingURL=NTrigCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.d.ts.map
deleted file mode 100644
index 988a446..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"NTrigCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/NTrigCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,qBAAa,SAAU,SAAQ,UAAW,YAAW,SAAS;IAC1D,QAAQ,EAAE,MAAM,CAAC;gBAEL,MAAM,EAAE,MAAM;CAI7B"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.js b/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.js
deleted file mode 100644
index e001f4a..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.js
+++ /dev/null
@@ -1,12 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.NTrigCall = void 0;
-const BaseNPCoil_1 = require("../Coils/BaseNPCoil");
-class NTrigCall extends BaseNPCoil_1.BaseNPCoil {
- constructor(signal) {
- super(signal, null, null);
- this.partName = 'NBox';
- }
-}
-exports.NTrigCall = NTrigCall;
-//# sourceMappingURL=NTrigCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.js.map
deleted file mode 100644
index c521e21..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/NTrigCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"NTrigCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/NTrigCall.ts"],"names":[],"mappings":";;;AAEA,oDAAiD;AAEjD,MAAa,SAAU,SAAQ,uBAAU;IAGrC,YAAY,MAAc;QACtB,KAAK,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAC1B,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC;IAC3B,CAAC;CACJ;AAPD,8BAOC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.d.ts
deleted file mode 100644
index 7d2b42e..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.d.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import { Signal } from '../Signals/Signal';
-import { IPartName } from '../../Interfaces/IPartName';
-import { BaseNPCoil } from '../Coils/BaseNPCoil';
-export declare class PTrigCall extends BaseNPCoil implements IPartName {
- partName: string;
- constructor(signal: Signal);
-}
-//# sourceMappingURL=PTrigCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.d.ts.map
deleted file mode 100644
index 721b413..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"PTrigCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/PTrigCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,qBAAa,SAAU,SAAQ,UAAW,YAAW,SAAS;IAC1D,QAAQ,EAAE,MAAM,CAAC;gBAEL,MAAM,EAAE,MAAM;CAI7B"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.js b/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.js
deleted file mode 100644
index 79c17c4..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.js
+++ /dev/null
@@ -1,12 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.PTrigCall = void 0;
-const BaseNPCoil_1 = require("../Coils/BaseNPCoil");
-class PTrigCall extends BaseNPCoil_1.BaseNPCoil {
- constructor(signal) {
- super(signal, null, null);
- this.partName = 'PBox';
- }
-}
-exports.PTrigCall = PTrigCall;
-//# sourceMappingURL=PTrigCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.js.map
deleted file mode 100644
index df9b0ca..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/PTrigCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"PTrigCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/PTrigCall.ts"],"names":[],"mappings":";;;AAEA,oDAAiD;AAEjD,MAAa,SAAU,SAAQ,uBAAU;IAGrC,YAAY,MAAc;QACtB,KAAK,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAC1B,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC;IAC3B,CAAC;CACJ;AAPD,8BAOC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.d.ts
deleted file mode 100644
index 96346d3..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { SystemFunctionBlockCall } from './Base/SystemFunctionBlockCall';
-export declare class RTrigCall extends SystemFunctionBlockCall {
- constructor(instanceName: string, clk?: IOperationOrSignal | null, q?: IOperationOrSignal | null, eno?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=RTrigCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.d.ts.map
deleted file mode 100644
index 5130cca..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"RTrigCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/RTrigCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBAAa,SAAU,SAAQ,uBAAuB;gBAE9C,YAAY,EAAE,MAAM,EACpB,GAAG,GAAE,kBAAkB,GAAG,IAAW,EACrC,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,GAAG,GAAE,kBAAkB,GAAG,IAAW;CAU5C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.js b/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.js
deleted file mode 100644
index 2086119..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.js
+++ /dev/null
@@ -1,19 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.RTrigCall = void 0;
-const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
-const Direction_1 = require("../../Enums/Direction");
-const SystemFunctionBlockCall_1 = require("./Base/SystemFunctionBlockCall");
-class RTrigCall extends SystemFunctionBlockCall_1.SystemFunctionBlockCall {
- constructor(instanceName, clk = null, q = null, eno = null) {
- super('R_TRIG', instanceName, eno);
- this.iface['CLK'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(clk, Direction_1.Direction.Input);
- this.iface['Q'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(q, Direction_1.Direction.Output);
- for (const w of Object.values(this.iface)) {
- if (w.operationOrSignal !== null)
- this.children.push(w.operationOrSignal);
- }
- }
-}
-exports.RTrigCall = RTrigCall;
-//# sourceMappingURL=RTrigCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.js.map
deleted file mode 100644
index 4145de3..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/RTrigCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"RTrigCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/RTrigCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,4EAAyE;AAEzE,MAAa,SAAU,SAAQ,iDAAuB;IAClD,YACI,YAAoB,EACpB,MAAiC,IAAI,EACrC,IAA+B,IAAI,EACnC,MAAiC,IAAI;QAErC,KAAK,CAAC,QAAQ,EAAE,YAAY,EAAE,GAAG,CAAC,CAAC;QACnC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,uEAAkC,CAAC,GAAG,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QACjF,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,uEAAkC,CAAC,CAAC,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAE9E,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AAfD,8BAeC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TOFCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/TOFCall.d.ts
deleted file mode 100644
index bf35a40..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/TOFCall.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { SystemFunctionBlockCall } from './Base/SystemFunctionBlockCall';
-export declare class TOFCall extends SystemFunctionBlockCall {
- constructor(instanceName: string, pt?: IOperationOrSignal | null, q?: IOperationOrSignal | null, et?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=TOFCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TOFCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/TOFCall.d.ts.map
deleted file mode 100644
index f99d74e..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/TOFCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"TOFCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/TOFCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBAAa,OAAQ,SAAQ,uBAAuB;gBAE5C,YAAY,EAAE,MAAM,EACpB,EAAE,GAAE,kBAAkB,GAAG,IAAW,EAEpC,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,EAAE,GAAE,kBAAkB,GAAG,IAAW;CAuB3C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TOFCall.js b/TiaCodegen-ts/dist/Commands/Functions/TOFCall.js
deleted file mode 100644
index d0a1aba..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/TOFCall.js
+++ /dev/null
@@ -1,29 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.TOFCall = void 0;
-const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
-const Direction_1 = require("../../Enums/Direction");
-const SystemFunctionBlockCall_1 = require("./Base/SystemFunctionBlockCall");
-class TOFCall extends SystemFunctionBlockCall_1.SystemFunctionBlockCall {
- constructor(instanceName, pt = null, q = null, et = null) {
- super('TOF', instanceName, null);
- this.iface['PT'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(pt, Direction_1.Direction.Input);
- this.iface['Q'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(q, Direction_1.Direction.Output);
- this.iface['ET'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(et, Direction_1.Direction.Output);
- this.templateValueName = 'time_type';
- this.templateValueType = 'Type';
- this.templateValue = 'Time';
- this.hasNoEn = true;
- this.safetyTemplateString = ` 1
- 0
- 0
- 0
- DInt`;
- for (const w of Object.values(this.iface)) {
- if (w.operationOrSignal !== null)
- this.children.push(w.operationOrSignal);
- }
- }
-}
-exports.TOFCall = TOFCall;
-//# sourceMappingURL=TOFCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TOFCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/TOFCall.js.map
deleted file mode 100644
index 0a21b16..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/TOFCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"TOFCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/TOFCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,4EAAyE;AAEzE,MAAa,OAAQ,SAAQ,iDAAuB;IAChD,YACI,YAAoB,EACpB,KAAgC,IAAI,EAEpC,IAA+B,IAAI,EACnC,KAAgC,IAAI;QAEpC,KAAK,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAE/E,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,uEAAkC,CAAC,CAAC,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAC9E,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEhF,IAAI,CAAC,iBAAiB,GAAG,WAAW,CAAC;QACrC,IAAI,CAAC,iBAAiB,GAAG,MAAM,CAAC;QAChC,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QAEpB,IAAI,CAAC,oBAAoB,GAAG;;;;4EAIwC,CAAC;QAErE,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AA7BD,0BA6BC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TONCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/TONCall.d.ts
deleted file mode 100644
index 6b2c22a..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/TONCall.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { SystemFunctionBlockCall } from './Base/SystemFunctionBlockCall';
-export declare class TONCall extends SystemFunctionBlockCall {
- constructor(instanceName: string, pt?: IOperationOrSignal | null, q?: IOperationOrSignal | null, et?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=TONCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TONCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/TONCall.d.ts.map
deleted file mode 100644
index 1034179..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/TONCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"TONCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/TONCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBAAa,OAAQ,SAAQ,uBAAuB;gBAE5C,YAAY,EAAE,MAAM,EACpB,EAAE,GAAE,kBAAkB,GAAG,IAAW,EAEpC,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,EAAE,GAAE,kBAAkB,GAAG,IAAW;CAuB3C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TONCall.js b/TiaCodegen-ts/dist/Commands/Functions/TONCall.js
deleted file mode 100644
index 055626d..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/TONCall.js
+++ /dev/null
@@ -1,29 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.TONCall = void 0;
-const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
-const Direction_1 = require("../../Enums/Direction");
-const SystemFunctionBlockCall_1 = require("./Base/SystemFunctionBlockCall");
-class TONCall extends SystemFunctionBlockCall_1.SystemFunctionBlockCall {
- constructor(instanceName, pt = null, q = null, et = null) {
- super('TON', instanceName, null);
- this.iface['PT'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(pt, Direction_1.Direction.Input);
- this.iface['Q'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(q, Direction_1.Direction.Output);
- this.iface['ET'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(et, Direction_1.Direction.Output);
- this.templateValueName = 'time_type';
- this.templateValueType = 'Type';
- this.templateValue = 'Time';
- this.hasNoEn = true;
- this.safetyTemplateString = ` 1
- 0
- 0
- 0
- DInt`;
- for (const w of Object.values(this.iface)) {
- if (w.operationOrSignal !== null)
- this.children.push(w.operationOrSignal);
- }
- }
-}
-exports.TONCall = TONCall;
-//# sourceMappingURL=TONCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TONCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/TONCall.js.map
deleted file mode 100644
index aa3f4d5..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/TONCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"TONCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/TONCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,4EAAyE;AAEzE,MAAa,OAAQ,SAAQ,iDAAuB;IAChD,YACI,YAAoB,EACpB,KAAgC,IAAI,EAEpC,IAA+B,IAAI,EACnC,KAAgC,IAAI;QAEpC,KAAK,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAE/E,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,uEAAkC,CAAC,CAAC,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAC9E,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEhF,IAAI,CAAC,iBAAiB,GAAG,WAAW,CAAC;QACrC,IAAI,CAAC,iBAAiB,GAAG,MAAM,CAAC;QAChC,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QAEpB,IAAI,CAAC,oBAAoB,GAAG;;;;4EAIwC,CAAC;QAErE,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AA7BD,0BA6BC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TONRCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/TONRCall.d.ts
deleted file mode 100644
index 9b90cf6..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/TONRCall.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { SystemFunctionBlockCall } from './Base/SystemFunctionBlockCall';
-export declare class TONRCall extends SystemFunctionBlockCall {
- constructor(instanceName: string, pt?: IOperationOrSignal | null, r?: IOperationOrSignal | null, q?: IOperationOrSignal | null, et?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=TONRCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TONRCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/TONRCall.d.ts.map
deleted file mode 100644
index f58266d..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/TONRCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"TONRCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/TONRCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBAAa,QAAS,SAAQ,uBAAuB;gBAE7C,YAAY,EAAE,MAAM,EACpB,EAAE,GAAE,kBAAkB,GAAG,IAAW,EACpC,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,EAAE,GAAE,kBAAkB,GAAG,IAAW;CAuB3C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TONRCall.js b/TiaCodegen-ts/dist/Commands/Functions/TONRCall.js
deleted file mode 100644
index 0d2b86a..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/TONRCall.js
+++ /dev/null
@@ -1,30 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.TONRCall = void 0;
-const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
-const Direction_1 = require("../../Enums/Direction");
-const SystemFunctionBlockCall_1 = require("./Base/SystemFunctionBlockCall");
-class TONRCall extends SystemFunctionBlockCall_1.SystemFunctionBlockCall {
- constructor(instanceName, pt = null, r = null, q = null, et = null) {
- super('TONR', instanceName, null);
- this.iface['PT'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(pt, Direction_1.Direction.Input);
- this.iface['R'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(r, Direction_1.Direction.Input);
- this.iface['Q'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(q, Direction_1.Direction.Output);
- this.iface['ET'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(et, Direction_1.Direction.Output);
- this.templateValueName = 'time_type';
- this.templateValueType = 'Type';
- this.templateValue = 'Time';
- this.hasNoEn = true;
- this.safetyTemplateString = ` 1
- 0
- 0
- 0
- DInt`;
- for (const w of Object.values(this.iface)) {
- if (w.operationOrSignal !== null)
- this.children.push(w.operationOrSignal);
- }
- }
-}
-exports.TONRCall = TONRCall;
-//# sourceMappingURL=TONRCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TONRCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/TONRCall.js.map
deleted file mode 100644
index d00e67a..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/TONRCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"TONRCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/TONRCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,4EAAyE;AAEzE,MAAa,QAAS,SAAQ,iDAAuB;IACjD,YACI,YAAoB,EACpB,KAAgC,IAAI,EACpC,IAA+B,IAAI,EACnC,IAA+B,IAAI,EACnC,KAAgC,IAAI;QAEpC,KAAK,CAAC,MAAM,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;QAClC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAC/E,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,uEAAkC,CAAC,CAAC,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAC7E,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,uEAAkC,CAAC,CAAC,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAC9E,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEhF,IAAI,CAAC,iBAAiB,GAAG,WAAW,CAAC;QACrC,IAAI,CAAC,iBAAiB,GAAG,MAAM,CAAC;QAChC,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QAEpB,IAAI,CAAC,oBAAoB,GAAG;;;;4EAIwC,CAAC;QAErE,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AA7BD,4BA6BC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TPCall.d.ts b/TiaCodegen-ts/dist/Commands/Functions/TPCall.d.ts
deleted file mode 100644
index 4cd60fa..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/TPCall.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { SystemFunctionBlockCall } from './Base/SystemFunctionBlockCall';
-export declare class TPCall extends SystemFunctionBlockCall {
- constructor(instanceName: string, pt?: IOperationOrSignal | null, q?: IOperationOrSignal | null, et?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=TPCall.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TPCall.d.ts.map b/TiaCodegen-ts/dist/Commands/Functions/TPCall.d.ts.map
deleted file mode 100644
index 58e4446..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/TPCall.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"TPCall.d.ts","sourceRoot":"","sources":["../../../src/Commands/Functions/TPCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBAAa,MAAO,SAAQ,uBAAuB;gBAE3C,YAAY,EAAE,MAAM,EACpB,EAAE,GAAE,kBAAkB,GAAG,IAAW,EAEpC,CAAC,GAAE,kBAAkB,GAAG,IAAW,EACnC,EAAE,GAAE,kBAAkB,GAAG,IAAW;CAuB3C"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TPCall.js b/TiaCodegen-ts/dist/Commands/Functions/TPCall.js
deleted file mode 100644
index aa1476b..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/TPCall.js
+++ /dev/null
@@ -1,29 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.TPCall = void 0;
-const IOperationOrSignalDirectionWrapper_1 = require("../../Interfaces/IOperationOrSignalDirectionWrapper");
-const Direction_1 = require("../../Enums/Direction");
-const SystemFunctionBlockCall_1 = require("./Base/SystemFunctionBlockCall");
-class TPCall extends SystemFunctionBlockCall_1.SystemFunctionBlockCall {
- constructor(instanceName, pt = null, q = null, et = null) {
- super('TP', instanceName, null);
- this.iface['PT'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(pt, Direction_1.Direction.Input);
- this.iface['Q'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(q, Direction_1.Direction.Output);
- this.iface['ET'] = new IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper(et, Direction_1.Direction.Output);
- this.templateValueName = 'time_type';
- this.templateValueType = 'Type';
- this.templateValue = 'Time';
- this.hasNoEn = true;
- this.safetyTemplateString = ` 1
- 0
- 0
- 0
- DInt`;
- for (const w of Object.values(this.iface)) {
- if (w.operationOrSignal !== null)
- this.children.push(w.operationOrSignal);
- }
- }
-}
-exports.TPCall = TPCall;
-//# sourceMappingURL=TPCall.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Functions/TPCall.js.map b/TiaCodegen-ts/dist/Commands/Functions/TPCall.js.map
deleted file mode 100644
index 9f0b74c..0000000
--- a/TiaCodegen-ts/dist/Commands/Functions/TPCall.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"TPCall.js","sourceRoot":"","sources":["../../../src/Commands/Functions/TPCall.ts"],"names":[],"mappings":";;;AACA,4GAAyG;AACzG,qDAAkD;AAClD,4EAAyE;AAEzE,MAAa,MAAO,SAAQ,iDAAuB;IAC/C,YACI,YAAoB,EACpB,KAAgC,IAAI,EAEpC,IAA+B,IAAI,EACnC,KAAgC,IAAI;QAEpC,KAAK,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;QAChC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,KAAK,CAAC,CAAC;QAE/E,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,uEAAkC,CAAC,CAAC,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAC9E,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,uEAAkC,CAAC,EAAE,EAAE,qBAAS,CAAC,MAAM,CAAC,CAAC;QAEhF,IAAI,CAAC,iBAAiB,GAAG,WAAW,CAAC;QACrC,IAAI,CAAC,iBAAiB,GAAG,MAAM,CAAC;QAChC,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QAEpB,IAAI,CAAC,oBAAoB,GAAG;;;;4EAIwC,CAAC;QAErE,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,CAAC,iBAAiB,KAAK,IAAI;gBAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;QAC9E,CAAC;IACL,CAAC;CACJ;AA7BD,wBA6BC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Move.d.ts b/TiaCodegen-ts/dist/Commands/Move.d.ts
deleted file mode 100644
index 8263693..0000000
--- a/TiaCodegen-ts/dist/Commands/Move.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
-import { IFunctionOperation } from '../Interfaces/IFunctionOperation';
-import { BaseOperationOrSignal } from './BaseOperationOrSignal';
-export declare class Move extends BaseOperationOrSignal implements IFunctionOperation {
- constructor(...operationOrSignals: IOperationOrSignal[]);
- get cardinality(): number;
- set cardinality(_value: number);
-}
-//# sourceMappingURL=Move.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Move.d.ts.map b/TiaCodegen-ts/dist/Commands/Move.d.ts.map
deleted file mode 100644
index 0da06c8..0000000
--- a/TiaCodegen-ts/dist/Commands/Move.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Move.d.ts","sourceRoot":"","sources":["../../src/Commands/Move.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,qBAAa,IAAK,SAAQ,qBAAsB,YAAW,kBAAkB;gBAC7D,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;IAIvD,IAAI,WAAW,IAAI,MAAM,CAExB;IACD,IAAI,WAAW,CAAC,MAAM,EAAE,MAAM,EAE7B;CACJ"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Move.js b/TiaCodegen-ts/dist/Commands/Move.js
deleted file mode 100644
index af666e5..0000000
--- a/TiaCodegen-ts/dist/Commands/Move.js
+++ /dev/null
@@ -1,17 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Move = void 0;
-const BaseOperationOrSignal_1 = require("./BaseOperationOrSignal");
-class Move extends BaseOperationOrSignal_1.BaseOperationOrSignal {
- constructor(...operationOrSignals) {
- super(...operationOrSignals);
- }
- get cardinality() {
- return this.children.length - 1;
- }
- set cardinality(_value) {
- // readonly via getter, ignore sets
- }
-}
-exports.Move = Move;
-//# sourceMappingURL=Move.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Move.js.map b/TiaCodegen-ts/dist/Commands/Move.js.map
deleted file mode 100644
index 5f3158b..0000000
--- a/TiaCodegen-ts/dist/Commands/Move.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Move.js","sourceRoot":"","sources":["../../src/Commands/Move.ts"],"names":[],"mappings":";;;AAEA,mEAAgE;AAEhE,MAAa,IAAK,SAAQ,6CAAqB;IAC3C,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;IAED,IAAI,WAAW;QACX,OAAO,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC;IACpC,CAAC;IACD,IAAI,WAAW,CAAC,MAAc;QAC1B,mCAAmC;IACvC,CAAC;CACJ;AAXD,oBAWC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/NCoil.d.ts b/TiaCodegen-ts/dist/Commands/NCoil.d.ts
deleted file mode 100644
index 6061ccc..0000000
--- a/TiaCodegen-ts/dist/Commands/NCoil.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
-import { Signal } from './Signals/Signal';
-import { BaseNPCoil } from './Coils/BaseNPCoil';
-export declare class NCoil extends BaseNPCoil {
- constructor(signal: Signal, helpSignal: Signal, op?: IOperationOrSignal | null);
-}
-//# sourceMappingURL=NCoil.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/NCoil.d.ts.map b/TiaCodegen-ts/dist/Commands/NCoil.d.ts.map
deleted file mode 100644
index 1565e70..0000000
--- a/TiaCodegen-ts/dist/Commands/NCoil.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"NCoil.d.ts","sourceRoot":"","sources":["../../src/Commands/NCoil.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,qBAAa,KAAM,SAAQ,UAAU;gBACrB,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,GAAE,kBAAkB,GAAG,IAAW;CAGvF"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/NCoil.js b/TiaCodegen-ts/dist/Commands/NCoil.js
deleted file mode 100644
index 1ec73c5..0000000
--- a/TiaCodegen-ts/dist/Commands/NCoil.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.NCoil = void 0;
-const BaseNPCoil_1 = require("./Coils/BaseNPCoil");
-class NCoil extends BaseNPCoil_1.BaseNPCoil {
- constructor(signal, helpSignal, op = null) {
- super(signal, helpSignal, op);
- }
-}
-exports.NCoil = NCoil;
-//# sourceMappingURL=NCoil.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/NCoil.js.map b/TiaCodegen-ts/dist/Commands/NCoil.js.map
deleted file mode 100644
index ead488a..0000000
--- a/TiaCodegen-ts/dist/Commands/NCoil.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"NCoil.js","sourceRoot":"","sources":["../../src/Commands/NCoil.ts"],"names":[],"mappings":";;;AAEA,mDAAgD;AAEhD,MAAa,KAAM,SAAQ,uBAAU;IACjC,YAAY,MAAc,EAAE,UAAkB,EAAE,KAAgC,IAAI;QAChF,KAAK,CAAC,MAAM,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC;IAClC,CAAC;CACJ;AAJD,sBAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Not.d.ts b/TiaCodegen-ts/dist/Commands/Not.d.ts
deleted file mode 100644
index 81fa5ba..0000000
--- a/TiaCodegen-ts/dist/Commands/Not.d.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
-import { Signal } from './Signals/Signal';
-export declare class Not implements IOperationOrSignal {
- debugInfo: string | null;
- children: IOperationOrSignal[];
- operationId: number;
- doNotCreateContact: boolean;
- cardinality: number;
- parent: IOperationOrSignal | null;
- constructor(signal: Signal);
- createContactAndFillCardinality(_parent: IOperationOrSignal): number;
- clone(): IOperationOrSignal;
- toString(): string;
-}
-//# sourceMappingURL=Not.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Not.d.ts.map b/TiaCodegen-ts/dist/Commands/Not.d.ts.map
deleted file mode 100644
index 9e87fec..0000000
--- a/TiaCodegen-ts/dist/Commands/Not.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Not.d.ts","sourceRoot":"","sources":["../../src/Commands/Not.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,qBAAa,GAAI,YAAW,kBAAkB;IAC1C,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAChC,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAC/B,WAAW,EAAE,MAAM,CAAK;IACxB,kBAAkB,EAAE,OAAO,CAAS;IACpC,WAAW,EAAE,MAAM,CAAK;IACxB,MAAM,EAAE,kBAAkB,GAAG,IAAI,CAAQ;gBAE7B,MAAM,EAAE,MAAM;IAK1B,+BAA+B,CAAC,OAAO,EAAE,kBAAkB,GAAG,MAAM;IAKpE,KAAK,IAAI,kBAAkB;IAI3B,QAAQ,IAAI,MAAM;CAGrB"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Not.js b/TiaCodegen-ts/dist/Commands/Not.js
deleted file mode 100644
index a0fb65d..0000000
--- a/TiaCodegen-ts/dist/Commands/Not.js
+++ /dev/null
@@ -1,26 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Not = void 0;
-class Not {
- constructor(signal) {
- this.debugInfo = null;
- this.operationId = 0;
- this.doNotCreateContact = false;
- this.cardinality = 0;
- this.parent = null;
- this.children = [];
- this.children.push(signal);
- }
- createContactAndFillCardinality(_parent) {
- this.cardinality = 1;
- return this.cardinality;
- }
- clone() {
- return new Not(this.children[0].clone());
- }
- toString() {
- return this.constructor.name;
- }
-}
-exports.Not = Not;
-//# sourceMappingURL=Not.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Not.js.map b/TiaCodegen-ts/dist/Commands/Not.js.map
deleted file mode 100644
index 469058e..0000000
--- a/TiaCodegen-ts/dist/Commands/Not.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Not.js","sourceRoot":"","sources":["../../src/Commands/Not.ts"],"names":[],"mappings":";;;AAGA,MAAa,GAAG;IAQZ,YAAY,MAAc;QAP1B,cAAS,GAAkB,IAAI,CAAC;QAEhC,gBAAW,GAAW,CAAC,CAAC;QACxB,uBAAkB,GAAY,KAAK,CAAC;QACpC,gBAAW,GAAW,CAAC,CAAC;QACxB,WAAM,GAA8B,IAAI,CAAC;QAGrC,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QACnB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC/B,CAAC;IAED,+BAA+B,CAAC,OAA2B;QACvD,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;QACrB,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;IAED,KAAK;QACD,OAAO,IAAI,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,EAAY,CAAC,CAAC;IACvD,CAAC;IAED,QAAQ;QACJ,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACjC,CAAC;CACJ;AAzBD,kBAyBC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Or.d.ts b/TiaCodegen-ts/dist/Commands/Or.d.ts
deleted file mode 100644
index cbff288..0000000
--- a/TiaCodegen-ts/dist/Commands/Or.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
-import { BaseOperationOrSignal } from './BaseOperationOrSignal';
-export declare class Or extends BaseOperationOrSignal {
- constructor(...operationOrSignals: IOperationOrSignal[]);
- createContactAndFillCardinality(parent: IOperationOrSignal): number;
-}
-//# sourceMappingURL=Or.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Or.d.ts.map b/TiaCodegen-ts/dist/Commands/Or.d.ts.map
deleted file mode 100644
index 5828297..0000000
--- a/TiaCodegen-ts/dist/Commands/Or.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Or.d.ts","sourceRoot":"","sources":["../../src/Commands/Or.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,qBAAa,EAAG,SAAQ,qBAAqB;gBAC7B,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;IAIvD,+BAA+B,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM;CAStE"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Or.js b/TiaCodegen-ts/dist/Commands/Or.js
deleted file mode 100644
index 041324a..0000000
--- a/TiaCodegen-ts/dist/Commands/Or.js
+++ /dev/null
@@ -1,20 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Or = void 0;
-const BaseOperationOrSignal_1 = require("./BaseOperationOrSignal");
-class Or extends BaseOperationOrSignal_1.BaseOperationOrSignal {
- constructor(...operationOrSignals) {
- super(...operationOrSignals);
- }
- createContactAndFillCardinality(parent) {
- let c = 0;
- this.operationId = parent.operationId;
- for (const op of this.children) {
- c += op.createContactAndFillCardinality(this);
- }
- this.cardinality = c;
- return this.cardinality;
- }
-}
-exports.Or = Or;
-//# sourceMappingURL=Or.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Or.js.map b/TiaCodegen-ts/dist/Commands/Or.js.map
deleted file mode 100644
index df00ecb..0000000
--- a/TiaCodegen-ts/dist/Commands/Or.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Or.js","sourceRoot":"","sources":["../../src/Commands/Or.ts"],"names":[],"mappings":";;;AACA,mEAAgE;AAEhE,MAAa,EAAG,SAAQ,6CAAqB;IACzC,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;IAED,+BAA+B,CAAC,MAA0B;QACtD,IAAI,CAAC,GAAG,CAAC,CAAC;QACV,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QACtC,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAC7B,CAAC,IAAI,EAAE,CAAC,+BAA+B,CAAC,IAAI,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;QACrB,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;CACJ;AAdD,gBAcC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/S_Move.d.ts b/TiaCodegen-ts/dist/Commands/S_Move.d.ts
deleted file mode 100644
index b0cf9c9..0000000
--- a/TiaCodegen-ts/dist/Commands/S_Move.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
-import { IFunctionOperation } from '../Interfaces/IFunctionOperation';
-import { BaseOperationOrSignal } from './BaseOperationOrSignal';
-export declare class S_Move extends BaseOperationOrSignal implements IFunctionOperation {
- constructor(...operationOrSignals: IOperationOrSignal[]);
- get cardinality(): number;
- set cardinality(_value: number);
-}
-//# sourceMappingURL=S_Move.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/S_Move.d.ts.map b/TiaCodegen-ts/dist/Commands/S_Move.d.ts.map
deleted file mode 100644
index 9816a40..0000000
--- a/TiaCodegen-ts/dist/Commands/S_Move.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"S_Move.d.ts","sourceRoot":"","sources":["../../src/Commands/S_Move.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,qBAAa,MAAO,SAAQ,qBAAsB,YAAW,kBAAkB;gBAC/D,GAAG,kBAAkB,EAAE,kBAAkB,EAAE;IAIvD,IAAI,WAAW,IAAI,MAAM,CAExB;IACD,IAAI,WAAW,CAAC,MAAM,EAAE,MAAM,EAE7B;CACJ"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/S_Move.js b/TiaCodegen-ts/dist/Commands/S_Move.js
deleted file mode 100644
index df962f3..0000000
--- a/TiaCodegen-ts/dist/Commands/S_Move.js
+++ /dev/null
@@ -1,17 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.S_Move = void 0;
-const BaseOperationOrSignal_1 = require("./BaseOperationOrSignal");
-class S_Move extends BaseOperationOrSignal_1.BaseOperationOrSignal {
- constructor(...operationOrSignals) {
- super(...operationOrSignals);
- }
- get cardinality() {
- return 1;
- }
- set cardinality(_value) {
- // readonly, ignore
- }
-}
-exports.S_Move = S_Move;
-//# sourceMappingURL=S_Move.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/S_Move.js.map b/TiaCodegen-ts/dist/Commands/S_Move.js.map
deleted file mode 100644
index 686703b..0000000
--- a/TiaCodegen-ts/dist/Commands/S_Move.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"S_Move.js","sourceRoot":"","sources":["../../src/Commands/S_Move.ts"],"names":[],"mappings":";;;AAEA,mEAAgE;AAEhE,MAAa,MAAO,SAAQ,6CAAqB;IAC7C,YAAY,GAAG,kBAAwC;QACnD,KAAK,CAAC,GAAG,kBAAkB,CAAC,CAAC;IACjC,CAAC;IAED,IAAI,WAAW;QACX,OAAO,CAAC,CAAC;IACb,CAAC;IACD,IAAI,WAAW,CAAC,MAAc;QAC1B,mBAAmB;IACvB,CAAC;CACJ;AAXD,wBAWC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.d.ts b/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.d.ts
deleted file mode 100644
index fcf5cf0..0000000
--- a/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export { Signal, FixedSignal, FixedPeripherySignal } from './Signal';
-//# sourceMappingURL=FixedSignal.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.d.ts.map b/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.d.ts.map
deleted file mode 100644
index ad17c82..0000000
--- a/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"FixedSignal.d.ts","sourceRoot":"","sources":["../../../src/Commands/Signals/FixedSignal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.js b/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.js
deleted file mode 100644
index 5b5bb11..0000000
--- a/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.js
+++ /dev/null
@@ -1,8 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.FixedPeripherySignal = exports.FixedSignal = exports.Signal = void 0;
-var Signal_1 = require("./Signal");
-Object.defineProperty(exports, "Signal", { enumerable: true, get: function () { return Signal_1.Signal; } });
-Object.defineProperty(exports, "FixedSignal", { enumerable: true, get: function () { return Signal_1.FixedSignal; } });
-Object.defineProperty(exports, "FixedPeripherySignal", { enumerable: true, get: function () { return Signal_1.FixedPeripherySignal; } });
-//# sourceMappingURL=FixedSignal.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.js.map b/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.js.map
deleted file mode 100644
index eeffe21..0000000
--- a/TiaCodegen-ts/dist/Commands/Signals/FixedSignal.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"FixedSignal.js","sourceRoot":"","sources":["../../../src/Commands/Signals/FixedSignal.ts"],"names":[],"mappings":";;;AAAA,mCAAqE;AAA5D,gGAAA,MAAM,OAAA;AAAE,qGAAA,WAAW,OAAA;AAAE,8GAAA,oBAAoB,OAAA"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Signals/Signal.d.ts b/TiaCodegen-ts/dist/Commands/Signals/Signal.d.ts
deleted file mode 100644
index 656490c..0000000
--- a/TiaCodegen-ts/dist/Commands/Signals/Signal.d.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-import { IOperationOrSignal } from '../../Interfaces/IOperationOrSignal';
-import { SignalType } from '../../Enums/SignalType';
-import { StringBuilder } from '../../utils/StringBuilder';
-export declare class Signal implements IOperationOrSignal {
- debugInfo: string | null;
- operationId: number;
- signalId: number;
- name: string;
- description: string | null;
- signalType: SignalType;
- customType: string | null;
- children: IOperationOrSignal[];
- parent: IOperationOrSignal | null;
- doNotCreateContact: boolean;
- cardinality: number;
- constructor(nameOrValue: string | number | boolean, signalType?: SignalType, customType?: string, description?: string);
- createContactAndFillCardinality(_parent: IOperationOrSignal): number;
- escape(txt: string): string;
- unescape(txt: string): string;
- clone(): IOperationOrSignal;
- addXmlToStringBuilder(id: number, sb: StringBuilder): void;
- toString(): string;
-}
-export declare class FixedSignal extends Signal {
- constructor(name: string, signalType?: SignalType, customType?: string);
-}
-export declare class FixedPeripherySignal extends FixedSignal {
- constructor(name: string, signalType?: SignalType, customType?: string);
-}
-//# sourceMappingURL=Signal.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Signals/Signal.d.ts.map b/TiaCodegen-ts/dist/Commands/Signals/Signal.d.ts.map
deleted file mode 100644
index a6b7fd2..0000000
--- a/TiaCodegen-ts/dist/Commands/Signals/Signal.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Signal.d.ts","sourceRoot":"","sources":["../../../src/Commands/Signals/Signal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCA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end of file
diff --git a/TiaCodegen-ts/dist/Commands/Signals/Signal.js b/TiaCodegen-ts/dist/Commands/Signals/Signal.js
deleted file mode 100644
index 0ff5963..0000000
--- a/TiaCodegen-ts/dist/Commands/Signals/Signal.js
+++ /dev/null
@@ -1,373 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.FixedPeripherySignal = exports.FixedSignal = exports.Signal = void 0;
-const SignalType_1 = require("../../Enums/SignalType");
-class Signal {
- constructor(nameOrValue, signalType, customType, description) {
- this.debugInfo = null;
- this.operationId = 0;
- this.signalId = 0;
- this.parent = null;
- this.doNotCreateContact = false;
- this.cardinality = 0;
- if (typeof nameOrValue === 'number') {
- this.name = nameOrValue.toString();
- this.signalType = SignalType_1.SignalType.ConstantInt;
- this.description = null;
- this.customType = null;
- }
- else if (typeof nameOrValue === 'boolean') {
- this.name = nameOrValue.toString().toUpperCase();
- this.signalType = SignalType_1.SignalType.ConstantBool;
- this.description = null;
- this.customType = null;
- }
- else {
- this.name = nameOrValue;
- this.signalType = signalType ?? SignalType_1.SignalType.Bool;
- this.customType = customType ?? null;
- this.description = description ?? null;
- }
- this.children = [];
- }
- createContactAndFillCardinality(_parent) {
- this.cardinality = 1;
- return this.cardinality;
- }
- escape(txt) {
- return txt.replace(/\\\./g, '\uD83C\uDF34');
- }
- unescape(txt) {
- return txt.replace(/\uD83C\uDF34/g, '.').replace(/\\\\/g, '\\');
- }
- clone() {
- const inst = new Signal(this.name, this.signalType, this.customType ?? undefined, this.description ?? undefined);
- inst.debugInfo = this.debugInfo;
- for (const c of this.children) {
- inst.children.push(c.clone());
- }
- return inst;
- }
- addXmlToStringBuilder(id, sb) {
- const name = this.name;
- const signalType = this.signalType;
- if (signalType === SignalType_1.SignalType.Constant && !name.startsWith('#')) {
- const value = name.indexOf(',');
- sb.appendLine(``);
- if (value === -1)
- sb.appendLine(``);
- else
- sb.appendLine(``);
- sb.appendLine('');
- sb.appendLine('');
- }
- else if (signalType === SignalType_1.SignalType.ConstantBool && !name.startsWith('#')) {
- sb.appendLine(``);
- sb.appendLine('');
- sb.appendLine('Bool');
- sb.appendLine(`${name}`);
- sb.appendLine('');
- sb.appendLine('');
- }
- else if (signalType === SignalType_1.SignalType.ConstantTime && !name.startsWith('#')) {
- sb.appendLine(``);
- sb.appendLine('');
- sb.appendLine(`${name}`);
- sb.appendLine('');
- sb.appendLine('');
- }
- else if (signalType === SignalType_1.SignalType.ConstantUInt && !name.startsWith('#')) {
- sb.appendLine(``);
- sb.appendLine('');
- sb.appendLine('UInt');
- sb.appendLine(`${name}`);
- sb.appendLine('');
- sb.appendLine('');
- }
- else if (signalType === SignalType_1.SignalType.ConstantUDInt && !name.startsWith('#')) {
- sb.appendLine(``);
- sb.appendLine('');
- sb.appendLine('UDInt');
- sb.appendLine(`${name}`);
- sb.appendLine('');
- sb.appendLine('');
- }
- else if (signalType === SignalType_1.SignalType.ConstantInt && !name.startsWith('#')) {
- sb.appendLine(``);
- sb.appendLine('');
- sb.appendLine('Int');
- sb.appendLine(`${name}`);
- sb.appendLine('');
- sb.appendLine('');
- }
- else if (signalType === SignalType_1.SignalType.ConstantReal && !name.startsWith('#')) {
- sb.appendLine(``);
- sb.appendLine('');
- sb.appendLine('Real');
- sb.appendLine(`${name}`);
- sb.appendLine('');
- sb.appendLine('');
- }
- else if (signalType === SignalType_1.SignalType.ConstantString && !name.startsWith('#')) {
- sb.appendLine(``);
- sb.appendLine('');
- sb.appendLine('String');
- sb.appendLine(`${name}`);
- sb.appendLine('');
- sb.appendLine('');
- }
- else if (signalType === SignalType_1.SignalType.ConstantWord && !name.startsWith('#')) {
- sb.appendLine(``);
- sb.appendLine('');
- sb.appendLine(`${name}`);
- sb.appendLine('');
- sb.appendLine('');
- }
- else if (signalType === SignalType_1.SignalType.Void && !name.startsWith('#')) {
- sb.appendLine(``);
- sb.appendLine('');
- sb.appendLine('Void');
- sb.appendLine(`${name}`);
- sb.appendLine('');
- sb.appendLine('');
- }
- else if (signalType === SignalType_1.SignalType.UDT && !name.startsWith('#')) {
- sb.appendLine(` `);
- sb.appendLine('');
- const escapedParts = this.escape(name).split('.');
- for (let i = 0; i < escapedParts.length; i++) {
- const part = this.unescape(escapedParts[i]);
- const idx = part.indexOf('[') + 1;
- if (idx > 0) {
- sb.appendLine(``);
- const arrays = part.substring(idx, part.length - 1);
- if (arrays.includes('"')) {
- sb.appendLine('');
- sb.appendLine(``);
- sb.appendLine('');
- sb.appendLine('');
- }
- else if (!part.includes(']')) {
- let p1 = part.slice(idx);
- let accessType = 'GlobalVariable';
- if (p1[0] === '#') {
- p1 = p1.substring(1);
- accessType = 'LocalVariable';
- }
- sb.appendLine(``);
- sb.appendLine('');
- sb.appendLine(``);
- while (p1 !== null) {
- i++;
- p1 = this.unescape(this.escape(name).split('.')[i]);
- if (p1.includes(']')) {
- sb.appendLine(``);
- p1 = null;
- }
- else {
- sb.appendLine(``);
- }
- }
- sb.appendLine('');
- sb.appendLine('');
- }
- else {
- for (const arr of arrays.split(',')) {
- sb.appendLine('');
- sb.appendLine('');
- sb.appendLine('DInt');
- sb.appendLine(`${arr}`);
- sb.appendLine('');
- sb.appendLine('');
- }
- }
- }
- else {
- sb.appendLine(``);
- }
- sb.appendLine('');
- }
- sb.appendLine('');
- sb.appendLine('');
- sb.appendLine('');
- }
- else if (signalType === SignalType_1.SignalType.Byte && !name.startsWith('#')) {
- sb.appendLine(``);
- sb.appendLine('');
- for (const parte of this.escape(name).split('.')) {
- const part = this.unescape(parte);
- sb.appendLine(``);
- }
- sb.appendLine('');
- sb.appendLine('');
- sb.appendLine('');
- }
- else if (signalType === SignalType_1.SignalType.String && !name.startsWith('#')) {
- sb.appendLine(` `);
- sb.appendLine('');
- for (const parte of this.escape(name).split('.')) {
- const part = this.unescape(parte);
- const idx = part.indexOf('[') + 1;
- if (idx > 0) {
- sb.appendLine(``);
- const arrays = part.substring(idx, part.length - 1);
- if (arrays.includes('"')) {
- sb.appendLine('');
- sb.appendLine(``);
- sb.appendLine('');
- sb.appendLine('');
- }
- else {
- for (const arr of arrays.split(',')) {
- sb.appendLine('');
- sb.appendLine('');
- sb.appendLine('DInt');
- sb.appendLine(`${arr}`);
- sb.appendLine('');
- sb.appendLine('');
- }
- }
- }
- else {
- sb.appendLine(``);
- }
- sb.appendLine('');
- }
- sb.appendLine('');
- sb.appendLine('');
- sb.appendLine('');
- }
- else {
- let localName = name;
- if (name.startsWith('#')) {
- sb.appendLine(``);
- localName = name.substring(1);
- }
- else {
- sb.appendLine(` `);
- }
- sb.appendLine('');
- const escapedLocal = this.escape(localName).split('.');
- const cnt = (this instanceof FixedSignal) ? 1 : escapedLocal.length;
- for (let i = 0; i < cnt; i++) {
- let part = this.unescape(escapedLocal[i]);
- if (this instanceof FixedSignal)
- part = localName;
- const idx = part.indexOf('[') + 1;
- if (idx > 0) {
- sb.appendLine(``);
- const arrays = part.substring(idx, part.length - 1);
- if (arrays.includes('"')) {
- sb.appendLine('');
- sb.appendLine(``);
- sb.appendLine('');
- sb.appendLine('');
- }
- else if (!part.includes(']')) {
- let p1 = part.slice(idx);
- let accessType = 'GlobalVariable';
- if (p1[0] === '#') {
- p1 = p1.substring(1);
- accessType = 'LocalVariable';
- }
- sb.appendLine(``);
- sb.appendLine('');
- sb.appendLine(``);
- let noClose = false;
- while (p1 !== null) {
- i++;
- p1 = this.unescape(this.escape(localName).split('.')[i]);
- if (p1.includes(',')) {
- const innerParts = p1.split(',');
- sb.appendLine(``);
- for (const p of innerParts.slice(1)) {
- let pNe = p.trim();
- if (pNe.includes(']')) {
- pNe = pNe.substring(0, pNe.length - 1);
- }
- if (!isNaN(parseInt(pNe, 10)) && pNe.match(/^\d+$/)) {
- noClose = true;
- sb.appendLine('');
- sb.appendLine('');
- sb.appendLine('');
- sb.appendLine('');
- sb.appendLine('DInt');
- sb.appendLine(`${pNe}`);
- sb.appendLine('');
- sb.appendLine('');
- }
- else {
- sb.appendLine('');
- sb.appendLine('');
- let accessTypePne = 'GlobalVariable';
- if (pNe[0] === '#') {
- pNe = pNe.substring(1);
- accessTypePne = 'LocalVariable';
- }
- sb.appendLine(``);
- sb.appendLine('');
- sb.appendLine(``);
- }
- }
- if (p1.includes(']')) {
- p1 = null;
- }
- }
- else {
- if (p1.includes(']')) {
- sb.appendLine(``);
- p1 = null;
- }
- else {
- sb.appendLine(``);
- }
- }
- }
- if (!noClose) {
- sb.appendLine('');
- sb.appendLine('');
- }
- }
- else {
- for (const arr of arrays.split(',')) {
- sb.appendLine('');
- sb.appendLine('');
- sb.appendLine('DInt');
- sb.appendLine(`${arr}`);
- sb.appendLine('');
- sb.appendLine('');
- }
- }
- }
- else {
- if (this instanceof FixedPeripherySignal) {
- sb.appendLine(``);
- }
- else {
- sb.appendLine(``);
- }
- }
- sb.appendLine('');
- }
- sb.appendLine('');
- sb.appendLine('');
- }
- }
- toString() {
- return `${this.constructor.name}(${this.name})`;
- }
-}
-exports.Signal = Signal;
-class FixedSignal extends Signal {
- constructor(name, signalType = SignalType_1.SignalType.Bool, customType) {
- super(name, signalType, customType);
- }
-}
-exports.FixedSignal = FixedSignal;
-class FixedPeripherySignal extends FixedSignal {
- constructor(name, signalType = SignalType_1.SignalType.Bool, customType) {
- super(name, signalType, customType);
- }
-}
-exports.FixedPeripherySignal = FixedPeripherySignal;
-//# sourceMappingURL=Signal.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Commands/Signals/Signal.js.map b/TiaCodegen-ts/dist/Commands/Signals/Signal.js.map
deleted file mode 100644
index 4d53a00..0000000
--- a/TiaCodegen-ts/dist/Commands/Signals/Signal.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Signal.js","sourceRoot":"","sources":["../../../src/Commands/Signals/Signal.ts"],"names":[],"mappings":";;;AACA,uDAAoD;AAGpD,MAAa,MAAM;IAaf,YAAY,WAAsC,EAAE,UAAuB,EAAE,UAAmB,EAAE,WAAoB;QAZtH,cAAS,GAAkB,IAAI,CAAC;QAChC,gBAAW,GAAW,CAAC,CAAC;Q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,CAAC,CAAC;QAC/B,CAAC;IACL,CAAC;IAED,QAAQ;QACJ,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,GAAG,CAAC;IACpD,CAAC;CACJ;AApVD,wBAoVC;AAED,MAAa,WAAY,SAAQ,MAAM;IACnC,YAAY,IAAY,EAAE,aAAyB,uBAAU,CAAC,IAAI,EAAE,UAAmB;QACnF,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC;IACxC,CAAC;CACJ;AAJD,kCAIC;AAED,MAAa,oBAAqB,SAAQ,WAAW;IACjD,YAAY,IAAY,EAAE,aAAyB,uBAAU,CAAC,IAAI,EAAE,UAAmB;QACnF,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC;IACxC,CAAC;CACJ;AAJD,oDAIC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Enums/Direction.d.ts b/TiaCodegen-ts/dist/Enums/Direction.d.ts
deleted file mode 100644
index 38b028b..0000000
--- a/TiaCodegen-ts/dist/Enums/Direction.d.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-export declare enum Direction {
- Input = "Input",
- Output = "Output",
- InOut = "InOut",
- Eno = "Eno",
- En = "En"
-}
-//# sourceMappingURL=Direction.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Enums/Direction.d.ts.map b/TiaCodegen-ts/dist/Enums/Direction.d.ts.map
deleted file mode 100644
index b25d435..0000000
--- a/TiaCodegen-ts/dist/Enums/Direction.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Direction.d.ts","sourceRoot":"","sources":["../../src/Enums/Direction.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACjB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,EAAE,OAAO;CACZ"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Enums/Direction.js b/TiaCodegen-ts/dist/Enums/Direction.js
deleted file mode 100644
index 51784d1..0000000
--- a/TiaCodegen-ts/dist/Enums/Direction.js
+++ /dev/null
@@ -1,12 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Direction = void 0;
-var Direction;
-(function (Direction) {
- Direction["Input"] = "Input";
- Direction["Output"] = "Output";
- Direction["InOut"] = "InOut";
- Direction["Eno"] = "Eno";
- Direction["En"] = "En";
-})(Direction || (exports.Direction = Direction = {}));
-//# sourceMappingURL=Direction.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Enums/Direction.js.map b/TiaCodegen-ts/dist/Enums/Direction.js.map
deleted file mode 100644
index f0faa00..0000000
--- a/TiaCodegen-ts/dist/Enums/Direction.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Direction.js","sourceRoot":"","sources":["../../src/Enums/Direction.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAMX;AAND,WAAY,SAAS;IACjB,4BAAe,CAAA;IACf,8BAAiB,CAAA;IACjB,4BAAe,CAAA;IACf,wBAAW,CAAA;IACX,sBAAS,CAAA;AACb,CAAC,EANW,SAAS,yBAAT,SAAS,QAMpB"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Enums/SignalType.d.ts b/TiaCodegen-ts/dist/Enums/SignalType.d.ts
deleted file mode 100644
index dc9e24a..0000000
--- a/TiaCodegen-ts/dist/Enums/SignalType.d.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-export declare enum SignalType {
- Bool = "Bool",
- Byte = "Byte",
- Int = "Int",
- DInt = "DInt",
- UInt = "UInt",
- UDInt = "UDInt",
- Time = "Time",
- UDT = "UDT",
- String = "String",
- Real = "Real",
- Constant = "Constant",
- ConstantBool = "ConstantBool",
- ConstantInt = "ConstantInt",
- ConstantDInt = "ConstantDInt",
- ConstantUInt = "ConstantUInt",
- ConstantUDInt = "ConstantUDInt",
- ConstantTime = "ConstantTime",
- ConstantString = "ConstantString",
- ConstantReal = "ConstantReal",
- ConstantWord = "ConstantWord",
- Custom = "Custom",
- Void = "Void",
- Variant = "Variant",
- ProgramAlarm = "ProgramAlarm",
- Word = "Word"
-}
-//# sourceMappingURL=SignalType.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Enums/SignalType.d.ts.map b/TiaCodegen-ts/dist/Enums/SignalType.d.ts.map
deleted file mode 100644
index 66f199f..0000000
--- a/TiaCodegen-ts/dist/Enums/SignalType.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SignalType.d.ts","sourceRoot":"","sources":["../../src/Enums/SignalType.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IAClB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,cAAc,mBAAmB;IACjC,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,YAAY,iBAAiB;IAC7B,IAAI,SAAS;CAChB"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Enums/SignalType.js b/TiaCodegen-ts/dist/Enums/SignalType.js
deleted file mode 100644
index d07a571..0000000
--- a/TiaCodegen-ts/dist/Enums/SignalType.js
+++ /dev/null
@@ -1,32 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.SignalType = void 0;
-var SignalType;
-(function (SignalType) {
- SignalType["Bool"] = "Bool";
- SignalType["Byte"] = "Byte";
- SignalType["Int"] = "Int";
- SignalType["DInt"] = "DInt";
- SignalType["UInt"] = "UInt";
- SignalType["UDInt"] = "UDInt";
- SignalType["Time"] = "Time";
- SignalType["UDT"] = "UDT";
- SignalType["String"] = "String";
- SignalType["Real"] = "Real";
- SignalType["Constant"] = "Constant";
- SignalType["ConstantBool"] = "ConstantBool";
- SignalType["ConstantInt"] = "ConstantInt";
- SignalType["ConstantDInt"] = "ConstantDInt";
- SignalType["ConstantUInt"] = "ConstantUInt";
- SignalType["ConstantUDInt"] = "ConstantUDInt";
- SignalType["ConstantTime"] = "ConstantTime";
- SignalType["ConstantString"] = "ConstantString";
- SignalType["ConstantReal"] = "ConstantReal";
- SignalType["ConstantWord"] = "ConstantWord";
- SignalType["Custom"] = "Custom";
- SignalType["Void"] = "Void";
- SignalType["Variant"] = "Variant";
- SignalType["ProgramAlarm"] = "ProgramAlarm";
- SignalType["Word"] = "Word";
-})(SignalType || (exports.SignalType = SignalType = {}));
-//# sourceMappingURL=SignalType.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Enums/SignalType.js.map b/TiaCodegen-ts/dist/Enums/SignalType.js.map
deleted file mode 100644
index 6493502..0000000
--- a/TiaCodegen-ts/dist/Enums/SignalType.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SignalType.js","sourceRoot":"","sources":["../../src/Enums/SignalType.ts"],"names":[],"mappings":";;;AAAA,IAAY,UA0BX;AA1BD,WAAY,UAAU;IAClB,2BAAa,CAAA;IACb,2BAAa,CAAA;IACb,yBAAW,CAAA;IACX,2BAAa,CAAA;IACb,2BAAa,CAAA;IACb,6BAAe,CAAA;IACf,2BAAa,CAAA;IACb,yBAAW,CAAA;IACX,+BAAiB,CAAA;IACjB,2BAAa,CAAA;IACb,mCAAqB,CAAA;IACrB,2CAA6B,CAAA;IAC7B,yCAA2B,CAAA;IAC3B,2CAA6B,CAAA;IAC7B,2CAA6B,CAAA;IAC7B,6CAA+B,CAAA;IAC/B,2CAA6B,CAAA;IAC7B,+CAAiC,CAAA;IACjC,2CAA6B,CAAA;IAC7B,2CAA6B,CAAA;IAC7B,+BAAiB,CAAA;IACjB,2BAAa,CAAA;IACb,iCAAmB,CAAA;IACnB,2CAA6B,CAAA;IAC7B,2BAAa,CAAA;AACjB,CAAC,EA1BW,UAAU,0BAAV,UAAU,QA0BrB"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Extensions/NaturalComparer.d.ts b/TiaCodegen-ts/dist/Extensions/NaturalComparer.d.ts
deleted file mode 100644
index 37fcdd7..0000000
--- a/TiaCodegen-ts/dist/Extensions/NaturalComparer.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-export declare class NaturalComparer {
- compare(x: string | null, y: string | null): number;
- private isDigit;
-}
-//# sourceMappingURL=NaturalComparer.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Extensions/NaturalComparer.d.ts.map b/TiaCodegen-ts/dist/Extensions/NaturalComparer.d.ts.map
deleted file mode 100644
index 5e69034..0000000
--- a/TiaCodegen-ts/dist/Extensions/NaturalComparer.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"NaturalComparer.d.ts","sourceRoot":"","sources":["../../src/Extensions/NaturalComparer.ts"],"names":[],"mappings":"AAAA,qBAAa,eAAe;IACxB,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM;IA+BnD,OAAO,CAAC,OAAO;CAGlB"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Extensions/NaturalComparer.js b/TiaCodegen-ts/dist/Extensions/NaturalComparer.js
deleted file mode 100644
index ffbfdcb..0000000
--- a/TiaCodegen-ts/dist/Extensions/NaturalComparer.js
+++ /dev/null
@@ -1,45 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.NaturalComparer = void 0;
-class NaturalComparer {
- compare(x, y) {
- if (x === y)
- return 0;
- if (x === null || x === undefined)
- return -1;
- if (y === null || y === undefined)
- return 1;
- let i = 0, j = 0;
- while (i < x.length && j < y.length) {
- const cx = x[i];
- const cy = y[j];
- if (this.isDigit(cx) && this.isDigit(cy)) {
- let vx = 0;
- while (i < x.length && this.isDigit(x[i])) {
- vx = vx * 10 + (x.charCodeAt(i) - 48);
- i++;
- }
- let vy = 0;
- while (j < y.length && this.isDigit(y[j])) {
- vy = vy * 10 + (y.charCodeAt(j) - 48);
- j++;
- }
- if (vx !== vy)
- return vx < vy ? -1 : 1;
- }
- else {
- const cmp = cx.toUpperCase().localeCompare(cy.toUpperCase());
- if (cmp !== 0)
- return cmp;
- i++;
- j++;
- }
- }
- return x.length - y.length;
- }
- isDigit(c) {
- return c >= '0' && c <= '9';
- }
-}
-exports.NaturalComparer = NaturalComparer;
-//# sourceMappingURL=NaturalComparer.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Extensions/NaturalComparer.js.map b/TiaCodegen-ts/dist/Extensions/NaturalComparer.js.map
deleted file mode 100644
index 75c06f0..0000000
--- a/TiaCodegen-ts/dist/Extensions/NaturalComparer.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"NaturalComparer.js","sourceRoot":"","sources":["../../src/Extensions/NaturalComparer.ts"],"names":[],"mappings":";;;AAAA,MAAa,eAAe;IACxB,OAAO,CAAC,CAAgB,EAAE,CAAgB;QACtC,IAAI,CAAC,KAAK,CAAC;YAAE,OAAO,CAAC,CAAC;QACtB,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,SAAS;YAAE,OAAO,CAAC,CAAC,CAAC;QAC7C,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,SAAS;YAAE,OAAO,CAAC,CAAC;QAE5C,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;QACjB,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC;YAClC,MAA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CAAC;IAC/B,CAAC;IAEO,OAAO,CAAC,CAAS;QACrB,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,GAAG,CAAC;IAChC,CAAC;CACJ;AAnCD,0CAmCC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.d.ts b/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.d.ts
deleted file mode 100644
index b26aa0a..0000000
--- a/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import { IOperationOrSignal } from '../Interfaces/IOperationOrSignal';
-export declare function tryGetParent(op: IOperationOrSignal, ctor: new (...args: any[]) => T): T | null;
-//# sourceMappingURL=OperationOrSignalExtensions.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.d.ts.map b/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.d.ts.map
deleted file mode 100644
index 8826fd6..0000000
--- a/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"OperationOrSignalExtensions.d.ts","sourceRoot":"","sources":["../../src/Extensions/OperationOrSignalExtensions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,wBAAgB,YAAY,CAAC,CAAC,SAAS,kBAAkB,EACrD,EAAE,EAAE,kBAAkB,EACtB,IAAI,EAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,GAChC,CAAC,GAAG,IAAI,CAOV"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.js b/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.js
deleted file mode 100644
index bad2d71..0000000
--- a/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.js
+++ /dev/null
@@ -1,13 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.tryGetParent = tryGetParent;
-function tryGetParent(op, ctor) {
- let chk = op.parent;
- while (chk !== null && chk !== undefined) {
- if (chk instanceof ctor)
- return chk;
- chk = chk.parent;
- }
- return null;
-}
-//# sourceMappingURL=OperationOrSignalExtensions.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.js.map b/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.js.map
deleted file mode 100644
index 3fed364..0000000
--- a/TiaCodegen-ts/dist/Extensions/OperationOrSignalExtensions.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"OperationOrSignalExtensions.js","sourceRoot":"","sources":["../../src/Extensions/OperationOrSignalExtensions.ts"],"names":[],"mappings":";;AAEA,oCAUC;AAVD,SAAgB,YAAY,CACxB,EAAsB,EACtB,IAA+B;IAE/B,IAAI,GAAG,GAAG,EAAE,CAAC,MAAM,CAAC;IACpB,OAAO,GAAG,KAAK,IAAI,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;QACvC,IAAI,GAAG,YAAY,IAAI;YAAE,OAAO,GAAQ,CAAC;QACzC,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC;IACrB,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/ICoil.d.ts b/TiaCodegen-ts/dist/Interfaces/ICoil.d.ts
deleted file mode 100644
index d1bb71e..0000000
--- a/TiaCodegen-ts/dist/Interfaces/ICoil.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-export interface ICoil {
-}
-//# sourceMappingURL=ICoil.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/ICoil.d.ts.map b/TiaCodegen-ts/dist/Interfaces/ICoil.d.ts.map
deleted file mode 100644
index fca46d6..0000000
--- a/TiaCodegen-ts/dist/Interfaces/ICoil.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ICoil.d.ts","sourceRoot":"","sources":["../../src/Interfaces/ICoil.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,KAAK;CAAG"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/ICoil.js b/TiaCodegen-ts/dist/Interfaces/ICoil.js
deleted file mode 100644
index 2693efd..0000000
--- a/TiaCodegen-ts/dist/Interfaces/ICoil.js
+++ /dev/null
@@ -1,3 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=ICoil.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/ICoil.js.map b/TiaCodegen-ts/dist/Interfaces/ICoil.js.map
deleted file mode 100644
index 7805534..0000000
--- a/TiaCodegen-ts/dist/Interfaces/ICoil.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ICoil.js","sourceRoot":"","sources":["../../src/Interfaces/ICoil.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.d.ts b/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.d.ts
deleted file mode 100644
index 8e5fd37..0000000
--- a/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-export interface IFunctionOperation {
-}
-//# sourceMappingURL=IFunctionOperation.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.d.ts.map b/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.d.ts.map
deleted file mode 100644
index ed19ac0..0000000
--- a/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"IFunctionOperation.d.ts","sourceRoot":"","sources":["../../src/Interfaces/IFunctionOperation.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,kBAAkB;CAAG"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.js b/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.js
deleted file mode 100644
index 5ce66ab..0000000
--- a/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.js
+++ /dev/null
@@ -1,3 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=IFunctionOperation.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.js.map b/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.js.map
deleted file mode 100644
index 15aaca5..0000000
--- a/TiaCodegen-ts/dist/Interfaces/IFunctionOperation.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"IFunctionOperation.js","sourceRoot":"","sources":["../../src/Interfaces/IFunctionOperation.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.d.ts b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.d.ts
deleted file mode 100644
index c263451..0000000
--- a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-export interface IOperationOrSignal {
- children: IOperationOrSignal[];
- parent: IOperationOrSignal | null;
- operationId: number;
- doNotCreateContact: boolean;
- cardinality: number;
- debugInfo: string | null;
- createContactAndFillCardinality(parent: IOperationOrSignal): number;
- clone(): IOperationOrSignal;
- toString(): string;
-}
-//# sourceMappingURL=IOperationOrSignal.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.d.ts.map b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.d.ts.map
deleted file mode 100644
index 4e17e3c..0000000
--- a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"IOperationOrSignal.d.ts","sourceRoot":"","sources":["../../src/Interfaces/IOperationOrSignal.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IAC/B,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAC/B,MAAM,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,+BAA+B,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM,CAAC;IACpE,KAAK,IAAI,kBAAkB,CAAC;IAC5B,QAAQ,IAAI,MAAM,CAAC;CACtB"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.js b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.js
deleted file mode 100644
index 68888b6..0000000
--- a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.js
+++ /dev/null
@@ -1,3 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=IOperationOrSignal.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.js.map b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.js.map
deleted file mode 100644
index a385c6b..0000000
--- a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignal.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"IOperationOrSignal.js","sourceRoot":"","sources":["../../src/Interfaces/IOperationOrSignal.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.d.ts b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.d.ts
deleted file mode 100644
index 6897a82..0000000
--- a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.d.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { IOperationOrSignal } from './IOperationOrSignal';
-import { Direction } from '../Enums/Direction';
-import { SignalType } from '../Enums/SignalType';
-export declare class IOperationOrSignalDirectionWrapper {
- operationOrSignal: IOperationOrSignal | null;
- direction: Direction;
- length: number;
- type: SignalType | null;
- constructor(operationOrSignal: IOperationOrSignal | null, direction: Direction, type?: SignalType | null, length?: number);
-}
-//# sourceMappingURL=IOperationOrSignalDirectionWrapper.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.d.ts.map b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.d.ts.map
deleted file mode 100644
index cde22db..0000000
--- a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"IOperationOrSignalDirectionWrapper.d.ts","sourceRoot":"","sources":["../../src/Interfaces/IOperationOrSignalDirectionWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,qBAAa,kCAAkC;IAC3C,iBAAiB,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC7C,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,UAAU,GAAG,IAAI,CAAC;gBAGpB,iBAAiB,EAAE,kBAAkB,GAAG,IAAI,EAC5C,SAAS,EAAE,SAAS,EACpB,IAAI,GAAE,UAAU,GAAG,IAAW,EAC9B,MAAM,GAAE,MAAU;CAOzB"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.js b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.js
deleted file mode 100644
index f1ab1f4..0000000
--- a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.js
+++ /dev/null
@@ -1,13 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.IOperationOrSignalDirectionWrapper = void 0;
-class IOperationOrSignalDirectionWrapper {
- constructor(operationOrSignal, direction, type = null, length = 0) {
- this.operationOrSignal = operationOrSignal;
- this.direction = direction;
- this.length = length;
- this.type = type;
- }
-}
-exports.IOperationOrSignalDirectionWrapper = IOperationOrSignalDirectionWrapper;
-//# sourceMappingURL=IOperationOrSignalDirectionWrapper.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.js.map b/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.js.map
deleted file mode 100644
index dc0373c..0000000
--- a/TiaCodegen-ts/dist/Interfaces/IOperationOrSignalDirectionWrapper.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"IOperationOrSignalDirectionWrapper.js","sourceRoot":"","sources":["../../src/Interfaces/IOperationOrSignalDirectionWrapper.ts"],"names":[],"mappings":";;;AAIA,MAAa,kCAAkC;IAM3C,YACI,iBAA4C,EAC5C,SAAoB,EACpB,OAA0B,IAAI,EAC9B,SAAiB,CAAC;QAElB,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;CACJ;AAjBD,gFAiBC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IPartName.d.ts b/TiaCodegen-ts/dist/Interfaces/IPartName.d.ts
deleted file mode 100644
index 15160e1..0000000
--- a/TiaCodegen-ts/dist/Interfaces/IPartName.d.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export interface IPartName {
- partName: string;
-}
-//# sourceMappingURL=IPartName.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IPartName.d.ts.map b/TiaCodegen-ts/dist/Interfaces/IPartName.d.ts.map
deleted file mode 100644
index 55f9bd0..0000000
--- a/TiaCodegen-ts/dist/Interfaces/IPartName.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"IPartName.d.ts","sourceRoot":"","sources":["../../src/Interfaces/IPartName.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACtB,QAAQ,EAAE,MAAM,CAAC;CACpB"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IPartName.js b/TiaCodegen-ts/dist/Interfaces/IPartName.js
deleted file mode 100644
index 2d4a260..0000000
--- a/TiaCodegen-ts/dist/Interfaces/IPartName.js
+++ /dev/null
@@ -1,3 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=IPartName.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Interfaces/IPartName.js.map b/TiaCodegen-ts/dist/Interfaces/IPartName.js.map
deleted file mode 100644
index e0ffa07..0000000
--- a/TiaCodegen-ts/dist/Interfaces/IPartName.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"IPartName.js","sourceRoot":"","sources":["../../src/Interfaces/IPartName.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.d.ts b/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.d.ts
deleted file mode 100644
index 2fcaff1..0000000
--- a/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export declare function flatten(e: T[] | null | undefined, f: (t: T) => T[]): T[];
-//# sourceMappingURL=IEnumerableExtensions.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.d.ts.map b/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.d.ts.map
deleted file mode 100644
index bf39ba9..0000000
--- a/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"IEnumerableExtensions.d.ts","sourceRoot":"","sources":["../../src/Internal/IEnumerableExtensions.ts"],"names":[],"mappings":"AAAA,wBAAgB,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,IAAI,GAAG,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,CAAC,EAAE,CAG3E"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.js b/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.js
deleted file mode 100644
index 93bee95..0000000
--- a/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.js
+++ /dev/null
@@ -1,9 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.flatten = flatten;
-function flatten(e, f) {
- if (!e)
- return [];
- return e.flatMap(c => flatten(f(c), f)).concat(e);
-}
-//# sourceMappingURL=IEnumerableExtensions.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.js.map b/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.js.map
deleted file mode 100644
index 77d82cc..0000000
--- a/TiaCodegen-ts/dist/Internal/IEnumerableExtensions.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"IEnumerableExtensions.js","sourceRoot":"","sources":["../../src/Internal/IEnumerableExtensions.ts"],"names":[],"mappings":";;AAAA,0BAGC;AAHD,SAAgB,OAAO,CAAI,CAAyB,EAAE,CAAgB;IAClE,IAAI,CAAC,CAAC;QAAE,OAAO,EAAE,CAAC;IAClB,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AACtD,CAAC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/index.d.ts b/TiaCodegen-ts/dist/index.d.ts
deleted file mode 100644
index 0fe6668..0000000
--- a/TiaCodegen-ts/dist/index.d.ts
+++ /dev/null
@@ -1,64 +0,0 @@
-export { Direction } from './Enums/Direction';
-export { SignalType } from './Enums/SignalType';
-export { IOperationOrSignal } from './Interfaces/IOperationOrSignal';
-export { ICoil } from './Interfaces/ICoil';
-export { IFunctionOperation } from './Interfaces/IFunctionOperation';
-export { IPartName } from './Interfaces/IPartName';
-export { IOperationOrSignalDirectionWrapper } from './Interfaces/IOperationOrSignalDirectionWrapper';
-export { StringBuilder } from './utils/StringBuilder';
-export { flatten } from './Internal/IEnumerableExtensions';
-export { NaturalComparer } from './Extensions/NaturalComparer';
-export { tryGetParent } from './Extensions/OperationOrSignalExtensions';
-export { BaseOperationOrSignal } from './Commands/BaseOperationOrSignal';
-export { And } from './Commands/And';
-export { Or } from './Commands/Or';
-export { Not } from './Commands/Not';
-export { Distributor } from './Commands/Distributor';
-export { Move } from './Commands/Move';
-export { Convert } from './Commands/Convert';
-export { S_Move } from './Commands/S_Move';
-export { NCoil } from './Commands/NCoil';
-export { Signal, FixedSignal, FixedPeripherySignal } from './Commands/Signals/Signal';
-export { BaseCoil } from './Commands/Coils/BaseCoil';
-export { BaseNPCoil } from './Commands/Coils/BaseNPCoil';
-export { Coil } from './Commands/Coils/Coil';
-export { PCoil } from './Commands/Coils/PCoil';
-export { RCoil } from './Commands/Coils/RCoil';
-export { SCoil } from './Commands/Coils/SCoil';
-export { CompareOperator } from './Commands/Comparisons/CompareOperator';
-export { Eq } from './Commands/Comparisons/Eq';
-export { Ne } from './Commands/Comparisons/Ne';
-export { Ge } from './Commands/Comparisons/Ge';
-export { Gt } from './Commands/Comparisons/Gt';
-export { Le } from './Commands/Comparisons/Le';
-export { Lt } from './Commands/Comparisons/Lt';
-export { InRangeCall } from './Commands/Comparisons/InRangeCall';
-export { OutRangeCall } from './Commands/Comparisons/OutRangeCall';
-export { FunctionCall } from './Commands/Functions/Base/FunctionCall';
-export { FunctionBlockCall } from './Commands/Functions/Base/FunctionBlockCall';
-export { SystemFunctionCall } from './Commands/Functions/Base/SystemFunctionCall';
-export { SystemFunctionBlockCall } from './Commands/Functions/Base/SystemFunctionBlockCall';
-export { ArithmeticCall } from './Commands/Functions/Arithmetic/ArithmeticCall';
-export { VariableArithmeticCall } from './Commands/Functions/Arithmetic/VariableArithmeticCall';
-export { AddCall } from './Commands/Functions/Arithmetic/AddCall';
-export { MulCall } from './Commands/Functions/Arithmetic/MulCall';
-export { SubCall } from './Commands/Functions/Arithmetic/SubCall';
-export { DivCall } from './Commands/Functions/Arithmetic/DivCall';
-export { ModCall } from './Commands/Functions/Arithmetic/ModCall';
-export { AckGlCall } from './Commands/Functions/AckGlCall';
-export { CTUCall } from './Commands/Functions/CTUCall';
-export { CTUDCall } from './Commands/Functions/CTUDCall';
-export { FDBACKCall } from './Commands/Functions/FDBACKCall';
-export { FTrigCall } from './Commands/Functions/FTrigCall';
-export { NTrigCall } from './Commands/Functions/NTrigCall';
-export { PTrigCall } from './Commands/Functions/PTrigCall';
-export { RTrigCall } from './Commands/Functions/RTrigCall';
-export { TOFCall } from './Commands/Functions/TOFCall';
-export { TONCall } from './Commands/Functions/TONCall';
-export { TONRCall } from './Commands/Functions/TONRCall';
-export { TPCall } from './Commands/Functions/TPCall';
-export { CodeBlock } from './Blocks/CodeBlock';
-export { Network } from './Blocks/Network';
-export { Block } from './Blocks/Block';
-export { KopCodeHelper } from './CodeGen/KopCodeHelper';
-//# sourceMappingURL=index.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/index.d.ts.map b/TiaCodegen-ts/dist/index.d.ts.map
deleted file mode 100644
index b9bfc5f..0000000
--- a/TiaCodegen-ts/dist/index.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names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,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAGrD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAGvC,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/index.js b/TiaCodegen-ts/dist/index.js
deleted file mode 100644
index df50c9f..0000000
--- a/TiaCodegen-ts/dist/index.js
+++ /dev/null
@@ -1,138 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.FTrigCall = exports.FDBACKCall = exports.CTUDCall = exports.CTUCall = exports.AckGlCall = exports.ModCall = exports.DivCall = exports.SubCall = exports.MulCall = exports.AddCall = exports.VariableArithmeticCall = exports.ArithmeticCall = exports.SystemFunctionBlockCall = exports.SystemFunctionCall = exports.FunctionBlockCall = exports.FunctionCall = exports.OutRangeCall = exports.InRangeCall = exports.Lt = exports.Le = exports.Gt = exports.Ge = exports.Ne = exports.Eq = exports.CompareOperator = exports.SCoil = exports.RCoil = exports.PCoil = exports.Coil = exports.BaseNPCoil = exports.BaseCoil = exports.FixedPeripherySignal = exports.FixedSignal = exports.Signal = exports.NCoil = exports.S_Move = exports.Convert = exports.Move = exports.Distributor = exports.Not = exports.Or = exports.And = exports.BaseOperationOrSignal = exports.tryGetParent = exports.NaturalComparer = exports.flatten = exports.StringBuilder = exports.IOperationOrSignalDirectionWrapper = exports.SignalType = exports.Direction = void 0;
-exports.KopCodeHelper = exports.Block = exports.Network = exports.CodeBlock = exports.TPCall = exports.TONRCall = exports.TONCall = exports.TOFCall = exports.RTrigCall = exports.PTrigCall = exports.NTrigCall = void 0;
-// Enums
-var Direction_1 = require("./Enums/Direction");
-Object.defineProperty(exports, "Direction", { enumerable: true, get: function () { return Direction_1.Direction; } });
-var SignalType_1 = require("./Enums/SignalType");
-Object.defineProperty(exports, "SignalType", { enumerable: true, get: function () { return SignalType_1.SignalType; } });
-var IOperationOrSignalDirectionWrapper_1 = require("./Interfaces/IOperationOrSignalDirectionWrapper");
-Object.defineProperty(exports, "IOperationOrSignalDirectionWrapper", { enumerable: true, get: function () { return IOperationOrSignalDirectionWrapper_1.IOperationOrSignalDirectionWrapper; } });
-// Utils
-var StringBuilder_1 = require("./utils/StringBuilder");
-Object.defineProperty(exports, "StringBuilder", { enumerable: true, get: function () { return StringBuilder_1.StringBuilder; } });
-// Internal
-var IEnumerableExtensions_1 = require("./Internal/IEnumerableExtensions");
-Object.defineProperty(exports, "flatten", { enumerable: true, get: function () { return IEnumerableExtensions_1.flatten; } });
-// Extensions
-var NaturalComparer_1 = require("./Extensions/NaturalComparer");
-Object.defineProperty(exports, "NaturalComparer", { enumerable: true, get: function () { return NaturalComparer_1.NaturalComparer; } });
-var OperationOrSignalExtensions_1 = require("./Extensions/OperationOrSignalExtensions");
-Object.defineProperty(exports, "tryGetParent", { enumerable: true, get: function () { return OperationOrSignalExtensions_1.tryGetParent; } });
-// Commands
-var BaseOperationOrSignal_1 = require("./Commands/BaseOperationOrSignal");
-Object.defineProperty(exports, "BaseOperationOrSignal", { enumerable: true, get: function () { return BaseOperationOrSignal_1.BaseOperationOrSignal; } });
-var And_1 = require("./Commands/And");
-Object.defineProperty(exports, "And", { enumerable: true, get: function () { return And_1.And; } });
-var Or_1 = require("./Commands/Or");
-Object.defineProperty(exports, "Or", { enumerable: true, get: function () { return Or_1.Or; } });
-var Not_1 = require("./Commands/Not");
-Object.defineProperty(exports, "Not", { enumerable: true, get: function () { return Not_1.Not; } });
-var Distributor_1 = require("./Commands/Distributor");
-Object.defineProperty(exports, "Distributor", { enumerable: true, get: function () { return Distributor_1.Distributor; } });
-var Move_1 = require("./Commands/Move");
-Object.defineProperty(exports, "Move", { enumerable: true, get: function () { return Move_1.Move; } });
-var Convert_1 = require("./Commands/Convert");
-Object.defineProperty(exports, "Convert", { enumerable: true, get: function () { return Convert_1.Convert; } });
-var S_Move_1 = require("./Commands/S_Move");
-Object.defineProperty(exports, "S_Move", { enumerable: true, get: function () { return S_Move_1.S_Move; } });
-var NCoil_1 = require("./Commands/NCoil");
-Object.defineProperty(exports, "NCoil", { enumerable: true, get: function () { return NCoil_1.NCoil; } });
-// Signals
-var Signal_1 = require("./Commands/Signals/Signal");
-Object.defineProperty(exports, "Signal", { enumerable: true, get: function () { return Signal_1.Signal; } });
-Object.defineProperty(exports, "FixedSignal", { enumerable: true, get: function () { return Signal_1.FixedSignal; } });
-Object.defineProperty(exports, "FixedPeripherySignal", { enumerable: true, get: function () { return Signal_1.FixedPeripherySignal; } });
-// Coils
-var BaseCoil_1 = require("./Commands/Coils/BaseCoil");
-Object.defineProperty(exports, "BaseCoil", { enumerable: true, get: function () { return BaseCoil_1.BaseCoil; } });
-var BaseNPCoil_1 = require("./Commands/Coils/BaseNPCoil");
-Object.defineProperty(exports, "BaseNPCoil", { enumerable: true, get: function () { return BaseNPCoil_1.BaseNPCoil; } });
-var Coil_1 = require("./Commands/Coils/Coil");
-Object.defineProperty(exports, "Coil", { enumerable: true, get: function () { return Coil_1.Coil; } });
-var PCoil_1 = require("./Commands/Coils/PCoil");
-Object.defineProperty(exports, "PCoil", { enumerable: true, get: function () { return PCoil_1.PCoil; } });
-var RCoil_1 = require("./Commands/Coils/RCoil");
-Object.defineProperty(exports, "RCoil", { enumerable: true, get: function () { return RCoil_1.RCoil; } });
-var SCoil_1 = require("./Commands/Coils/SCoil");
-Object.defineProperty(exports, "SCoil", { enumerable: true, get: function () { return SCoil_1.SCoil; } });
-// Comparisons
-var CompareOperator_1 = require("./Commands/Comparisons/CompareOperator");
-Object.defineProperty(exports, "CompareOperator", { enumerable: true, get: function () { return CompareOperator_1.CompareOperator; } });
-var Eq_1 = require("./Commands/Comparisons/Eq");
-Object.defineProperty(exports, "Eq", { enumerable: true, get: function () { return Eq_1.Eq; } });
-var Ne_1 = require("./Commands/Comparisons/Ne");
-Object.defineProperty(exports, "Ne", { enumerable: true, get: function () { return Ne_1.Ne; } });
-var Ge_1 = require("./Commands/Comparisons/Ge");
-Object.defineProperty(exports, "Ge", { enumerable: true, get: function () { return Ge_1.Ge; } });
-var Gt_1 = require("./Commands/Comparisons/Gt");
-Object.defineProperty(exports, "Gt", { enumerable: true, get: function () { return Gt_1.Gt; } });
-var Le_1 = require("./Commands/Comparisons/Le");
-Object.defineProperty(exports, "Le", { enumerable: true, get: function () { return Le_1.Le; } });
-var Lt_1 = require("./Commands/Comparisons/Lt");
-Object.defineProperty(exports, "Lt", { enumerable: true, get: function () { return Lt_1.Lt; } });
-var InRangeCall_1 = require("./Commands/Comparisons/InRangeCall");
-Object.defineProperty(exports, "InRangeCall", { enumerable: true, get: function () { return InRangeCall_1.InRangeCall; } });
-var OutRangeCall_1 = require("./Commands/Comparisons/OutRangeCall");
-Object.defineProperty(exports, "OutRangeCall", { enumerable: true, get: function () { return OutRangeCall_1.OutRangeCall; } });
-// Function Base
-var FunctionCall_1 = require("./Commands/Functions/Base/FunctionCall");
-Object.defineProperty(exports, "FunctionCall", { enumerable: true, get: function () { return FunctionCall_1.FunctionCall; } });
-var FunctionBlockCall_1 = require("./Commands/Functions/Base/FunctionBlockCall");
-Object.defineProperty(exports, "FunctionBlockCall", { enumerable: true, get: function () { return FunctionBlockCall_1.FunctionBlockCall; } });
-var SystemFunctionCall_1 = require("./Commands/Functions/Base/SystemFunctionCall");
-Object.defineProperty(exports, "SystemFunctionCall", { enumerable: true, get: function () { return SystemFunctionCall_1.SystemFunctionCall; } });
-var SystemFunctionBlockCall_1 = require("./Commands/Functions/Base/SystemFunctionBlockCall");
-Object.defineProperty(exports, "SystemFunctionBlockCall", { enumerable: true, get: function () { return SystemFunctionBlockCall_1.SystemFunctionBlockCall; } });
-// Arithmetic
-var ArithmeticCall_1 = require("./Commands/Functions/Arithmetic/ArithmeticCall");
-Object.defineProperty(exports, "ArithmeticCall", { enumerable: true, get: function () { return ArithmeticCall_1.ArithmeticCall; } });
-var VariableArithmeticCall_1 = require("./Commands/Functions/Arithmetic/VariableArithmeticCall");
-Object.defineProperty(exports, "VariableArithmeticCall", { enumerable: true, get: function () { return VariableArithmeticCall_1.VariableArithmeticCall; } });
-var AddCall_1 = require("./Commands/Functions/Arithmetic/AddCall");
-Object.defineProperty(exports, "AddCall", { enumerable: true, get: function () { return AddCall_1.AddCall; } });
-var MulCall_1 = require("./Commands/Functions/Arithmetic/MulCall");
-Object.defineProperty(exports, "MulCall", { enumerable: true, get: function () { return MulCall_1.MulCall; } });
-var SubCall_1 = require("./Commands/Functions/Arithmetic/SubCall");
-Object.defineProperty(exports, "SubCall", { enumerable: true, get: function () { return SubCall_1.SubCall; } });
-var DivCall_1 = require("./Commands/Functions/Arithmetic/DivCall");
-Object.defineProperty(exports, "DivCall", { enumerable: true, get: function () { return DivCall_1.DivCall; } });
-var ModCall_1 = require("./Commands/Functions/Arithmetic/ModCall");
-Object.defineProperty(exports, "ModCall", { enumerable: true, get: function () { return ModCall_1.ModCall; } });
-// Functions
-var AckGlCall_1 = require("./Commands/Functions/AckGlCall");
-Object.defineProperty(exports, "AckGlCall", { enumerable: true, get: function () { return AckGlCall_1.AckGlCall; } });
-var CTUCall_1 = require("./Commands/Functions/CTUCall");
-Object.defineProperty(exports, "CTUCall", { enumerable: true, get: function () { return CTUCall_1.CTUCall; } });
-var CTUDCall_1 = require("./Commands/Functions/CTUDCall");
-Object.defineProperty(exports, "CTUDCall", { enumerable: true, get: function () { return CTUDCall_1.CTUDCall; } });
-var FDBACKCall_1 = require("./Commands/Functions/FDBACKCall");
-Object.defineProperty(exports, "FDBACKCall", { enumerable: true, get: function () { return FDBACKCall_1.FDBACKCall; } });
-var FTrigCall_1 = require("./Commands/Functions/FTrigCall");
-Object.defineProperty(exports, "FTrigCall", { enumerable: true, get: function () { return FTrigCall_1.FTrigCall; } });
-var NTrigCall_1 = require("./Commands/Functions/NTrigCall");
-Object.defineProperty(exports, "NTrigCall", { enumerable: true, get: function () { return NTrigCall_1.NTrigCall; } });
-var PTrigCall_1 = require("./Commands/Functions/PTrigCall");
-Object.defineProperty(exports, "PTrigCall", { enumerable: true, get: function () { return PTrigCall_1.PTrigCall; } });
-var RTrigCall_1 = require("./Commands/Functions/RTrigCall");
-Object.defineProperty(exports, "RTrigCall", { enumerable: true, get: function () { return RTrigCall_1.RTrigCall; } });
-var TOFCall_1 = require("./Commands/Functions/TOFCall");
-Object.defineProperty(exports, "TOFCall", { enumerable: true, get: function () { return TOFCall_1.TOFCall; } });
-var TONCall_1 = require("./Commands/Functions/TONCall");
-Object.defineProperty(exports, "TONCall", { enumerable: true, get: function () { return TONCall_1.TONCall; } });
-var TONRCall_1 = require("./Commands/Functions/TONRCall");
-Object.defineProperty(exports, "TONRCall", { enumerable: true, get: function () { return TONRCall_1.TONRCall; } });
-var TPCall_1 = require("./Commands/Functions/TPCall");
-Object.defineProperty(exports, "TPCall", { enumerable: true, get: function () { return TPCall_1.TPCall; } });
-// Blocks
-var CodeBlock_1 = require("./Blocks/CodeBlock");
-Object.defineProperty(exports, "CodeBlock", { enumerable: true, get: function () { return CodeBlock_1.CodeBlock; } });
-var Network_1 = require("./Blocks/Network");
-Object.defineProperty(exports, "Network", { enumerable: true, get: function () { return Network_1.Network; } });
-var Block_1 = require("./Blocks/Block");
-Object.defineProperty(exports, "Block", { enumerable: true, get: function () { return Block_1.Block; } });
-// CodeGen
-var KopCodeHelper_1 = require("./CodeGen/KopCodeHelper");
-Object.defineProperty(exports, "KopCodeHelper", { enumerable: true, get: function () { return KopCodeHelper_1.KopCodeHelper; } });
-//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/index.js.map b/TiaCodegen-ts/dist/index.js.map
deleted file mode 100644
index d202c5a..0000000
--- a/TiaCodegen-ts/dist/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,QAAQ;AACR,+CAA8C;AAArC,sGAAA,SAAS,OAAA;AAClB,iDAAgD;AAAvC,wGAAA,UAAU,OAAA;AAOnB,sGAAqG;AAA5F,wJAAA,kCAAkC,OAAA;AAE3C,QAAQ;AACR,uDAAsD;AAA7C,8GAAA,aAAa,OAAA;AAEtB,WAAW;AACX,0EAA2D;AAAlD,gHAAA,OAAO,OAAA;AAEhB,aAAa;AACb,gEAA+D;AAAtD,kHAAA,eAAe,OAAA;AACxB,wFAAwE;AAA/D,2HAAA,YAAY,OAAA;AAErB,WAAW;AACX,0EAAyE;AAAhE,8HAAA,qBAAqB,OAAA;AAC9B,sCAAqC;AAA5B,0FAAA,GAAG,OAAA;AACZ,oCAAmC;AAA1B,wFAAA,EAAE,OAAA;AACX,sCAAqC;AAA5B,0FAAA,GAAG,OAAA;AACZ,sDAAqD;AAA5C,0GAAA,WAAW,OAAA;AACpB,wCAAuC;AAA9B,4FAAA,IAAI,OAAA;AACb,8CAA6C;AAApC,kGAAA,OAAO,OAAA;AAChB,4CAA2C;AAAlC,gG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AA;AAChB,mEAAkE;AAAzD,kGAAA,OAAO,OAAA;AAEhB,YAAY;AACZ,4DAA2D;AAAlD,sGAAA,SAAS,OAAA;AAClB,wDAAuD;AAA9C,kGAAA,OAAO,OAAA;AAChB,0DAAyD;AAAhD,oGAAA,QAAQ,OAAA;AACjB,8DAA6D;AAApD,wGAAA,UAAU,OAAA;AACnB,4DAA2D;AAAlD,sGAAA,SAAS,OAAA;AAClB,4DAA2D;AAAlD,sGAAA,SAAS,OAAA;AAClB,4DAA2D;AAAlD,sGAAA,SAAS,OAAA;AAClB,4DAA2D;AAAlD,sGAAA,SAAS,OAAA;AAClB,wDAAuD;AAA9C,kGAAA,OAAO,OAAA;AAChB,wDAAuD;AAA9C,kGAAA,OAAO,OAAA;AAChB,0DAAyD;AAAhD,oGAAA,QAAQ,OAAA;AACjB,sDAAqD;AAA5C,gGAAA,MAAM,OAAA;AAEf,SAAS;AACT,gDAA+C;AAAtC,sGAAA,SAAS,OAAA;AAClB,4CAA2C;AAAlC,kGAAA,OAAO,OAAA;AAChB,wCAAuC;AAA9B,8FAAA,KAAK,OAAA;AAEd,UAAU;AACV,yDAAwD;AAA/C,8GAAA,aAAa,OAAA"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/utils/StringBuilder.d.ts b/TiaCodegen-ts/dist/utils/StringBuilder.d.ts
deleted file mode 100644
index dd473a9..0000000
--- a/TiaCodegen-ts/dist/utils/StringBuilder.d.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-export declare class StringBuilder {
- private parts;
- append(text: string): StringBuilder;
- appendLine(text?: string): StringBuilder;
- toString(): string;
- get length(): number;
-}
-//# sourceMappingURL=StringBuilder.d.ts.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/utils/StringBuilder.d.ts.map b/TiaCodegen-ts/dist/utils/StringBuilder.d.ts.map
deleted file mode 100644
index 1e504d1..0000000
--- a/TiaCodegen-ts/dist/utils/StringBuilder.d.ts.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"StringBuilder.d.ts","sourceRoot":"","sources":["../../src/utils/StringBuilder.ts"],"names":[],"mappings":"AAAA,qBAAa,aAAa;IACtB,OAAO,CAAC,KAAK,CAAgB;IAE7B,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa;IAKnC,UAAU,CAAC,IAAI,GAAE,MAAW,GAAG,aAAa;IAK5C,QAAQ,IAAI,MAAM;IAIlB,IAAI,MAAM,IAAI,MAAM,CAEnB;CACJ"}
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/utils/StringBuilder.js b/TiaCodegen-ts/dist/utils/StringBuilder.js
deleted file mode 100644
index 7283896..0000000
--- a/TiaCodegen-ts/dist/utils/StringBuilder.js
+++ /dev/null
@@ -1,24 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.StringBuilder = void 0;
-class StringBuilder {
- constructor() {
- this.parts = [];
- }
- append(text) {
- this.parts.push(text);
- return this;
- }
- appendLine(text = '') {
- this.parts.push(text + '\r\n');
- return this;
- }
- toString() {
- return this.parts.join('');
- }
- get length() {
- return this.parts.join('').length;
- }
-}
-exports.StringBuilder = StringBuilder;
-//# sourceMappingURL=StringBuilder.js.map
\ No newline at end of file
diff --git a/TiaCodegen-ts/dist/utils/StringBuilder.js.map b/TiaCodegen-ts/dist/utils/StringBuilder.js.map
deleted file mode 100644
index b6e6d6b..0000000
--- a/TiaCodegen-ts/dist/utils/StringBuilder.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"StringBuilder.js","sourceRoot":"","sources":["../../src/utils/StringBuilder.ts"],"names":[],"mappings":";;;AAAA,MAAa,aAAa;IAA1B;QACY,UAAK,GAAa,EAAE,CAAC;IAmBjC,CAAC;IAjBG,MAAM,CAAC,IAAY;QACf,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,UAAU,CAAC,OAAe,EAAE;QACxB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,QAAQ;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC/B,CAAC;IAED,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC;IACtC,CAAC;CACJ;AApBD,sCAoBC"}
\ No newline at end of file