Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/j4myang/power-biller
https://github.com/j4myang/power-biller
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/j4myang/power-biller
- Owner: j4myang
- Created: 2024-06-21T09:01:55.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-21T09:01:59.000Z (7 months ago)
- Last Synced: 2024-10-11T14:22:07.665Z (4 months ago)
- Language: Java
- Size: 174 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# power-biller
A power management java program
## About
> #### *The instruction is ugly AF*
Computes the kilowatts used by a customer (user) by subtracting their
current and previous meter reading (both are the same when the customer is a new input). The amount to be paid by the user is determined by their status whether they are a residential or commercial user.### Used Computations
- Kilowatts per Hour (current reading - previous reading) (*adds 100, 000 to current if lower than previous*)
- Amount to Pay (kilowatts per hour * customer type multiplier)
- kwh < 100, 100 < kwh <= 200, kwh > 200
- multiplier for residential: 1.50, 2.00, 2.50
- multiplier for commercial: 3.00, 4.00, 5.00### GUI
![alt text](src/main/resources/image.png)![alt text](src/main/resources/image-1.png)