From 1158ce068e3b5b391604270bf10c52d0d2f7f4db Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Tue, 16 May 2017 19:07:49 -0300 Subject: Sync generator control fixed --- Project/RateLimiter.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Project/RateLimiter.cpp') diff --git a/Project/RateLimiter.cpp b/Project/RateLimiter.cpp index 42bede1..ea0db25 100644 --- a/Project/RateLimiter.cpp +++ b/Project/RateLimiter.cpp @@ -112,3 +112,10 @@ bool RateLimiter::Solve(double input, double timeStep) m_output = input; return true; } + +Element* RateLimiter::GetCopy() +{ + RateLimiter* copy = new RateLimiter(m_elementID); + *copy = *this; + return copy; +} -- cgit