Open apelttom opened 10 years ago
Saúl could you please start implementing the second par of GUI? I don't know what is missing, maybe the receipt window. When you will finish it, please redesign ParkingLotFrame to show two buttons: Start Parking lot and Stop Parking lot.
I don't know what else to do about the GUI... I added the new buttons you requested but beyond that I think now is just about adding the functionality... besides I was gonna start working in the documentation of the project, since as far as I know there's no work done in that aspect...
Okay. The documentation is other important part, it would be really good if you could take care of it. I will close this issue.
Saúl, just some notes from my observations during working with your code:
Another part I have just realized. We have to generate parking spots dynamically during the start of the parking lot, so static JPanels are useless :-(
I thought that when the parking lot starts (let's say, opens in the morning) it's empty, so all the parking spots are available (JPanels green). And also the fact that the place doesn't have infinite space, so by definition it has a limited number os parking spots... and for what I've seen in parking lots now a days, one of tne functions of the watcher is to guide the drivers into their parking spot, help them park correctly so they won't interfere with the other parking spots... and when I designed the GUI I thought haveing a big number of parking spots would be a little messy to handle so that's why I just put 26 JPanels there... and also taking the bussiness aproach, every bussines starts small :-P Or maybe I just misunderstood your concerns Tom, and would require further explaining ;-P About the show() thing, as it worked fine it didn't occurred to me to change it, so sorry 'bout that... and also 'bout the names of the GUI components...
Don't worry about the GUI components names or different show method Saúl :-) I am writing it here only as a recommendation for any further job when you will be working on other project with GUI in java, so you can be an awesome programmer ;-) But you did the job I asked from you and you did it quickly, big thanks for that.
About the Parking Spots. You are completely right, but imagine this situation: User will change in the settings the number of parking spots (for example he will add two more) and we will still be showing 26 Parking Spots :-( That is the problem. I dont need a solution from you right now, I would just like to ask you if you could think about this. We will be solving this after the logic of main functions will be done.
I hope I made it clearer ;-)
Saúl, the settings for Company ID is missing. This ID is Cédula jurídica, so user has to have an option to modify it of at least set it up.
Also I am missing the Receipt GUI window. If you press button Print Receipt, what will be shown? Can you fix it please?
When you press the Print button there's supossed to be an SO call to activate a printer and print the receipt, but I guess that for this specific project purposes we can just send it to the console or just make something like a toString method and print it in a I/O file. I will modify this ID bussiness right away :-)
2014-04-07 15:54 GMT-06:00 Tom Apeltauer notifications@github.com:
Saúl, the settings for Company ID is missing. This ID is Cédula jurídica, so user has to have an option to modify it of at least set it up.
Also I am missing the Receipt GUI window. If you press button Print Receipt, what will be shown? Can you fix it please?
Reply to this email directly or view it on GitHubhttps://github.com/apelttom/ParqueoPublico/issues/5#issuecomment-39788746 .
Instituto Tecnológico de Costa Rica Ingeniería en Computación
Saúl Zamora Castro 200835773
Yes, but in the task there is written that we have to demonstrate the printed receipt:
Here: ...con un billete de 2000 o 5000. Una vez que se introduce este dato, el programa calcula el monto del vuelto que debe darse al cliente y procede a imprimir la factura. Para efectos de este proyecto la factura tampoco se va a imprimir, sino que solamente se presentará en pantalla. A continuación se muestra un posible ejemplo de...
Implementing Car check in window, Car check out window, Receipt window, Cash desk window and Receipts history window.