Commits
Albert Cheng committed 43b3d869405
Added duration of each product to the product tables. Changed the product tables a 1D array of structs. src/nagg_main.c: Cleaned up a #if not to show debug output. src/nagg.h: Removed old macros that access the columns of the old product tables. Defined struct nppproduct_t for the new product tables. Added iet_t get_product_duration_by_id which returns product duration. src/nagg_options.c: Removed print_product_lists from this source module. It is more logical to put it in nagg_product.c src/nagg_select_granules.c: Added code to use get_product_duration_by_id to retrieve product duration for timeg. src/nagg_product.c: Added duration of each product to the product tables. Changed the product tables a 1D array of structs. Changed get_product_sname_by_id and get_product_id_by_sname to use the new struct. Added iet_t get_product_duration_by_id to return product duration. Moved print_product_lists into this source module. Tested: koala