From b75c8d617a12fef11488eb31f205b7734e09d096 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 22 Feb 2026 08:07:55 +0000 Subject: [PATCH 1/2] Initial plan From 6d7516229b2928440189a52a1ac834413076ce79 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 22 Feb 2026 08:11:43 +0000 Subject: [PATCH 2/2] Fix switched add and mul call in C# files Co-authored-by: jogibear9988 <364896+jogibear9988@users.noreply.github.com> --- TiaCodegen/Commands/Functions/Arithmetic/AddCall.cs | 6 +++--- TiaCodegen/Commands/Functions/Arithmetic/MulCall.cs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/TiaCodegen/Commands/Functions/Arithmetic/AddCall.cs b/TiaCodegen/Commands/Functions/Arithmetic/AddCall.cs index 101e686..b56d6f6 100644 --- a/TiaCodegen/Commands/Functions/Arithmetic/AddCall.cs +++ b/TiaCodegen/Commands/Functions/Arithmetic/AddCall.cs @@ -4,9 +4,9 @@ namespace TiaCodegen.Commands.Functions.Arithmetic { - public class MulCall : VariableArithmeticCall + public class AddCall : VariableArithmeticCall { - public MulCall(string type, + public AddCall(string type, IOperationOrSignal in1, IOperationOrSignal in2, IOperationOrSignal in3 = null, @@ -58,7 +58,7 @@ public MulCall(string type, IOperationOrSignal in49 = null, IOperationOrSignal in50 = null, IOperationOrSignal out1 = null, - IOperationOrSignal eno = null) : base("Mul", eno) + IOperationOrSignal eno = null) : base("Add", eno) { DisableEno = true; Type = type; diff --git a/TiaCodegen/Commands/Functions/Arithmetic/MulCall.cs b/TiaCodegen/Commands/Functions/Arithmetic/MulCall.cs index b56d6f6..101e686 100644 --- a/TiaCodegen/Commands/Functions/Arithmetic/MulCall.cs +++ b/TiaCodegen/Commands/Functions/Arithmetic/MulCall.cs @@ -4,9 +4,9 @@ namespace TiaCodegen.Commands.Functions.Arithmetic { - public class AddCall : VariableArithmeticCall + public class MulCall : VariableArithmeticCall { - public AddCall(string type, + public MulCall(string type, IOperationOrSignal in1, IOperationOrSignal in2, IOperationOrSignal in3 = null, @@ -58,7 +58,7 @@ public AddCall(string type, IOperationOrSignal in49 = null, IOperationOrSignal in50 = null, IOperationOrSignal out1 = null, - IOperationOrSignal eno = null) : base("Add", eno) + IOperationOrSignal eno = null) : base("Mul", eno) { DisableEno = true; Type = type;