|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
de.bsvrz.sys.usv.gui.swing.SimuGUIJFrame
public class SimuGUIJFrame
Grafische Testumgebung für SWE 10.3 USV-Wrapper. Man kann hiermit nur die Schnittstelle testen, die konkreten Implementierungen der Schnittstelle für die einzelnen USVs wird nicht mit abgedeckt.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JFrame |
---|
JFrame.AccessibleJFrame |
Nested classes/interfaces inherited from class java.awt.Frame |
---|
Frame.AccessibleAWTFrame |
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Fields inherited from class javax.swing.JFrame |
---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Frame |
---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface de.bsvrz.sys.usv.wrapper.USVAllgemein |
---|
DEFAULT_TIMEOUT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
SimuGUIJFrame()
Konstruktor |
Method Summary | |
---|---|
private void |
aktionSchliessen()
|
private void |
aktionUebernehmen()
Übernimmt die getroffenen Einstellungen |
int |
getBatterieSpannung()
Liefert die Batteriespannung der USV. |
int |
getBatterieTemperatur()
Liefert die Temperatur der Batterie der USV in °C. |
int |
getBatterieZustand()
Methode zum Aulesen der Membervariablen |
int |
getBetriebsdauerBatterie()
Liefert die aktuelle Betriebsdauer der USV im Batteriebetrieb in Sekunden. |
EingangsfrequenzZustand |
getEingangsFrequenzZustand()
Methode zum Aulesen der Membervariablen |
private JButton |
getJButtonSchliessen()
This method initializes jButtonSchliessen |
private JButton |
getJButtonUebernehmen()
This method initializes jButtonUebernehmen |
private JComboBox |
getJComboBoxBatterieBetriebsdauer()
|
private JComboBox |
getJComboboxBatterieRestlaufzeit()
|
private JComboBox |
getJComboBoxBatterieSpannung()
|
private JComboBox |
getJComboBoxBatterieTemperatur()
|
private JComboBox |
getJComboBoxBatterieZustand()
This method initializes jComboBoxBatterieZustand |
private JComboBox |
getJComboBoxEingangsFrequenzZustand()
This method initializes jComboBoxEingangsFrequenzZustand |
private JComboBox |
getJComboBoxKommunikationsZustand()
This method initializes jComboBoxKommunikationsZustand |
private JComboBox |
getJComboBoxUsvZustand()
This method initializes jComboBoxUsvZustand |
private JComboBox |
getJComboBoxWechselspannung()
This method initializes jComboBoxWechselspannung |
private JComboBox |
getJComboBoxZustandNotstrom()
This method initializes jComboBoxZustandNotstrom |
private JComboBox |
getJComboBoxZustandPhase1()
This method initializes jComboBoxZustandPhase1 |
private JComboBox |
getJComboBoxZustandPhase2()
This method initializes jComboBoxZustandPhase2 |
private JComboBox |
getJComboBoxZustandPhase3()
This method initializes jComboBoxZustandPhase3 |
private JPanel |
getJContentPane()
This method initializes jContentPane |
private JPanel |
getJPanelAusgabe()
This method initializes jPanelAusgabe |
private JPanel |
getJPanelOben()
This method initializes jPanelOben |
private JPanel |
getJPanelUnten()
This method initializes jPanelUnten |
private JTextField |
getJTextFieldBefehlNotstrom()
This method initializes jTextFieldBefehlNotstrom |
private JTextField |
getJTextFieldBefehlUsvBetrieb()
This method initializes jTextFieldBefehlUsvBetrieb |
KommunikationsZustand |
getKommunikationsZustand()
Methode zum Aulesen der Membervariablen |
int |
getUSVRestlaufzeit()
Liefert die Restlaufzeit der USV im Batteriebetrieb in Minuten. |
USVZustand |
getUsvZustand()
Methode zum Aulesen der Membervariablen |
WechselSpannung |
getWechselSpannung()
Methode zum Aulesen der Membervariablen |
ZustandNotstrom |
getZustandNotstrom()
Methode zum Aulesen der Membervariablen |
ZustandPhase |
getZustandPhase1()
Methode zum Aulesen der Membervariablen |
ZustandPhase |
getZustandPhase2()
Methode zum Aulesen der Membervariablen |
ZustandPhase |
getZustandPhase3()
Methode zum Aulesen der Membervariablen |
private void |
initialize()
This method initializes this |
void |
setInstance(USVWrapper instance)
Methode mit der der Klasse, die das Interface USVAllgemein implementiert die Instanz der Hauptklasse mitgeteilt mit. |
int |
setNotstrom(boolean befehl)
Methode zum Setzen der Membervariablen m_BefehlNotstrom |
int |
setUsvBetrieb(boolean befehl)
Methode zum Setzen der Membervariablen m_BefehlNotstrom |
Methods inherited from class java.awt.Frame |
---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
---|
getFont, postEvent |
Field Detail |
---|
private static final long serialVersionUID
private JPanel jContentPane
private USVZustand m_UsvZustand
private int m_BatterieZustand
private KommunikationsZustand m_KommunikationsZustand
private EingangsfrequenzZustand m_EingangsFrequenzZustand
private WechselSpannung m_WechselSpannung
private ZustandPhase m_ZustandPhase1
private ZustandPhase m_ZustandPhase2
private ZustandPhase m_ZustandPhase3
private ZustandNotstrom m_ZustandNotstrom
private int batterieSpannung
private int batterieRestlaufzeit
private int batterieTemperatur
private int batterieBetriebsdauer
private USVWrapper m_instance
private JPanel jPanelOben
private JPanel jPanelUnten
private JButton jButtonUebernehmen
private JButton jButtonSchliessen
private JComboBox jComboBoxUsvZustand
private JPanel jPanelAusgabe
private JLabel jLabelBefehlNotstrom
private JLabel jLabelBefehlUsvBetrieb
private JTextField jTextFieldBefehlNotstrom
private JTextField jTextFieldBefehlUsvBetrieb
private JComboBox jComboBoxBatterieZustand
private JComboBox jComboBoxKommunikationsZustand
private JComboBox jComboBoxEingangsFrequenzZustand
private JComboBox jComboBoxWechselspannung
private JComboBox jComboBoxZustandPhase1
private JComboBox jComboBoxZustandPhase2
private JComboBox jComboBoxZustandPhase3
private JComboBox jComboBoxZustandNotstrom
private JComboBox jComboBoxBatterieSpannung
private JComboBox jComboBoxBatterieTemperatur
private JComboBox jComboBoxBatterieRestlaufzeit
private JComboBox jComboBoxBatterieBetriebsdauer
Constructor Detail |
---|
public SimuGUIJFrame()
Method Detail |
---|
private void initialize()
private JPanel getJContentPane()
private JPanel getJPanelOben()
private JPanel getJPanelUnten()
private void aktionUebernehmen()
private JButton getJButtonUebernehmen()
private void aktionSchliessen()
private JButton getJButtonSchliessen()
private JComboBox getJComboBoxUsvZustand()
private JPanel getJPanelAusgabe()
private JTextField getJTextFieldBefehlNotstrom()
private JTextField getJTextFieldBefehlUsvBetrieb()
private JComboBox getJComboBoxBatterieZustand()
private JComboBox getJComboBoxBatterieSpannung()
private JComboBox getJComboBoxBatterieBetriebsdauer()
private JComboBox getJComboboxBatterieRestlaufzeit()
private JComboBox getJComboBoxBatterieTemperatur()
private JComboBox getJComboBoxKommunikationsZustand()
private JComboBox getJComboBoxEingangsFrequenzZustand()
private JComboBox getJComboBoxWechselspannung()
private JComboBox getJComboBoxZustandPhase1()
private JComboBox getJComboBoxZustandPhase2()
private JComboBox getJComboBoxZustandPhase3()
private JComboBox getJComboBoxZustandNotstrom()
public USVZustand getUsvZustand()
getUsvZustand
in interface USVAllgemein
public int getBatterieZustand()
getBatterieZustand
in interface USVAllgemein
public KommunikationsZustand getKommunikationsZustand()
getKommunikationsZustand
in interface USVAllgemein
public EingangsfrequenzZustand getEingangsFrequenzZustand()
getEingangsFrequenzZustand
in interface USVAllgemein
public WechselSpannung getWechselSpannung()
getWechselSpannung
in interface USVAllgemein
public ZustandPhase getZustandPhase1()
getZustandPhase1
in interface USVAllgemein
public ZustandPhase getZustandPhase2()
getZustandPhase2
in interface USVAllgemein
public ZustandPhase getZustandPhase3()
getZustandPhase3
in interface USVAllgemein
public ZustandNotstrom getZustandNotstrom()
getZustandNotstrom
in interface USVAllgemein
public int setNotstrom(boolean befehl)
setNotstrom
in interface USVAllgemein
befehl
- 0: passiv 1: aktiv
public int setUsvBetrieb(boolean befehl)
setUsvBetrieb
in interface USVAllgemein
befehl
- 0: Normalbetrieb 1: Batteriebetrieb
public void setInstance(USVWrapper instance)
USVAllgemein
setInstance
in interface USVAllgemein
instance
- Instanz der Hauptklassepublic int getBatterieSpannung()
USVAllgemein
getBatterieSpannung
in interface USVAllgemein
public int getBatterieTemperatur()
USVAllgemein
getBatterieTemperatur
in interface USVAllgemein
public int getBetriebsdauerBatterie()
USVAllgemein
getBetriebsdauerBatterie
in interface USVAllgemein
public int getUSVRestlaufzeit()
USVAllgemein
getUSVRestlaufzeit
in interface USVAllgemein
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |