//
//  Copyright (c) 2001, Reson, Inc. All Rights Reserved.
//
//  Filename:   DWORDMessageList.h
//
//  Project:    6046
//
//  Author(s):  P. Moberg, J. Marcus
//
//  Purpose:    Defines the messages sent by the 6046 to the dry end providing a simpler interface than ASCII.
//
//  Notes:      The 6046 sends commands based on the enumerated command mode
//              which is defined as ST_VERBOSE or ST_BINARY (in 6046.cpp).
//              The following IDs are for binary mode only.

// Adding sensors

#define ID_ADD_SUCCESS                  2000
#define ID_ADD_FAIL_ID                  2001
#define ID_ADD_FAIL_PORT                2002
#define ID_ADD_FAIL_MODNUM              2003
#define ID_ADD_FAIL_ATMAX               2004
#define ID_ADD_FAIL_NOIMP               2005
#define ID_ADD_FAIL_COMP                2006

// Removing sensors

#define ID_REMOVE_SUCCESS               2010
#define ID_REMOVE_FAIL_RL               2011

// Recording data

#define ID_RECORD_START                 2020
#define ID_RECORD_STOP                  2021

// Network conections

#define ID_TCP_CLOSED                   2022
#define ID_TCP_OPENED                   2023

// Settings files

#define ID_SAVE_FAIL                    2030
#define ID_SAVE_SUCCESS                 2031
#define ID_LOAD_FAIL                    2032
#define ID_LOAD_SUCCESS                 2033

// Report from main ... maybe eliminated.

#define ID_RPRT_REC_YES                 2040
#define ID_RPRT_REC_NO                  2041

// Data file changes

#define ID_FILE_CHANGE_SUCCESS          2050
#define ID_FILE_CHANGE_FAIL             2051
#define ID_PATH_CHANGE_SUCCESS          2052
#define ID_PATH_CHANGE_FAIL             2053

// Port settings

#define ID_PORT_CHANGE_SUCCESS          2060
#define ID_PORT_CHANGE_FAIL_RL          2061
#define ID_PORT_CHANGE_FAIL_PORT        2062
#define ID_PORT_CHANGE_FAIL_NET         2063

// Verbose / binary mode

#define ID_MODE_SWITCH_OK               2070

