Click here to Skip to main content
16,004,568 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Dear Geeks,

I have developed a water taxi booking system with one to one stop, which works fine. I have business scenario where one route has multiple stops. like if I consider starting point of that route is A then end point can be E.
so in between these A-E a passenger can board any point and can disembark at any point. means it has permutations and combinations of start and stop points as we can take an example of a metro. I need some suggestions/support from technology experts to implement this kind of scenario

What I have tried:

I have developed the system with one to one stop where vessel capacity is calculated for that perticular start and stop

created a vessel entity which has vessel capacity

has created legs(A-B) entity which specifies the start and stop

sail entity which uses leg and vessel assigned to it with capacity

booking entity which makes booking for the passenger and deducts the capacity from sail entity.

this system works fine with one to one stop. where passenger boards at point A and disembark at point B. and there is no stops in between. and business scenario comes after I implemented the one to one stop scenario.
Posted
Updated 3 days ago
v5
Comments
Dave Kreskowiak 3 days ago    
This question is screaming "do my homework for me".
khaleelsyed 3 days ago    
I know my question seems like asking direct answer without any home work..but fyi i have implemented the system with one-one to stop which works fine. this scenario comes in the wrong time, where i need to break my existing system.

1 solution

While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us to do it all for you.

So we need you to do the work, and we will help you when you get stuck. That doesn't mean we will give you a step by step solution you can hand in!
Start by explaining where you are at the moment, and what the next step in the process is. Then tell us what you have tried to get that next step working, and what happened when you did.

If you are having problems getting started at all, then this may help: How to Write Code to Solve a Problem, A Beginner's Guide[^]
 
Share this answer
 
Comments
khaleelsyed 3 days ago    
I know my question seems like asking direct answer without any home work..but fyi i have implemented the system with one-one to stop which works fine. this scenario comes in the wrong time, where i need to break my existing system.
khaleelsyed 3 days ago    
I have created vessel table where i store the passenger capacity, I have created a route screen where it will have list of legs(point A - point B), out of leg we create a sail which has leg name (where to where). so when I assign vessel to sail i will assign passenger total capacity to the sail. so when user book ticket using the above sail ( port A - port B) I will deduct the capacity based on no of tickets consumed.this is the current system which i built so far.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900