0% found this document useful (0 votes)
47 views1 page

Clasa Dia Info-2

The document describes classes for locations, stations, hubs, drones, and weather. Location and weather classes contain latitude, longitude, and methods to get weather conditions. Station and hub classes describe drone distribution centers with name, drone counts, supply details, order properties, and methods for tasks like cost calculation. The drone class tracks identifiers, status, battery, capacity, locations, distances, work completed, and methods for distance calculation and operations.

Uploaded by

pranav1999
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views1 page

Clasa Dia Info-2

The document describes classes for locations, stations, hubs, drones, and weather. Location and weather classes contain latitude, longitude, and methods to get weather conditions. Station and hub classes describe drone distribution centers with name, drone counts, supply details, order properties, and methods for tasks like cost calculation. The drone class tracks identifiers, status, battery, capacity, locations, distances, work completed, and methods for distance calculation and operations.

Uploaded by

pranav1999
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Location

Latitude: double
Longitute: double

+getLatLong()
+getWeatherCond()

Station

Name : string Cost_Calculation


No_of_present_drone: int
Source_name: String Work_done_cost: double
Dest_name: String Cost: double
Supplies: dictionary
Supplies_status: binary +WorkDone():double
Hub
Order_dist:double +Cost_calculation(work_done_cost )
Order_mass:double
Name : string
Weather*
No_of_present_drone: int
Source_name: String +getDistance(): double
Dest_name: String +getOrder()
Supplies: dictionary +Efficient_Done(): drone_name
Supplies_status: binary +setDelivery(): int
Order_dist:double +getMass(): int
Order_mass:double +suppliesStatus(): binary
Weather*
Drone
+getDistance(): double
+getOrder() Drone_id : string
+Efficient_Done(): drone_name Status : binary
+setDelivery(): int Battery : double
+getMass(): int
Capacity: double
+suppliesStatus(): binary
Remain_capacity: double
Current_location:
Trav_dist: double
Point_dist: double
Work_done: double
Weather*

+getDistance( ): double
+getOrder( ): double
+Capacity( )
+operation()

You might also like