diff options
author | John Van Ostrand <john@vanostrand.com> | 2017-05-31 20:46:22 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-05-31 21:53:00 -0700 |
commit | 3ca11912514c1986b812231b1097c6a94cb16bf4 (patch) | |
tree | 0578a48eef7df85b86fceac37346c5c88122de60 /core/cochran.h | |
parent | 4ed6ae0dc7593c713ac7e762aa3642ddece608a7 (diff) | |
download | subsurface-3ca11912514c1986b812231b1097c6a94cb16bf4.tar.gz |
Cochran import: better support for older models
Older models allowed for configuration sample frequency; This patch adds
detection of sample frequency (profile_period) for cochran log file
imports.
Signed-off-by: John Van Ostrand <john@vanostrand.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/cochran.h')
-rw-r--r-- | core/cochran.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/cochran.h b/core/cochran.h index 58693be7a..1726f83c8 100644 --- a/core/cochran.h +++ b/core/cochran.h @@ -21,6 +21,7 @@ #define CMD_MAX_DEPTH 168 // 2 bytes, /4=ft #define CMD_AVG_DEPTH 170 // 2 bytes, /4=ft #define CMD_O2_PERCENT 210 // 8 bytes, 4 x 2 byte, /256=% +#define CMD_PROFILE_PERIOD 237 // 1 byte, seconds // EMC log fields #define EMC_SEC 0 @@ -44,3 +45,4 @@ #define EMC_BT 304 // 2 bytes, minutes #define EMC_MAX_DEPTH 306 // 2 bytes, /4=ft #define EMC_AVG_DEPTH 310 // 2 bytes, /4=ft +#define EMC_PROFILE_PERIOD 435 // 1 byte, seconds |