Description

by Oleg Sadov last modified Sep 21, 2017 12:45 PM

Data types

region = id, title, desription, geometry

route = id, title, desription, geometry, max_time_4_garbage_collection, region

sgb = id, title, desriptiongeometry, cleaning_time, rfid, state, sensor, max, volume, percentage_of_fullness, type

track = id, title, desriptiongeometry, priority, max, volume, percentage_of_fullness, type, price_per_hour, price_per_kilometer

waste_dump = id, title, desriptiongeometry, prices [glass, organic, dangerous]

waste_processing_company = id, title, desriptiongeometryprices [glass, organic, dangerous]

waste_management_operator = id, title, desription 

waste_point = id, title, desriptiongeometry

Functions

get_regions () -> [region]

get_region_by_wmo (wmo) -> [region]

get_sgb (region) -> [sgb]

get_all_sgbs () -> [sgb]

get_tracks (region) -> [track]

get_waste_dumps () -> [waste_dump]

get_routes (max_time_4_garbage_collection, [region]) -> [route]

get_waste_management_operators () -> [waste_management_operator]

get_waste_processing_company () -> [waste_processing_company]

get_waste_points (region) -> [waste_point]

get_driver_control(drivers_RFID, truck) -> num_bins, volume, percent

set_sgb(sgb, volume)