Industrial Project I Final
Industrial Project I Final
Jun-2013 GC
Declaration
The Project is our own and has not been presented for a degree in any other university and all the sources
of material used for the project/thesis have been duly acknowledged.
Dejen Agaziu…………………………ENG(R)/222/2002…………………………………..
Ermiyas Birhanu……………………..ENG(R)/279/2002……………………..……………..
Habetamu Wubalem…………………ENG(R)/381/2002……………………………………
Name ID Signature
Project subject: Customer Management Service for Bahir Dar City Water Supply Service (Shumaboo Branch)
I certify that this project satisfies all the requirements as a project for the degree of Bachelor of Science.
Worku Kelemework
------------------------------------- ---------------------------------------------
This is to certify that I have read this project and that in my opinion it is fully adequate, in scope and
quality, as a thesis for the degree of Bachelor of Science.
------------------------------------- ---------------------------------------------
It is approved that this project has been written in compliance with the formatting rules laid down by the
school of the university.
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Acknowledgment
We would like to acknowledge the support of the Bahir Dar City Water Supply Service
Shumaboo branch stuff members. They have given the required all documents essential for the
study. Particularly Teshome Mulalem manager of the office, Getnet Adiss Information
Technology professional who allowed our group for interview at any time. We also would like
to express the deepest appreciation to our advisor Getasew T. who has supported us in the past 3
months by his valuable comments and corrections. He encouraged us to pursue on this topic and
spent extra time by helping our group to accomplish our study.
Finally, we also appreciate the help and support from all persons who were directly or
indirectly involved in our project.
~ ii ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Contents
Acknowledgment............................................................................................................................ii
List of Figures................................................................................................................................iv
Abbreviation..................................................................................................................................vi
Abstract........................................................................................................................................vii
Chapter one: INTRODUCTION..................................................................................................1
Background.............................................................................................................................................2
Existing System Study............................................................................................................................3
Statement of the problem........................................................................................................................4
Proposed System.....................................................................................................................................4
Objectives of the Project.........................................................................................................................5
General Objective....................................................................................................................5
Specific Objective....................................................................................................................5
Scope of the project................................................................................................................................5
Methodology...........................................................................................................................................5
Data / requirement collection method......................................................................................5
System analysis & design methodology..................................................................................6
Software tools to be used.........................................................................................................6
Benefit and Beneficiary of the project....................................................................................................6
Benefit of the project...............................................................................................................6
Beneficiary of the project........................................................................................................7
Organization of the Project.....................................................................................................................7
Chapter Two: SYSTEM FEATURES..........................................................................................8
Hardware and Software Requirements....................................................................................................8
Hardware Requirements..........................................................................................................8
Software Requirements............................................................................................................8
User Requirements..................................................................................................................................9
Functional Requirements........................................................................................................................9
Non Functional Requirements...............................................................................................................10
Analysis Models...................................................................................................................................10
Actor Definition.....................................................................................................................10
Use case Diagram..................................................................................................................12
Use Case List and Descriptions.............................................................................................13
Sequence Diagram.................................................................................................................20
Activity Diagram...................................................................................................................33
Chapter Three: SYSTEM DESIGN...........................................................................................46
Deployment Diagram............................................................................................................................46
Architectural Design.............................................................................................................................48
Class Diagram.......................................................................................................................................48
User Interface Design...........................................................................................................................49
Data Structure Design...........................................................................................................................57
Entity Relationship Diagram (ERD)......................................................................................57
Table for ER-Diagram...........................................................................................................59
Normalization Table..............................................................................................................60
Schema Relationship Diagram..............................................................................................61
Algorithm Design.................................................................................................................................62
Bibliography.................................................................................................................................67
Appendix A...................................................................................................................................68
Questions asked during requirement gathering using interview............................................................68
~ iii ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
List of Figures
Figure 1: Use case diagram.....................................................................................................................................12
Figure 2: Sequence Diagram-Login........................................................................................................................20
Figure 3: Sequence Diagram-Apply registration....................................................................................................21
Figure 4: Sequence Diagram-Audit and Analysis...................................................................................................22
Figure 5: Sequence Diagram-Bill collects..............................................................................................................23
Figure 6: Sequence Diagram-View Message..........................................................................................................24
Figure 7: Sequence Diagram-Update Customer Information.................................................................................25
Figure 8: Sequence Diagram-Delete Customer Information..................................................................................26
Figure 9: Sequence Diagram-Order Maintenance...................................................................................................27
Figure 10: Sequence Diagram-Receive Maintenance Order...................................................................................28
Figure 11: Sequence Diagram-Update Maintenance Order....................................................................................29
Figure 12: Sequence Diagram-Enter Meter Read Value.........................................................................................30
Figure 13: Sequence Diagram-Generate Report.....................................................................................................31
Figure 14: Sequence Diagram-View Report...........................................................................................................32
Figure 15: Activity Diagram - Login......................................................................................................................33
Figure 16: Activity Diagram – Apply Registration.................................................................................................34
Figure 17: Activity Diagram – Audit and Analysis................................................................................................35
Figure 18: Activity Diagram – Bill Collect.............................................................................................................36
Figure 19: Activity Diagram – Update Customer Information...............................................................................37
Figure 20: Activity Diagram – Delete Customer Registration................................................................................38
Figure 21: Activity Diagram – View Message.......................................................................................................39
Figure 22: Activity Diagram – Order Maintenance................................................................................................40
Figure 23: Activity Diagram – Receive Maintenance.............................................................................................41
Figure 24: Activity Diagram – Update Maintenance Order....................................................................................42
Figure 25: Activity Diagram – Enter Meter Read Value........................................................................................43
Figure 26: Activity Diagram – Generate Report.....................................................................................................44
Figure 27: Activity Diagram – View Report...........................................................................................................45
Figure 28: Deployment Diagram............................................................................................................................47
Figure 29: Class Diagram........................................................................................................................................48
Figure 30: UI – Login Page.....................................................................................................................................51
Figure 31: UI – Customer Registration...................................................................................................................52
Figure 32: UI – Customer Maintenance Order.......................................................................................................53
Figure 33: UI – Update Maintenance Order............................................................Error! Bookmark not defined.
Figure 34: UI – Meter Read Input...........................................................................................................................53
Figure 35: UI – Update Customer...........................................................................................................................54
Figure 36: UI – Delete Customer............................................................................Error! Bookmark not defined.
Figure 37: UI – Bill Interface..................................................................................................................................55
Figure 38: Printable Bill Format.............................................................................Error! Bookmark not defined.
Figure 39: Report On Customer Debt.....................................................................................................................56
Figure 40: Entity Relationship Diagram (ERD)......................................................................................................57
~ iv ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Figure 41: Table for ER Diagram...........................................................................................................................59
Figure 42: Normalization for the table....................................................................................................................60
Figure 43: Schema Relationship Diagram..............................................................................................................61
~v~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Abbreviation
BDWSSO: Bahir Dar city Water Supply Service Office
CD: Compact Disk
DBMS: Database Management System
ER diagram: Entity Relationship diagram
GB: Giga Byte
I/O: Input Output
MYSQL: My Statement Query Language
PC: Personal Computer
PHPMYADMIN: Hypertext Pre Processor
RAM: Random Access Memory
SQL: Statement Query language
~ vi ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Abstract
The principal objective of this paper is to demonstrate and automate the capability in BDWSSO to conduct
effective, automated, accurately, and inexpensively.
The need for electronically controlled service, in the absence of customer to ensure constant and effective
service distribution is a serious demand. We therefore intend to provide a solution by constructing an electronic
system that has the capability of monitoring the service of the organization to the customers and at the same time
supply Registration and other related service to the customer when they need to access.
The project involves methods like data/requirement collection, system analysis and design(object
oriented approach).It also includes the use of hardware and software’s like operating system, DBMS
,application software, PhpMyAdmin and the likes. DBMS for the purpose of database implementation,
Application software’s to develop user and administrative interface, PhpMyAdmin to providing the user with an
interface. From this project, we hope to build automatically effective and efficient system for BDWSSO.
~ vii ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Bahir Dar water supply service office (BDWSS) has many activities; Such as, Customer registration, bill
calculating, maintenance etc. The system has employees like meter reader, bill officer, accountant, bill
collector, Bill Officerand technical supervisor to give service for their customers. The office use software
which is desktop application to generate the customers billing system and also they use manual system to
store back up files like file cabinets and suspension card. In general the office uses semi-automated system.
So, the project try to reduce this problem and enable the office system to have very fast service to their
customer and to become fully automated system by designing web based service management system for
BDWSS.
~1~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Background
Bahir Dar city water supply service office (BDWSSO) is a water supply organization which is in Bahir
Dar city. The organization is established in 1951 E.C as part of the city administration, with the name
called “Water section”. At that time, the office had only five employees’ water chemist, motor operator,
meter reading expert and two security bodies. BDWSS follows semi automated system to give service for
their customer. Until 1971 E.C the office had only 200 customers, which register to apply the service.
But, in 1970 this “Water section” builds its own office by 60,000 birr and become independent
organizational office by the name called BDWSSO, within 25 employees under the workplace. Currently,
the organization has many customers and employees.
~2~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Existing System Study
The basic existing system functions of the organization are:
Customer registration
It is done by customer service by collecting the necessary data from the user.
Bill calculation
Customer’s data store and bill calculating was using computer software which have SQL 2008
server.
Backup data was stored in manually by using cabinet and suspension card and also CD, hard disk
device
Customer must inform the office if his/her reading value was not done in timely manner by being
physically available at the office.
The billing system was done from the hierarchy of meter reading to bill officer, then bill officer to
accountant and from accountant to bill collector and vice versa.
Report generation
The organization makes a general report about the billing system once at the end of the month
and generates the report.
Maintenance reporting
Customers inform physically to their technical supervisor when service maintenance was needed.
Employees get feedback from their customers using suggestion box.
The following table shows current tariff of water consumption
Number Consumption Tariff/Birr
1 From 0 - 5 m3 2.90
2 From 5.1 - 10m3 4.40
3 From 10.1 - 25m3 6.10
4 From 25.1m3 and above 8.20
Proposed System
The proposed solution for BDWSSO is changing the semi-automated system into web based system by
creating dynamic web page for the organization. Unlike the existing system, which operates by registering
one customer at a time the online web based system can register many customers concurrently. The new
system can also help to found any files of the customers with in a fraction of seconds. With this new system
the organization gives efficient & time observance service for their customer.
~4~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Specific Objective
Here are some specific objectives that would together help us achieve the overall the project as follows:
Methodology
~5~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Software tools to be used
Have much software to do this project, but the most important are the following:
MySQL- to create and design the database which used to store the information of the customers &
the employee of the organization.
MS-Visio-to design the system analysis part of the project.
MS-word- to prepare the documentation part of the project
PHP scripting language and its own WAMP server: to implement the system and provide the user
of the system with an interface.
~6~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Organization of the Project
The project document is organized in 4-chapters. The first chapter contains introduction about the
organization and detail about what type of system, will be done in the project. It also contains the
schedule part of the project
The second chapter of the project document contains the system features (the requirement analysis)
part of the system, which shows the activities that will be done in the system diagrammatically using use
case diagram, Activity diagram, Sequence diagram, it also shows the relationship among them.
The third chapter is about the system design part which contains the Deployment diagram,
Architectural design (class diagram), User interface Design.
The last chapter of the project document is about the system implementation & coding part of the
project. It clearly shows the interfaces, implementation, testing part of the project.
Software Requirements
The client PC running the system may use any of the following operating system:
Window server 2003, 2008:
The client PC may use one of the following browsers:
Internet Explorer Mozilla Firefox
~8~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
User Requirements
User requirements are statements, in a natural language plus diagrams, of what services the system is
expected to provide to system users and the constraints under which it must operate. That describes user
goals or tasks that the users must be able to perform with the system. User requirements therefore describe
what the user will be able to do with the system. (Sawyer S.)
The user interface shall be menu driven, it shall provide dialog boxes; help screens, drop down lists,
radio buttons, check boxes and text boxes for user input.
The navigation from one screen to the other must be easy.
The bill officer wants to get real report according to the report type.
Customers will send service maintenance order to the target place.
Buttons and labels would be indicating exact function that it represented known, example submit
represent save, add but not retrieve from database.
All the system function will be compatible with the user.
Functional Requirements
Functional requirements These are statements of services the system should provide, how the system
should react to particular inputs, and how the system should behave in particular situations. It specifies
the software functionality that the developers must build into the product to enable users to accomplish
their tasks. (Sawyer I. a.)
The system must have a dynamic website that provides successfully registration of customers
which are under the business rule of the office and generate report to interact with various users.
The system should allow staff to login to the system using their username and password.
The system should provide to modify record that is deleting, editing and inserting as well as
retrieving the required information.
The system should display message when employees of the BDWSS and customers do their task
successfully or not when they insert invalid username and password.
The system should display full information for the customer from the database to the interface of
the web page.
The system should have well organized information storage and accessing mechanism.
The system should allow generating report for the organization.
The system must easy to enter meter read value to the database.
The system must presents information of the customer and their monthly costs, and requests
service maintenance in secured manner.
It is expected to solve the difficulty of managing overloaded customer registration, maintenance
order, bill calculating and other task successfully.
~9~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Since everything in the office is financial, the system of DBMS should be highly secured and
every users of the system should have their own privilege which in turn maximize the system
security.
The system calculates the customer’s bill rent, so it should give accurate result; so should be
reliable.
The system should have an easily understandable design in order for users to use it; this means the
system should be user friendly.
The system provides quick and easy information analysis which in turn maximizes the overall
work efficiency.
The system should be able to manage all the information incoming from the database and the
catalogue; Capacity Requirements.
Analysis Models
Actor Definition
Actors are portrayed in a use case diagram as a stick figure and represent external factors that will provide
interaction with the system.
Customer: A person who is using a web browser to access BDWSSO web based.
Bill Officer: an employee, who works on customer service office, which have the following
responsibilities.
Approve new customer application.
She/he makes a decision when a customer is deleted or updated.
Bill reader: an employee in the Billing system, who is responsible to check the monthly or ant time
when the organization want to check reading data,
Bill officer: An employee who works on the billing system office, she/he coordinates the system and he
takes the customer’s monthly reading value from the bill reader calculate the value of each customer
using the system and transfer each result to the accountant and bill collector and also She/he responsible
to generate the report that reads by the bill collector using the system.
~ 10 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Accountant: A professional person who performs accounting functions such as audits or financial
statement analysis, which responsible to takes the final value from the Bill officer and she/he asks the
customer to pay their fee depend on the calculated value. After the payment the Accountant must be
transfer the overall deposit of the customer to the Bill collector.
Bill collector: The Bill collector takes the deposit from the Accountant and check if exception was
happened, if not he/she approve the customers. This employee also has a privilege to read the generated
report that is done by the Bill officer.
Technical supervisor: An employee who works on the maintenance service of customers, they have the
following activities.
It receives the maintenance order of the customers.
It updates the order as much as possible.
~ 11 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Use case Diagram
CMSBDWSS
Receive
Maintanance Order
Update Maintanance
Accountant Logout Technician
order *
«uses»
Generate Report «uses»
*
«extends» «uses»
«uses» Assign Technician
«uses»
Bill officer Login
Update Customer
«uses»
Bill Collect
«uses» Apply Registration
«uses»
Bill Collector
Maintanance Order
Customer
View Report
View Message
Meter Reader
Meter Reading
*Note: Deleting customer is not mean that totaly delete customers from the database, actualy mean temporarly
remove the data.
Figure 1: Use case diagram
~ 12 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
~ 13 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)Identifier: UC3
Actor: Accountant
Description: The Accountant would receive the total cost from the customer that has been being used.
Precondition: The bill officer transfer the final calculated value to the Accountant
Basic course of action: The accountant:
Open the homepage.
Sign in
Enter username and password.
System validates the address.
Click the customer payment page link.
He/she receive payment from the customer’s according to the data; if the customers
had debit, add the penalty value (10 birr per month).
After the payment process was finished, transfer the general data to the bill collector.
Log out.
End use case.
Post condition: The accountant take the payment from customers according to the calculated bill value,
audit and transfer to the bill collector.
~ 16 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)Precondition: UC9.
Basic course of action: The Technician:
Open the homepage.
Sign in
Enter user name and password.
System validates the address.
Checks and see the problem and identify the customers who send the order.
Take the order from the customer.
logout
End use case.
Post condition: Update the maintained service and reassign the technician to the unsolved service.
~ 18 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)Basic course of action: The Bill collector:
Open the homepage
Sign in
Enter user name and password
System validates the address.
Click report link
Select report type that wants to view.
logout
End use case.
Post condition: Generate report.
Sequence Diagram
A sequence diagram shows an interaction arranged in time sequence. In particular, it shows the instances
participating in the interaction by their “lifelines” and the stimuli that they arranged in time sequence. It
does not show the associations among the objects. (Sawyer I. a.)
~ 19 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
2. Enter username
and password Enter user name and password
Login()
3. The system check the eligibility of
user name and password from check
the database
Invalid
~ 20 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Customer
aCustomer Home page Registration Application form
<<actor>> <<UI>> Regestration: <<controller>> <<UI>> Database
send()
1. Customer wishes to register.
<<create>>
apply
.
3. Customer apply. submit()
cann't accept
~ 21 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
audit and analyze:
click login
send()
<<create>>
Check()
invalide()
open()
send()
check()
invalide()
Successfull Inserted
logout()
~ 22 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Bill Collect:
click login
send()
<<create>>
Check()
invalide()
open()
check the monthly payment and identify who has debit
approve()
invalide()
Successfull Inserted
logout()
~ 23 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
View Message::
send()
<<create>>
Check()
invalide()
open()
click(view)
retrive data from the database
No
Display()
logout()
~ 24 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
click login
send()
<<create>>
check()
invalide()
open()
check(id)
invalide()
Enter the data to update
update()
successfully updated
logout()
~ 25 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Delete customer
information
<<create>>
validation()
invalide()
<<create>>
search()
Here deleting customer means
hide the customer data noResult()
temporarly from the database
delete()
display()
logout
~ 26 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Order Maintanance:
send()
<<create>>
check()
open() invalide()
click send
send()
successfully inserted
logout
~ 27 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
send()
<<create>>
check()
invalide()
open()
view order
assign technician
send()
successfully inserted
logout
~ 28 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
send()
<<create>>
check()
invalide()
open()
value()
send()
successfully done
logout
~ 29 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Meter read:
aCustomer,
aMeterREader Login MeterRead Login meterReadValue
theHomePage Database
<<actor>> <<controller>> <<UI>> <<UI>>
send()
<<create>>
check()
open() invalide()
click send
send()
successfully done
logout
~ 30 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Generate report:
send()
<<create>>
check()
open()
invalide()
click report
click print
print()
~ 31 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
View report:
send()
<<create>>
check()
open() invalide()
click report
click preview
display()
report displayed
logout
Activity Diagram
~ 32 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)Activity diagrams model is a high level business or processes or transitions between states of a class. In
this activity diagram tried to document the flow of logic for the major business processes.
Login:
Login
valid
~ 33 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
apply registration:
Registration
applay
~ 34 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
auditing and analysis:
Open home page
Login
Click login
[ invalid
]
valid
valid
Successfully inserted
logout
~ 35 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
bill collector:
Open home page
Login
Click login
[ invalid
]
[Valid
]
[Invalid]
[Approv
e]
succesfully inserted
logout
~ 36 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
update customer information:
[ invalid]
Login
valid
[ incorrect ID]
[ correct ID]
Successfully update
logout
~ 37 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
delete customer information:
Login
[ Incorrect
Enter user name and password ]
[ Correct]
[ Incorrect ID
]
[ Correct ID]
[ no result
Search ]
Successfully deleted
logout
~ 38 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
View Message
Customer open home page
Login
[ Incorrect Address]
[ Correct address]
Logout
~ 39 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Order Maintenance
Signin
[ IncorrectAddress]
[ Incorrect ID
]
[ Correct ID]
~ 40 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Receive Maintenace
Signin
[ Correct address]
~ 41 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
[ Correct address]
[ It's Maintained]
[ Not maintained]
~ 42 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Signin
[ Correct address]
Click Meter read value link
~ 43 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Generate Report
Signin
[ Incorrect Address]
[ Correct address]
~ 44 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
View Report
Signin
[ Incorrect Address]
[ Correct address]
~ 45 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Deployment Diagram
Deployment diagrams show:
The configuration of run-time processing elements and the software components,
processes, and objects that live on them. Software component instances represent run-time
manifestations of code units.
The physical communication links between hardware items (machines and other sources,
such as printers).
The relationship between physical machine and processes-what runs where?
~ 46 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Web server: Appache
Client
<<executable>>
Customer register
<<HTML>>
<<executable>>
Bill calculator
<<executable>>
Report generator
PHP Printer
Database: MySQL
Fax
Scanner
CMSBDWSS
Database
~ 47 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Architectural Design
A software system is a set of communicating entities that collaborates to perform task. The architectural
Design is a top level design which shows these entities, their relationships. Class diagrams or structure
charts may be used to represent architecture of a system.
Class Diagram
Class diagrams show the static structure of the model, in particular, the things that exist (such as classes
and types), their internal structure, and their relationships to other things
Reads
Employee
+First Name : char
+Last Name : char
+Employee ID : char Meter reader
+Position : char
+Tell No : int +Reads()
Message
1
Reads
+Message type : char Accountant
Bill officer 1
-Message No : int
+Message date : int +Audit and Analysis() 1..*
+View Message() +Generate()
1 Water Meter
0...* 1 -Meter type : int
1 Audits 1
Views 1 -Meter size : int
Technician +Meter No : int
- Checks +Read meter()
0...* +Receive main order()
Customer +Update main order()
-Cust ID : int
-Sex : char 1
-First Name : char
-Last Name : char 0..* 1...* 1...*
-City : char Prepares
-Kebele : int Bill
-House No : int Orders -Bill No : int Generates
-Tel No : int Receives -Current read : int
-Previous read : int
+Apply Register() -Consumption : int
+Order Maintenance() -Catagory : char
0..* +Total : int
0..* +Calculate bill()
Applys Maintenance 0..*
0..* -Maintenance No : int 0..*
+Main order date : int
Registration +Maintenance Type : char Report
+Recevie() -Report type : char
+Register No : int 1...*
-Register Date : int +Update() -Report date : int
-Register Time : float +Report No : int
-Register Place : char +View()
+Apply()
~ 48 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Database Design
~ 49 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
~ 50 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
User interface is the external part of the system which is used to access and interact with the system
easily.
~ 51 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
~ 52 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
~ 53 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
~ 54 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
~ 55 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
~ 56 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
~ 57 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
ER Description
Entity’s:- Bill officer, technician, message, bill, bill collector, report, registration, Bill Officer, meter
reader, water meter, accountant and customer
Attribute: - First Name, Father Name, Sex, Cust_ID,Tel_No, Empl_ID, position, type, Date, kebele,
Report Date, Report Number, Report type, Current Read, meter size, Previous read, House_No,
Meter_No, Category, Consumption and Mainten_No.
Relationship: Apply, view, order, update, delete, get value, receive, read, generate and collect
Entity Description
Bill officer:
Technician: The technician receives, update and assign the received maintenance order from
customer.
Customer: The customers are the users of the system have their own privilege and a relationship with
Bill Officer, technician to gate service and submit monthly water meter value.
Message: Information that post to all user of the system.
Bill Collector: The employee that check the balance and debt value received by the accountant.
Manage.
Bill Officer: An employee that updates and delete customer.
Meter reader: An employee who read water meter.
Accountant: An employee who make audit and analysis the bill value of the customer.
Relationship Description
Apply- This relationship shows that new customers apply registration to the system
View- This relationship shows that the bill collector view the generated report by bill officer.
Order- This relationship shows that the customer order maintenance service to the technician.
Delete- This relationship shows that the Bill Officer delete the illegal customer from the database
Generate- This relationship shows that the bill officer generate monthly report to the office.
Receive- This relationship shows that the employee take the request service or report customer’s
problems.
Read: This relationship shows that the customer or meter reader read the value of the water meter.
~ 58 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Table for ER-Diagram
Customer
Cust_ID Name Sex House_No Tell_No Kebele
Maintenance
Maintain_ID Type
Message
Msg_No Msg_Type Date
Bill Officer
Empl_ID Name Sex Position Tell_No
Water Meter
Meter_No MeterType MeterSize
Meter Reader
Empl_ID Name Sex Position Tell_No
Bill Officer
Empl_ID Name Position Position Tell_No
Bill Collector
Empl_ID Name Sex Position Tell_No
Technician
Empl_ID Name Sex Position Tell_No
Bill
Bill_Number Previouse read Current read Consumption Category Total
Report
Report_No ReportType ReportDate
Normalization Table
Normalization is a process that aims at achieving better designed relational database schemas through the user of
semantic information given by Functional dependencies and Primary keys, Normalization process takes a
relational schema through a series of tests to certify whether it satisfies conditions. The schemas that satisfy
~ 59 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
certain condition are said to be in a given “NORMAL FORM’ and unsatisfied schema are decomposed by
breaking up their attributes into smaller relations that posses desirable properties. Normalization allows us to
organize data that it allows fast access and reduced space. (Elmasri; fundamentals of database systems, 2003).
Customer
Cust_ID Name Sex House_No Tell_No Kebele
First normal form (remove multi valued attributes)
Cust_ID First Name Father Name House_No Kebele
Employee
Empl_ID Name Sex Position Tell_No
First normal form (remove multi valued attributes)
Empl_ID First Name Father Name Position
Maintenance
Maintain_ID Type
Message
Msg_No Msg_Type Date
Water Meter
Meter_No MeterType MeterSize
Bill
Bill_Number Previouse read Current read Consumption Category Total
Report
Report_No ReportType ReportDate
Figure 39: Normalization for the table
Maintenance
Maintain_ID Type
Main_Technician
~ 60 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Empl_ID MID
Cust_Message
Msg_No Msg_Type CID Cust_Cus Relation
Empl_ID CID
Cust_Water Meter
Empl_ID MNo
Registration
Reg_No Date Time
Regist_WaterMeter_BillOfficer
Algorithm Design
In this part we describe the algorithm of the operations or methods which found in class diagram using Pseudo code.
Pseudo code is one type of algorithm representation method by using English language.
~ 61 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch) -Kebele
-HouseNumber
-HomePhoneNumber
- Mobilenumber
If (*inputs are valid*)
Then
Add to table Customer (FirstName, FatherName, Cust_ID, Sex, Kebele, HouseNumber, HomePhoneNumber, and
Mobilenumber )
Otherwise
Display “inputs are not valid try again!”
End if
End
~ 62 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)Endif
Otherwise
Display “inputs are invalid try again!”
Endif
End
~ 63 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Search (*Cust_ID*)
If (*inputs are valid*)
Then
Delete from table Customer (Cust_ID )
Otherwise
Display “inputs are not valid try again!”
End if
End
~ 64 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Search (*Mainten_No*)
If (*inputs are valid*)
Then
Update table Maintenance set (Mainten_No, Type, and Order_Date)
Otherwise
Display “inputs are not valid try again!”
End if
End
~ 65 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Pseudo code Register for meter value
Steps/procedure
Method name=audit||analyze
Begin
Variable -Cust_ID
-CurrentRead
-Date
-Category
- Total
If (*inputs are valid*)
Then
Add to table Bill value (Cust_ID, CurrentRead, Date, Category, and Total)
Otherwise
Display “inputs are not valid try again!”
End if
End
~ 66 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Bibliography
Sawyer, I. a. Requirement Engineering a good Practice.
Elmasri, R.
FUNDAMENTALS OF DATABASE SYSTEMS. (2003).
~ 67 ~
CMS for Bahir Dar City Water supply Service (Shumaboo
2013
Branch)
Appendix A
~ 68 ~