Power System Platform  2024w23a
Loading...
Searching...
No Matches
ElementPlotData Class Reference

Public Types

enum class  CurveType : int {
  CT_BUS = 0 , CT_SYNC_GENERATOR , CT_SYNC_COMPENSATOR , CT_TRANSFORMER ,
  CT_LINE , CT_IND_MOTOR , CT_SHUNT_INDUCTOR , CT_SHUNT_CAPACITOR ,
  CT_LOAD , CT_TEST , NUM_ELEMENTS , CT_TIME
}
 

Public Member Functions

 ElementPlotData (wxString name, CurveType curveType)
 
wxString GetName () const
 
void SetName (wxString name)
 
CurveType GetCurveType () const
 
void SetCurveType (CurveType type)
 
PlotDataGetPlotData (int index) const
 
void AddData (std::vector< double > values, wxString name)
 
int GetElementDataNumber () const
 
std::vector< double > GetValues (int index) const
 
void SetValues (int index, std::vector< double > values)
 
void SetPlot (int index, bool plot=true)
 
wxString GetDataName (int index) const
 
void SetDataName (int index, wxString name)
 
wxColour GetColour (int index) const
 
void SetColour (int index, wxColour colour)
 
int GetThick (int index) const
 
void SetThick (int index, int thick)
 
wxPenStyle GetPenType (int index) const
 
void SetPenType (int index, wxPenStyle penType)
 
int GetAxis (int index) const
 
void SetAxis (int index, int axis)
 

Protected Attributes

wxString m_name
 
CurveType m_curveType
 
std::vector< PlotData * > m_elementData
 

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