mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
4ed6ae0dc7
commit
3ca1191251
2 changed files with 23 additions and 18 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue