View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.)...

30
View design pattern 24.12.2014

Transcript of View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.)...

Page 1: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

View design pattern

24.12.2014

Page 2: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

collection

O1 O2 O3 O4 O5 O6 O7

(1.) filtered collection

O1 O2 O3 O4 O7

(2.) «View» collection

O1 O2 O3 O4 O5absent

O6absent

O7

Page 3: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

UC01 production plan

22.12.2014

Page 4: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

ClassProductionViewController

Requests

services ClassDispositionManagementImpl

InterfaceDispositionManagement

Page 5: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

UC15 manage assertions

22.12.2014

Page 6: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

einmalig

Wählen Sie bitte die Kalendertagen, an denen gefahren werden soll:

07.12.2014 08.12.2014 09.12.2014 12.12.2014 13.12.2014

07.12.2014

13.12.2014

(Dauer)Einsatz für Remzi Abdullah

Page 7: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

new

disabled

edit

save

Gleich für (Dauer)Einsatz

Page 8: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

UC31 close workorder

22.12.2014

Page 9: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

Fahraufträge schliessen

ID Datum Schicht Fahrzeug Fahrer Status

234 12.12.2014 (Freitag) Schicht 1 VW Maxi 5 Renzi Abdullah, Basel pendent235 12.12.2014 (Freitag) Schciht 1 VW Max 6 Franco Anania, Basel gefahren

editieren

Fahrauftrag [234, Remzi Abdullah] schliessen

Anfang km 130 341

Ende km 130 422

Status (12345) gefahren abgesagt (Frau Anna Burkhalter, 09:00, von Messeplatz 12 nach Universitätsspital )

Status (12346) gefahren abgesagt (Herr Franz Huwyler, 09:35, Universitätsspital nach Herrengrabenweg 68)

Status (12347) gefahren abgesagt (Herr Kurt Kohler, 10:00, von Arabienstrasse 16 nach Mühlheimerstrasse 47)

Status (12348) gefahren abgesagt (Frau Rosmarie Portmann, 11:00, von Universitätsspital nach Septerstrasse 3)

Etc.

Page 10: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

UC32 manage driving pools

22.12.2014

Page 11: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

Einsatzplan

editieren

Page 12: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

Einsatzplan für 01 - 2015

Datum Tag Schicht Fahrer Fahrzeuge Plan Status

01.01.2015 Donnerstag Schicht1 20 20 20 OK01.01.2015 Donnerstag Schicht2 20 20 20 OK01.01.2015 Donnerstag Schicht3 20 20 20 OK02.01.2015 Freitag Schicht1 18 19 20 FEHLEREtc.

editieren

Page 13: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

V

V

V

V

V

V

Einsatzplan für 02.01.2015 Freitag Schicht1

Fahrer (ID) Fahrzeug (ID) Status

Zivilschutz 1. Fahrzeug (1234) Opel Movano 1 Diesel (452) OK

Trinkler Werner (1235) Opel Movano 2 Diesel (453) OK

Bischofberger Gottfried (1237) Opel Movano 3 Diesel (454) OK

Widmer Ueli (1238) VW Maxi 1 Diesel (455) IN SERVICE

Nicht definiert (null) VW Maxi 2 Diesel (456) KEIN FAHRER

Nicht definiert (null) Nicht definiert (null) KEIN FAHRER, KEIN FAHRZEUG

Etc.

Page 14: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

UC32 custodian

22.12.2014

Page 15: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

Vormund

Page 16: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

Vormund-Liste

Vormund-ID Anrede

Herr

Herr

Herr

Herr

EditierenLöschen

Page 17: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

Vormund editieren

Vormund löschen

Page 18: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

Vormund

Page 19: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

UC10 daily planning

22.12.2014

Page 20: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

UC10 daily planningscreen design: colors

shift begin shift end/begin

time axis

vehi

cle

axis

Tixiowned

privatelyowned

overbookedplaceholder

background ≅veh. category

from (city) -> to (city)

duration of ride w.o. empty drive

one driver, two shifts

white = one customer

black outline wheelchair

green outline no wh.chair

yellow = long-distance

orange = shared-ride

red = too close to prev.

blue = vehicle in service

empty shift,not used

Page 21: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

mouse hover*: show driver

double-click: open order

double-click: open shared-ride

drag-’n-drop*: new shared-ride

* = new function

click: go to overview page

click*: show orders nearby

UC10 daily planningfunctional design

click*: find ride sharing candidates

click*: navigation

click*: optimize driving routes

Suchen

click*: find customers, drivers

mouse hover: show route

Page 22: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

UC10 daily planningadd basic information

BasBetRiePraAugMünBotObeThePfeReiAesDorWit

Kurzname

First 2..3 letters not always “right”, must

be configurable!

Page 23: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

UC30 ride sharing

22.12.2014

Page 24: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

drivervehicle

customer

pickup date/time

pickup (B) location

drop-off (C) location

Page 25: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

E

F

Shared ride (E – C), with routing B – E – C – F.

Page 26: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

Shared pickup (B), with routing B –C – F.

F

E

Shared drop-off (C), with routing B – E – C.

Page 27: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

shared rides

DrivingMission

DrivingOrder

Business rules:1. Shared orders are created by

connecting two or more DrivingOrders into one DrivingMission:

a) Common start-time & locationb) Common target-time & location

2. Any changes to DrivingOrders areinherited by the DrivingMission.

3. DrivingOrders with manualRoute=true are not optimized.

Common = + 30 minute(s) (CONSTANT)

UC30 ride sharingdata design

- sharing_candidate:boolean

Design pattern: “composite pattern”? (Link)

manualRoute = true

- memo:text

Page 28: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

inhe

rits

first

last

sum

Coun

t(t

rue)“divers” if members (below) NOT same

Value if members (below) are same

Max. 8 Orders,Ordered byAbfahrt ASC

Sammelauftrag editieren

Besir Palloshi

Namen

09:00

Abfahrt

09:15

Ankunft

Zug

Von Ort

Fridbachweg 17

Von Strasse

Cham

Nach Ort

Seeblick 1

Nach Strasse

0

Begleiter

nein

Rollstuhl

Iris Bogaroski 09:15 09:31 Zug Baarerstrasse 47 Cham Seeblick 1 0 nein

Mahir Turic 09:25 09:44 Baar-Inwil Inwilerriedstr. 53 Cham Seeblick 1 0 nein

Sandrine Freyt. 09:35 09:51 Steinhausen Fridbachweg 7 Cham Seeblick 1 0 nein

4 Fahrgäste 09:00 09:51 divers divers Cham Seeblick 1 0 0

ID

1234571

1234567

1234568

1234569

1234570

UC30 ride sharingscreen design: edit shared orders

Coun

t(N

amen

)Schmetterling (morgens)

Page 29: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

save orquit

drag ‘n drop order(n) on order(m),double-click shared-ride,find ride-sharing candidates

(manualRoute==true)

click ID

UC30 ride sharingfunctional design

clicktrash

Kantonal

Sammelauftrag (kandidat)

Context (UC10)dd.mm.yyyyDaily planning

Page 30: View design pattern 24.12.2014. collection O1O2O3O4O5O6O7 (1.) filtered collection O1O2O3O4O7 (2.) «View» collection O1O2O3O4O5 absent O6 absent O7.

UC30 ride sharingpredecessor application