Coder Social home page Coder Social logo

atulkumarpccs / car-parking-design Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.26 MB

Design user diagram & Developing a few classes by using modern C++ to model a CAR PARK

License: GNU General Public License v3.0

C++ 100.00%
car-park parking-charges requirements design-system user-interface

car-parking-design's Introduction

Design

  • Object Oriented design for the CAR PARKING

Coding Guidlines

Use Case:

Requirement:

  • Trucks take 2 slot for park, Car takes one and two wheelers take half a slot for parking.
  • Two types of parking is available in terms of security, once with CCTV and other without.
  • Car park system should show the record of each vehicle parked with details like time (entry time and exit time), charge, type of vehicle.

Assumption:

  • Parking charges at CCTV location is more than without CCTV location
  • Parking charges for truck is double as of car's.
  • Parking charges for two wheeler is half as of car's.
  • Parking charges overnight is more than during day time.

Solution:

  • To generate a record of the parkings, i have considered type of vehicle (light vehicle, heavy vehicle ,two wheeler), duration of parking, location of parking (with cctv or without cctv), time of parking (day time or night time).
  • I have categorised the vehicles broadly in three categories : Heavy vehicle, light vehicle and two wheelers

|Heavy Vehicle -> Trucks, Buses | |Light Vehicles -> Car, van, mini bus etc | |Two wheelers -> motorcycle, scooter etc |

Known Issues :

  • This is just draft version as per requirement document so the implementation files .cpp are not implemented.
  • On some places constructer has been invoked and some places uniform initialization has been invoked.
  • In place of pragma once header gaurd are used for older compiler support.
  • As .cpp are not added so most of function can be seen in red marked in IDE.

car-parking-design's People

Contributors

atulkumarpccs avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.