diff code_part1/OSTC_code_c_part2/shared_definitions.h @ 222:638f8e17bd51

Prototyping deco_gas_volumes() to compute gas consumption per tank with decoplanning.
author JeanDo
date Tue, 01 Mar 2011 14:41:10 +0100
parents c7e32ff65636
children 49c90c5d9603
line wrap: on
line diff
--- a/code_part1/OSTC_code_c_part2/shared_definitions.h	Tue Mar 01 11:48:11 2011 +0100
+++ b/code_part1/OSTC_code_c_part2/shared_definitions.h	Tue Mar 01 14:41:10 2011 +0100
@@ -100,6 +100,8 @@
 VAR_UINT  (int_O_DBG_post_bitfield);
 VAR_UCHAR (char_O_NDL_at_20mtr);
 
+TAB_UCHAR (char_O_gas_volumes, 5);           // Volumes evaluation for each gas tank, in 100's of liters.
+
 TAB_UCHAR (char_O_hash, 16);
 
 #ifdef __18CXX
@@ -131,12 +133,10 @@
 VAR_UCHAR (char_I_deco_ppO2);              // new in v.101
 VAR_UCHAR (char_I_depth_last_deco);        // new in v.101 unit: [m]
 VAR_UCHAR (char_I_deco_model);             // new in v.102. 0 == ZH-L16, 1 = ZH-L16-GF (Grandiant facttor)
+VAR_UCHAR (char_I_bottom_depth);           // Bottom depth for planning (used in gas volume evaluation).
+VAR_UCHAR (char_I_bottom_time);            // Bottom time for planning (used in gas volume evaluation).
 
-VAR_UCHAR (char_I_deco_gas_change1);       // new in v.101
-VAR_UCHAR (char_I_deco_gas_change2);       // new in v.109
-VAR_UCHAR (char_I_deco_gas_change3);       // new in v.109
-VAR_UCHAR (char_I_deco_gas_change4);       // new in v.109
-VAR_UCHAR (char_I_deco_gas_change5);       // new in v.109
+TAB_UCHAR (char_I_deco_gas_change, 5);     // new in v.101
 
 VAR_UCHAR (char_I_deco_N2_ratio1);         // new in v.101
 VAR_UCHAR (char_I_deco_He_ratio1);         // new in v.101