From 5e7c19ae397164dd718b2593663cee5d1be687cd Mon Sep 17 00:00:00 2001 From: Thales1330 Date: Sat, 28 Jan 2017 14:50:12 -0200 Subject: Node bug fixes, tf form implemented --- Project/ElementForm.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'Project/ElementForm.h') diff --git a/Project/ElementForm.h b/Project/ElementForm.h index 9756bc8..f7c9ebb 100644 --- a/Project/ElementForm.h +++ b/Project/ElementForm.h @@ -771,4 +771,34 @@ public: virtual ~TextFormBase(); }; + +class TransferFunctionFormBase : public wxDialog +{ +protected: + wxNotebook* m_notebook; + wxPanel* m_panelGeneral; + wxStaticText* m_staticTextNumerator; + wxTextCtrl* m_textCtrlNumerator; + wxStaticText* m_staticTextDenominator; + wxTextCtrl* m_textCtrlDenominator; + wxButton* m_buttonOK; + wxButton* m_ButtonCancel; + +protected: + virtual void OnOKClick(wxCommandEvent& event) { event.Skip(); } + virtual void OnCancelClick(wxCommandEvent& event) { event.Skip(); } + +public: + wxStaticText* GetStaticTextNumerator() { return m_staticTextNumerator; } + wxTextCtrl* GetTextCtrlNumerator() { return m_textCtrlNumerator; } + wxStaticText* GetStaticTextDenominator() { return m_staticTextDenominator; } + wxTextCtrl* GetTextCtrlDenominator() { return m_textCtrlDenominator; } + wxPanel* GetPanelGeneral() { return m_panelGeneral; } + wxNotebook* GetNotebook() { return m_notebook; } + wxButton* GetButtonOK() { return m_buttonOK; } + wxButton* GetButtonCancel() { return m_ButtonCancel; } + TransferFunctionFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Transfer function"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE); + virtual ~TransferFunctionFormBase(); +}; + #endif -- cgit From 009849e49967af659354a94a16c51cab5eb8b5a4 Mon Sep 17 00:00:00 2001 From: Thales1330 Date: Tue, 7 Mar 2017 19:19:57 -0300 Subject: Sum implementation start --- Project/ElementForm.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'Project/ElementForm.h') diff --git a/Project/ElementForm.h b/Project/ElementForm.h index f7c9ebb..ed9d0b8 100644 --- a/Project/ElementForm.h +++ b/Project/ElementForm.h @@ -801,4 +801,28 @@ public: virtual ~TransferFunctionFormBase(); }; + +class SumFormBase : public wxDialog +{ +protected: + wxNotebook* m_notebook; + wxPanel* m_panelGeneral; + wxStaticText* m_staticTextSigns; + wxTextCtrl* m_textCtrlSigns; + wxButton* m_buttonOK; + wxButton* m_ButtonCancel; + +protected: + +public: + wxStaticText* GetStaticTextSigns() { return m_staticTextSigns; } + wxTextCtrl* GetTextCtrlSigns() { return m_textCtrlSigns; } + wxPanel* GetPanelGeneral() { return m_panelGeneral; } + wxNotebook* GetNotebook() { return m_notebook; } + wxButton* GetButtonOK() { return m_buttonOK; } + wxButton* GetButtonCancel() { return m_ButtonCancel; } + SumFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Sum"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE); + virtual ~SumFormBase(); +}; + #endif -- cgit From a1890bd024e0baea393480810709f43208825b9a Mon Sep 17 00:00:00 2001 From: Thales1330 Date: Wed, 8 Mar 2017 18:26:37 -0300 Subject: Sum form implementation start --- Project/ElementForm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Project/ElementForm.h') diff --git a/Project/ElementForm.h b/Project/ElementForm.h index ed9d0b8..2e5b235 100644 --- a/Project/ElementForm.h +++ b/Project/ElementForm.h @@ -813,6 +813,8 @@ protected: wxButton* m_ButtonCancel; protected: + virtual void OnOKClick(wxCommandEvent& event) { event.Skip(); } + virtual void OnCancelClick(wxCommandEvent& event) { event.Skip(); } public: wxStaticText* GetStaticTextSigns() { return m_staticTextSigns; } -- cgit From 045037ce8f2b106acbe5425245746a2dbed65c26 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Thu, 30 Mar 2017 11:10:06 -0300 Subject: Exponencial under implementation --- Project/ElementForm.h | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) (limited to 'Project/ElementForm.h') diff --git a/Project/ElementForm.h b/Project/ElementForm.h index 2e5b235..300f1eb 100644 --- a/Project/ElementForm.h +++ b/Project/ElementForm.h @@ -827,4 +827,64 @@ public: virtual ~SumFormBase(); }; + +class LimiterFormBase : public wxDialog +{ +protected: + wxNotebook* m_notebook; + wxPanel* m_panelGeneral; + wxStaticText* m_staticTextUpLimiter; + wxTextCtrl* m_textCtrlUpLimit; + wxStaticText* m_staticTextLowLimit; + wxTextCtrl* m_textCtrlLowLimit; + wxButton* m_buttonOK; + wxButton* m_ButtonCancel; + +protected: + virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); } + virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); } + +public: + wxStaticText* GetStaticTextUpLimiter() { return m_staticTextUpLimiter; } + wxTextCtrl* GetTextCtrlUpLimit() { return m_textCtrlUpLimit; } + wxStaticText* GetStaticTextLowLimit() { return m_staticTextLowLimit; } + wxTextCtrl* GetTextCtrlLowLimit() { return m_textCtrlLowLimit; } + wxPanel* GetPanelGeneral() { return m_panelGeneral; } + wxNotebook* GetNotebook() { return m_notebook; } + wxButton* GetButtonOK() { return m_buttonOK; } + wxButton* GetButtonCancel() { return m_ButtonCancel; } + LimiterFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Limiter"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE); + virtual ~LimiterFormBase(); +}; + + +class RateLimiterFormBase : public wxDialog +{ +protected: + wxNotebook* m_notebook; + wxPanel* m_panelGeneral; + wxStaticText* m_staticTextUpLimiter; + wxTextCtrl* m_textCtrlUpLimit; + wxStaticText* m_staticTextLowLimit; + wxTextCtrl* m_textCtrlLowLimit; + wxButton* m_buttonOK; + wxButton* m_ButtonCancel; + +protected: + virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); } + virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); } + +public: + wxStaticText* GetStaticTextUpLimiter() { return m_staticTextUpLimiter; } + wxTextCtrl* GetTextCtrlUpLimit() { return m_textCtrlUpLimit; } + wxStaticText* GetStaticTextLowLimit() { return m_staticTextLowLimit; } + wxTextCtrl* GetTextCtrlLowLimit() { return m_textCtrlLowLimit; } + wxPanel* GetPanelGeneral() { return m_panelGeneral; } + wxNotebook* GetNotebook() { return m_notebook; } + wxButton* GetButtonOK() { return m_buttonOK; } + wxButton* GetButtonCancel() { return m_ButtonCancel; } + RateLimiterFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Rate limiter"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE); + virtual ~RateLimiterFormBase(); +}; + #endif -- cgit From afb0e6e08d3911b7387799f5c465fd59ca26a484 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Sat, 1 Apr 2017 17:43:54 -0300 Subject: Constant implemented Missing: gain and io --- Project/ElementForm.h | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) (limited to 'Project/ElementForm.h') diff --git a/Project/ElementForm.h b/Project/ElementForm.h index 300f1eb..17aacd4 100644 --- a/Project/ElementForm.h +++ b/Project/ElementForm.h @@ -887,4 +887,62 @@ public: virtual ~RateLimiterFormBase(); }; + +class ExponentialFormBase : public wxDialog +{ +protected: + wxNotebook* m_notebook; + wxPanel* m_panelGeneral; + wxStaticText* m_staticTextExp; + wxStaticText* m_staticTextAValue; + wxTextCtrl* m_textCtrlAValue; + wxStaticText* m_staticTextBValue; + wxTextCtrl* m_textCtrlBValue; + wxButton* m_buttonOK; + wxButton* m_buttonCancel; + +protected: + virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); } + virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); } + +public: + wxStaticText* GetStaticTextExp() { return m_staticTextExp; } + wxStaticText* GetStaticTextAValue() { return m_staticTextAValue; } + wxTextCtrl* GetTextCtrlAValue() { return m_textCtrlAValue; } + wxStaticText* GetStaticTextBValue() { return m_staticTextBValue; } + wxTextCtrl* GetTextCtrlBValue() { return m_textCtrlBValue; } + wxPanel* GetPanelGeneral() { return m_panelGeneral; } + wxNotebook* GetNotebook() { return m_notebook; } + wxButton* GetButtonOK() { return m_buttonOK; } + wxButton* GetButtonCancel() { return m_buttonCancel; } + ExponentialFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Exponential"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE); + virtual ~ExponentialFormBase(); +}; + + +class ConstantFormBase : public wxDialog +{ +protected: + wxNotebook* m_notebook; + wxPanel* m_panelGeneral; + wxStaticText* m_staticTextValue; + wxTextCtrl* m_textCtrlValue; + wxButton* m_buttonOK; + wxButton* m_buttonCancel; + +protected: + virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); } + virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); } + +public: + wxStaticText* GetStaticTextValue() { return m_staticTextValue; } + wxTextCtrl* GetTextCtrlValue() { return m_textCtrlValue; } + wxPanel* GetPanelGeneral() { return m_panelGeneral; } + wxNotebook* GetNotebook() { return m_notebook; } + wxButton* GetButtonOK() { return m_buttonOK; } + wxButton* GetButtonCancel() { return m_buttonCancel; } + ConstantFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Constant"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE); + virtual ~ConstantFormBase(); +}; + #endif -- cgit From 38b3e2decff95f5e29ffb6025ee899d108d22f04 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Tue, 4 Apr 2017 18:10:12 -0300 Subject: Gain implemented Implement io: https://ideone.com/0HDBVd --- Project/ElementForm.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'Project/ElementForm.h') diff --git a/Project/ElementForm.h b/Project/ElementForm.h index 17aacd4..a47dfb7 100644 --- a/Project/ElementForm.h +++ b/Project/ElementForm.h @@ -945,4 +945,30 @@ public: virtual ~ConstantFormBase(); }; + +class GainFormBase : public wxDialog +{ +protected: + wxNotebook* m_notebook; + wxPanel* m_panelGeneral; + wxStaticText* m_staticTextValue; + wxTextCtrl* m_textCtrlValue; + wxButton* m_buttonOK; + wxButton* m_buttonCancel; + +protected: + virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); } + virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); } + +public: + wxStaticText* GetStaticTextValue() { return m_staticTextValue; } + wxTextCtrl* GetTextCtrlValue() { return m_textCtrlValue; } + wxPanel* GetPanelGeneral() { return m_panelGeneral; } + wxNotebook* GetNotebook() { return m_notebook; } + wxButton* GetButtonOK() { return m_buttonOK; } + wxButton* GetButtonCancel() { return m_buttonCancel; } + GainFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Gain"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE); + virtual ~GainFormBase(); +}; + #endif -- cgit From ed36957d2d06ce9484e39be699bc41b521bdb090 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Thu, 6 Apr 2017 17:12:09 -0300 Subject: Io form under implementation --- Project/ElementForm.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'Project/ElementForm.h') diff --git a/Project/ElementForm.h b/Project/ElementForm.h index a47dfb7..2d07908 100644 --- a/Project/ElementForm.h +++ b/Project/ElementForm.h @@ -971,4 +971,36 @@ public: virtual ~GainFormBase(); }; + +class IOControlFormBase : public wxDialog +{ +protected: + wxNotebook* m_notebook; + wxPanel* m_panelGeneral; + wxCheckBox* m_checkBoxInput; + wxChoice* m_choiceInput; + wxCheckBox* m_checkBoxOutput; + wxChoice* m_choiceOutput; + wxButton* m_buttonOK; + wxButton* m_ButtonCancel; + +protected: + virtual void OnInputChecked(wxCommandEvent& event) { event.Skip(); } + virtual void OnOutputChecked(wxCommandEvent& event) { event.Skip(); } + virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); } + virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); } + +public: + wxCheckBox* GetCheckBoxInput() { return m_checkBoxInput; } + wxChoice* GetChoiceInput() { return m_choiceInput; } + wxCheckBox* GetCheckBoxOutput() { return m_checkBoxOutput; } + wxChoice* GetChoiceOutput() { return m_choiceOutput; } + wxPanel* GetPanelGeneral() { return m_panelGeneral; } + wxNotebook* GetNotebook() { return m_notebook; } + wxButton* GetButtonOK() { return m_buttonOK; } + wxButton* GetButtonCancel() { return m_ButtonCancel; } + IOControlFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Input / Output"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE); + virtual ~IOControlFormBase(); +}; + #endif -- cgit