Exemple #1
0
 def on_graph_phase_angle(self, evt):
     vg = AnimatedGraphController(self.app.m_frame,
                                  self.wattrlib,
                                  READING.PHASE_ANGLE,
                                  y="Phase Angle",
                                  title="Phase Angle over Time")
     vg.get_view().Show()
Exemple #2
0
 def on_graph_power_factor(self, evt):
     vg = AnimatedGraphController(self.app.m_frame,
                                  self.wattrlib,
                                  READING.POWER_FACTOR,
                                  y="Power Factor",
                                  title="Power Factor over Time")
     vg.get_view().Show()
Exemple #3
0
 def on_graph_apparent_power(self, evt):
     vg = AnimatedGraphController(self.app.m_frame,
                                  self.wattrlib,
                                  READING.APPARENT_POWER,
                                  y="Apparent Power (VA)",
                                  title="Apparent Power over Time")
     vg.get_view().Show()
Exemple #4
0
 def on_graph_reactive_power(self, evt):
     vg = AnimatedGraphController(self.app.m_frame,
                                  self.wattrlib,
                                  READING.REACTIVE_POWER,
                                  y="Reactive Power(VAR)",
                                  title="Reactive Power over Time")
     vg.get_view().Show()
Exemple #5
0
 def on_graph_frequency(self, evt):
     vg = AnimatedGraphController(self.app.m_frame,
                                  self.wattrlib,
                                  READING.PERIOD,
                                  y="Frequency (Hz)",
                                  title="Frequency over Time")
     vg.get_view().Show()
Exemple #6
0
 def on_graph_current(self, evt):
     vg = AnimatedGraphController(self.app.m_frame,
                                  self.wattrlib,
                                  READING.CURRENT,
                                  y="RMS Current (A)",
                                  title="Current over Time")
     vg.get_view().Show()
Exemple #7
0
 def on_graph_voltage(self, evt):
     vg = AnimatedGraphController(self.app.m_frame,
                                  self.wattrlib,
                                  READING.VOLTAGE,
                                  y="RMS Voltage (V)",
                                  title="Voltage over Time")
     vg.get_view().Show()
Exemple #8
0
 def on_graph_power_factor(self, evt):
     vg = AnimatedGraphController(self.app.m_frame, self.wattrlib, READING.POWER_FACTOR, y="Power Factor", title="Power Factor over Time")
     vg.get_view().Show()
Exemple #9
0
 def on_graph_phase_angle(self, evt):
     vg = AnimatedGraphController(self.app.m_frame, self.wattrlib, READING.PHASE_ANGLE, y="Phase Angle", title="Phase Angle over Time")
     vg.get_view().Show()
Exemple #10
0
 def on_graph_apparent_power(self, evt):
     vg = AnimatedGraphController(self.app.m_frame, self.wattrlib, READING.APPARENT_POWER, y="Apparent Power (VA)", title="Apparent Power over Time")
     vg.get_view().Show()
Exemple #11
0
 def on_graph_reactive_power(self, evt):
     vg = AnimatedGraphController(self.app.m_frame, self.wattrlib, READING.REACTIVE_POWER, y="Reactive Power(VAR)", title="Reactive Power over Time")
     vg.get_view().Show()
Exemple #12
0
 def on_graph_frequency(self, evt):
     vg = AnimatedGraphController(self.app.m_frame, self.wattrlib, READING.PERIOD, y="Frequency (Hz)", title="Frequency over Time")
     vg.get_view().Show()
Exemple #13
0
 def on_graph_current(self, evt):
     vg = AnimatedGraphController(self.app.m_frame, self.wattrlib, READING.CURRENT, y="RMS Current (A)", title="Current over Time")
     vg.get_view().Show()
Exemple #14
0
 def on_graph_voltage(self, evt):
     vg = AnimatedGraphController(self.app.m_frame, self.wattrlib, READING.VOLTAGE, y="RMS Voltage (V)", title="Voltage over Time")
     vg.get_view().Show()