Documente Academic
Documente Profesional
Documente Cultură
",
111
1 ,
MEeo 2016
Bar, Montenegro
Dusanka Bundalo
University ofBanja Luka
Faculty of Philosophy
Banja Luka, Bosnia and Herzegovina
Drazen Pasali6
Sberbank AD Banja Luka
Banja Luka, Bosnia and Herzegovina
Zlatko Bundalo
University of Banja Luka
Faculty of Electrical Engineering
Banja Luka, Bosnia and Herzegovina
1.
INTRODUCTION
-489-
",
111
1 ,
MEeO 2016
Bar, Montenegro
-490-
00
",
MEeO 2016
111
1 ,
Bar, Montenegro
1:.
WCF
WEB
services for
Payment
WEB
HMe .. for
CRUD
operations
TRAPS Database
Figure 2. Proposed cloud based web application design for vehicle toll
payment
/I HighwaySectionld
II PaymentMethod...
/I Tid:etDetail sPa id
II TicketDetailsUsed
JI
HighwaySectionld
El Navigation Properties
~ HighwaySection
~ Tictet
JI
JI
/II
JI
UserAccoun tid
Ticketdate
TicketPaid
TicketUsed
" Tripld
/II Vehicleld
El Navigation Properties
.,r;] UserAccount
,r:J Tnp
~Vehi(le
/II
/II
/II
/II
Location
HighwayName
Address
Direction
EI Navigation Properties
~ Country
~ HighwaySection
~ HighwaySection1
-491-
paid or used travel tickets for the selected user. This method is
FindTicketO and it is shown in Fig. 4.
pub l ic Tic k et F ind T icket( s t r i n g id)
{
usi ng
<!!"APS En t i t i e s e n t
n e w T rA P S En t i t i e s (
{
v ar n i d = Con ver t . ToI n t 32(id ) ;
ret u r n e n t . T i c k e t . Wh ere (p = > p_ T i c k e t I d
.Selec t (p => n e w Ti c ke t
==
nid)
{
Ti c ketId = p . T ic k etId~
UserAc c o u n t id = p_UserAccountid ~
Ticket d ate = p . Ticket d a te ~
T i cketPa i d = p _ T i cke t Pa i d~
Ticke tUse d = p _ T i cke tUsed ~
T r i pI d = p _ T ri pI d~
Ve h ic l e I d = p _ Vehic l eId..
T i cketDe t a i l s E n t i t y = P _ T i cketDeta i l s .As E nu merable()
_ Selec t ( z => n e w Ti ck e t De t a i l s Ent i t y
{
T i cke tDe t a i l sI d = z _ T ic k e t Deta i l sI d ~
H ig h waySec t ion Id = z . High w aySectio n I d ,
P aymentM et h odI d
Z _ Payme n tMet h o d I d
} )
} ). First( );
1,1
111
1 ,
MEeO 2016
Bar, Montenegro
Tickets
_&6
......
"'"
""'"
...
~.
...
"'~
III'
16C1:' ~
Vila
'''101
COr!alI
"',
,~
BM,11b
<ill
p,,,
Ticket Details
[2]
[3]
,,,
St,,,,
HilII
U1t~
/J;*
1l:1li_1
Sllat
..
[1]
TlII:btll
[4]
[5]
[6]
Figure 5. Web application Dashboard
CONCLUSION
[7]
[8]
[9]
Raspberry
PI
Foundation.
[Online].
Available:
https://www.raspberrypi.org/
[10] Java Software. Create the Future with Java. [Online]. Available:
https://www.oracle.com/javalindex.html
[II] Pay Pal
Pte.
Ltd.
[Online].
Available:
https://www.paypal.com/balwebapps/mpp/home
-492-