#ifndef GLOBALDEFINE_H
#define GLOBALDEFINE_H


#define RET_OK 1
#define RET_ERROR 0

//#define VERSION_FORMATION_SEI


//#define MODBUS_CC_ALARM_REG_START_ADDRESS 2000
//#define MODBUS_CC_TC_REG_START_ADDRESS 3000

//#define MODBUS_CC_ZT1_PPINT_FLAG_MASK 0x0001
//#define MODBUS_CC_ZT1_PPEXT_FLAG_MASK 0x0002
//#define MODBUS_CC_ZT1_PG_FLAG_MASK 0x0004
//#define MODBUS_CC_ZT1_FN_FLAG_MASK 0x0008
//#define MODBUS_CC_ZT1_V00_FLAG_MASK 0x0010
//#define MODBUS_CC_PEQ1_FLAG_MASK 0x0020
//#define MODBUS_CC_PEQ2_FLAG_MASK 0x0040
//#define MODBUS_CC_ZT2_PPINT_FLAG_MASK 0x0080
//#define MODBUS_CC_ZT2_PPEXT_FLAG_MASK 0x0100
//#define MODBUS_CC_ZT2_V02_FLAG_MASK 0x0200
//#define MODBUS_CC_ALARM_ITI_FLAG_MASK 0x0400
//#define MODBUS_CC_INVALID1_FLAG_MASK 0x0800
//#define MODBUS_CC_INVALID2_FLAG_MASK 0x1000
//#define MODBUS_CC_INVALID3_FLAG_MASK 0x2000
//#define MODBUS_CC_INVALID4_FLAG_MASK 0x4000
//#define MODBUS_CC_INVALID5_FLAG_MASK 0x8000

//#define MODBUS_CC_AN1_FLAG_MASK 0x00001
//#define MODBUS_CC_AN2_FLAG_MASK 0x00002



#endif // GLOBALDEFINE_H
