Power System Platform  2018w15a
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DataReport Class Reference

Form that shows the results of power flow and fault calculations. More...

#include <DataReport.h>

Inheritance diagram for DataReport:
Inheritance graph
[legend]
Collaboration diagram for DataReport:
Collaboration graph
[legend]

Public Types

enum  GridSelection {
  GRID_ALL = 0, GRID_PF, GRID_PFBUSES, GRID_PFBRANCHES,
  GRID_FAULT, GRID_FAULTBUSES, GRID_FAULTBRANCHES, GRID_FAULTGENERATORS
}
 

Public Member Functions

 DataReport (wxWindow *parent, Workspace *workspace)
 
virtual void SetHeaders ()
 
virtual void CreateGrids ()
 
virtual void FillValues (GridSelection gridToFill=GRID_ALL)
 
virtual void SetRowsColours (wxGrid *grid, int rowStart=1)
 
virtual void GridKeyHandler (wxGrid *grid, wxKeyEvent &event)
 

Protected Member Functions

virtual void OnFaulrGridChanged (wxGridEvent &event)
 
virtual void OnFaultBranchesGridChanged (wxGridEvent &event)
 
virtual void OnFaultBusesGridChanged (wxGridEvent &event)
 
virtual void OnFaultGeneratorsGridChanged (wxGridEvent &event)
 
virtual void OnPFBranchesGridChanged (wxGridEvent &event)
 
virtual void OnPowerFlowGridChanged (wxGridEvent &event)
 
virtual void OnPFBusGridChanged (wxGridEvent &event)
 
virtual void OnGridFaultBranchesKeyDown (wxKeyEvent &event)
 
virtual void OnGridFaultBusesKeyDown (wxKeyEvent &event)
 
virtual void OnGridFaultGeneratorsKeyDown (wxKeyEvent &event)
 
virtual void OnGridFaultKeyDown (wxKeyEvent &event)
 
virtual void OnGridPFBranchesKeyDown (wxKeyEvent &event)
 
virtual void OnGridPFBusesKeyDown (wxKeyEvent &event)
 
virtual void OnGridPFKeyDown (wxKeyEvent &event)
 

Protected Attributes

Workspacem_workspace = NULL
 
bool m_changingValues = false
 
wxArrayString m_voltageChoices
 
wxArrayString m_activePowerChoices
 
wxArrayString m_reactivePowerChoices
 
wxArrayString m_resistanceChoices
 
wxArrayString m_indReactanceChoices
 
wxArrayString m_capSusceptanceChoices
 
wxArrayString m_currentChoices
 
wxColour m_headerColour
 
wxColour m_offlineColour
 
wxColour m_oddRowColour
 
wxColour m_evenRowColour
 

Detailed Description

Form that shows the results of power flow and fault calculations.

Author
Thales Lima Oliveira thale.nosp@m.s@uf.nosp@m.u.br
Date
05/10/2017

The documentation for this class was generated from the following files: