Presentation is loading. Please wait.

Presentation is loading. Please wait.

Projektarbeit Softwareengineering Z USTANDS A UTOMATEN S IMULATOR Hannes Anderes Wolfgang Madlener Marcel Müller Stefan Simmen Chris Straub.

Similar presentations


Presentation on theme: "Projektarbeit Softwareengineering Z USTANDS A UTOMATEN S IMULATOR Hannes Anderes Wolfgang Madlener Marcel Müller Stefan Simmen Chris Straub."— Presentation transcript:

1 Projektarbeit Softwareengineering Z USTANDS A UTOMATEN S IMULATOR Hannes Anderes Wolfgang Madlener Marcel Müller Stefan Simmen Chris Straub

2 ÜBERSICHT 11.06.10 2 OOA OOD GUI Konzept Reflection Demonstration

3 OOA: USE CASES 11.06.10 3

4 4 OOA: USE CASES IN DB ERFASST

5 11.06.10 5 OOA: USE CASES DETAIL

6 OOA: USE CASE DOKUMENT Use Case Beschreibung SSD 11.06.10 6

7 7 OOA: FUNCTION POINT ANALYSE

8 11.06.10 8 OOA: FUNCTION POINT ANALYSE

9 DATENBANK STRUKTUR 11.06.10 9

10 OOD: DOMÄNENMODELL 11.06.10 10

11 OOD: SEQUENZDIAGRAMME 11.06.10 11

12 OOD: KLASSENDIAGRAMM - (ITEM) 11.06.10 12

13 OOD: KLASSENDIAGRAMM - (GRAPHIC) 11.06.10 13

14 Architektur 12.06.10 14 BezeichnungProduktVersion Repositiory SVNTortoiseSVN Subclipse 1.6.8 1.6.10 EntwicklungEclipse (IDE) Java Windowbuilder free Swing 3.5 6.0 7.2.0 Repository: Subversion www.assembla.com

15 GUI: MENU 11.06.10 15

16 GUI: DIALOGE 11.06.10 16

17 GUI: ELEMENTE 11.06.10 17

18 SOFTWARE – KONZEPT MODEL-VIEW-CONTROLLER 11.06.10 18

19 DEMONSTRATION: ZA ERSTELLEN 11.06.10 19

20 DEMONSTRATION: ZA CONTENT-FILE EINBINDEN 11.06.10 20 public class CoffeeMachine { private int beans; private int water; public CoffeeMachine() { this.fillWater(); this.fillBeans(); } public void brew1() {this.brew(1);} public void brew2() {this.brew(2);} public void brew4() {this.brew(4);} public Boolean testWaterBeans1() { return this.testWaterBean(1); } public Boolean testWaterBeans2() { return this.testWaterBean(2); } public Boolean testWaterBeans4() { return this.testWaterBean(4); } public void brew(int i) { beans = beans - i; water = water - i; } public boolean testWaterBeans(int tassen) { System.out.println("Beans: " + beans + ", Water: " + water); return beans >= tassen && water >= tassen; } public void fillWater() { System.out.println("Water filled up."); water = 10; } public void fillBeans() { System.out.println("Beans filled up."); beans = 12; }

21 REFLECTION 11.06.10 21 public void addState ItemBase(final StateItemBase stateItemBase) {... Function EntryFunction = new Function() { public void execute() { try { if (null != stateItemBase.getEntryFunctionName()) { if (!stateItemBase.getEntryFunctionName().equals("")) { classOfStateMachineContent.getMethod( stateItemBase.getEntryFunctionName()).invoke(stateMachineContent); } } catch (Exception e) { e.printStackTrace(); } };... public void addTransition (final TransitionItem transitionItem) {... transitionItem.setTransitionCondition(new TransitionCondition() { public boolean cond() { try { if (null != transitionItem.getCondition()) { if (!transitionItem.getCondition().equals("")) { return (Boolean) classOfStateMachineContent.getMethod(transitionItem.getCondition()).invoke(stateMachineContent); } } catch (Exception e) { e.printStackTrace(); return false; } return true; }; });...

22 DEMONSTRATION: ZA SIMULIEREN 11.06.10 22


Download ppt "Projektarbeit Softwareengineering Z USTANDS A UTOMATEN S IMULATOR Hannes Anderes Wolfgang Madlener Marcel Müller Stefan Simmen Chris Straub."

Similar presentations


Ads by Google