From 2c60c7c13ecc8e45e072346193a820f697fb6fdf Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Tue, 23 May 2017 20:18:04 -0300 Subject: Switching event bug fixed --- Project/Element.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Project/Element.h') diff --git a/Project/Element.h b/Project/Element.h index 4935f11..b8035fb 100644 --- a/Project/Element.h +++ b/Project/Element.h @@ -150,7 +150,7 @@ public: * @brief Set if the element is online or offline. * @param online True if online, false if offline. */ - void SetOnline(bool online = true); + bool SetOnline(bool online = true); /** * @brief Set the list of points that connect the element to the bus. -- cgit From 8a1ffbc01135a1466ad7400518e4c56a4bdc3af5 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Wed, 9 Aug 2017 21:01:41 -0300 Subject: Stability properties implemented --- Project/Element.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Project/Element.h') diff --git a/Project/Element.h b/Project/Element.h index b8035fb..08fdfe9 100644 --- a/Project/Element.h +++ b/Project/Element.h @@ -553,7 +553,7 @@ public: * @param value Double value converted. * @param errorMsg Error message. */ - bool DoubleFromString(wxWindow* parent, wxString strValue, double& value, wxString errorMsg); + static bool DoubleFromString(wxWindow* parent, wxString strValue, double& value, wxString errorMsg); /** * @brief Convert a string to int. Show a error message if the conversion fail. @@ -562,7 +562,7 @@ public: * @param value Int value converted. * @param errorMsg Error message. */ - bool IntFromString(wxWindow* parent, wxString strValue, int& value, wxString errorMsg); + static bool IntFromString(wxWindow* parent, wxString strValue, int& value, wxString errorMsg); /** * @brief Convert a double value to string. -- cgit