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;