#ifndef __INTL_MSG_ALIAS_ID__ #define __INTL_MSG_ALIAS_ID__ /** * In [General] section */ #define CR_OK 0 #define INVALID_ERR_ID 200001 #define WRONG_FIELD_NUM 200002 #define INVALID_PTR 200003 //#define REFERENCE_INVALID 200004 #define OPEN_FILE_FAIL 300004 #define WRITE_FILE_FAIL 300005 #define ALLOCATE_BUFF_FAIL 300006 #define NO_CORRESPONDING_MSG 300007 #define REFERENCE_INVALID_DETECTOR 300008 #define PERMISSION_DENIED 300009 /** * In [Detector] section */ //#define FRM_EXP_OVERFLOW 201301 //#define EXP_FRM_OVERFLOW 201302 #define PATCH_BLOCK_INFO_INVALID 201303 #define INVALID_CMD_ID 301001 #define INVALID_PARAM 301002 #define NO_VALUE_INPUT 301003 #define PARAM_MISSED 301004 #define PANORAMA_ROI_INVALID 301005 #define UNDEFINED_ACQ_MODE 301101 #define UNDEFINED_SYNC_MODE 301102 #define UNDEFINED_SPOT_MODE 301103 #define SET_VERSION_ERR 301201 #define SET_DETRTIME_ERR 301202 #define HAVE_UNSENT_FRAME 301203 #define CHANGE_MODE_NOT_ALLOWED 301204 #define ACCESS_FPGA_ERR 301205 #define STOP_ACQ_ERR 301206 #define GET_MACHINE_ID_ERR 301207 #define SET_ACQ_MODE_ERR 301208 #define SET_SYNC_MODE_ERR 301209 #define SET_EXP_TIME_ERR 301210 #define START_ACQ_ERR 301211 #define SET_VCMP_ERR 301212 #define GET_SPOT_ERR_WITHOUT_ACQ 301213 #define SWITCH_SPOT_MODE_ERR 301214 #define SET_SPOT_MODE_ERR 301215 #define GET_REG_VALUE_ERR 301216 #define FRM_RATE_IN_EXT_MODE 301217 #define FRM_EXP_OVERFLOW 301218 #define EXP_FRM_OVERFLOW 301219 #define UNAVAILABLE_PARAM 301220 #define SET_ABC_PARAM_ERR 301221 #define SET_AEC_PARAM_ERR 301223 // add new AEC error #define GET_AEC_PARAM_ERR 301224 // add new AEC error #define SET_IFCONF_PARAM_ERR 301225 // add new error #define INCORRECT_PARAM_FRM 301301 #define EQUAL_OR_SMALLER_VALUE 301302 #define SMALLER_VALUE 301303 #define UNSUPPORTED_POWERMODE 301304 #define INVALID_POWER_MODE 301305 #define EXP_TIME_OVERFLOW 301306 #define FRM_RATE_OVERFLOW 301307 #define UNSUPPORTED_COMMAND 301308 #define EXPOSURE_NOT_READY 301309 #define REGISTER_MODE_DURING_ACQ 301310 #define NO_DETR_FOUND 301901 #define DETR_INIT_ERR 301902 #define DETR_UNINITIALIZED 301903 #define NO_APPLICATION_MODE 301904 #define INVALID_APPLICATION_MODE 301905 #define INVALID_GAIN_LEVEL 301906 #define INVALID_TRIGGER_TYPE 301907 #define DETR_IN_USE 301908 #define INIT_XML_ERR 301909 #define READ_REGISTER_ERR 301910 #define WRITE_REGISTER_ERR 301911 #define OPEN_STREAM_CHANNEL_ERR 301912 #define CLOSE_STREAM_CHANNEL_ERR 301913 #define CLOSE_DETR_ERR 301914 #define GET_EXP_TIME_ERR 301915 #define GET_FRM_RATE_ERR 301916 #define SET_FRM_RATE_ERR 301917 #define RESEND_NOT_SUPPORTED 301918 #define TRANSMITTION_SIZE_ERR 301919 #define IMAGE_SIZE_ERR 301920 #define DAEC_ROI_ORIGINAL_WEIGHTS_ERR 301921 /** * In [Command] section */ //#define INVALID_DETR_IDX 302001 /** * In [Common] section */ /** * In [Data] section */ #define CAL_DATA_LOAD_FAILED 204001 #define REFERENCE_INVALID 204002 #define REFERENCE_NO_EXISTS 204003 #define CAL_DIR_NOT_EXIST 304001 #define CAL_FILE_NOT_EXIST 304002 #define CAL_FILE_SIZE_ERR 304003 #define PARSE_DEFECT_FILE_ERR 304004 /** * In [Network] section */ #define NETWORK_SPEED_SLOW 205001 /** * In [ImageProcessing] section */ #define CORRECT_OFFSET_FAILED 206001 #define CORRECT_GAIN_FAILED 206002 #define CORRECT_DEFECT_FAILED 206003 #define CORRECT_DEFECT_TOO_LONG 206004 #define SAVE_IMAGE_FAILED 206005 #define DETECT_FRAME_LOST 206006 #define IMAGE_QUEUE_BLOCKED 206007 #define DISCARD_FRAME 206008 /** * In [CRInterface] section */ #define EMPTY_CMD_STR 307001 #define RECV_CMD_REP_FAIL 307002 #define DETR_UNREACHABLE 307003 #define SERVER_UNREACHABLE 307004 #define UNSUPPORTED_PROPERTY 307005 #define UNREGISTERED_APPMODEKEY 307006 #define INSUFFICIENT_BUFFER_SIZE 307007 /** * In [SQLite] section */ #define OPEN_DB_FAIL 408001 #define OPERATE_DB_FAIL 308001 #define EMPTY_SQL 308002 #define PREPARE_SQL_FAIL 308003 #define EXECUTE_SQL_STATEMENT_FAIL 308004 #define FINALIZE_SQL_STATEMENT_FAIL 308005 #define BEGIN_TRANSACTION_FAIL 308006 #define COMMIT_TRANSACTION_FAIL 308007 #define ROLLBACK_TRANSACTION_FAIL 308008 #define WRONG_PASSWORD 308009 /** * In [IntlMessage] section */ #define UNBALANCED_BRACKETS 309001 #define INVALID_NUM_OF_BRACE_PAIR 309002 #define FOUND_WHITE_SPACE 309003 #define MISSING_EQUAL_SIGN 309004 #define MISSING_KEY_NAME 309005 #define INVALID_KEY_NAME 309006 #define INVALID_SPECIFIER 309007 #define DUPLICATED_KEY_NAME 309008 #define UNIDENTIFIED_LINE 309009 #define UNPAIRED_KEY_NAME_TYPE1 309010 #define UNPAIRED_KEY_NAME_TYPE2 309011 /** * In [Server] section */ #define CALIBRATION_MANUALLY_TERMINATED 210001 #define DEFECTION_OVER_LIMIT 210002 #define DETR_ALREADY_DISCONNECTED 210003 #define DETECTOR_UNREACHABLE 310001 #define SERVER_IN_CALIBRATION_STATE 310002 #define FILE_PATH_NOT_EXIST 310003 #define FILE_NOT_EXIST 310004 #define FILE_OPEN_ERR 310005 #define API_UNREACHABLE 310006 #define FILE_VERFIED_ERR 310007 #define FILE_IN_SERVER_NEWER 310008 #define DISK_SPACE_USED_UP 310009 #define INVALID_DETR_IDX 310010 #define SWITCH_TO_RAD_DURING_ACQ 310011 #define SWITCH_TO_FLUORO_DURING_RAD_ACQ 310012 #define CALIBRATION_RECV_NO_IMG 310013 //#define USE_MODE_BEFORE_REG_MODE 310014 #define TIME_LEN_FOR_SIMP_CALIB_TOO_SHORT 310015 #define DUPLICATED_MACHINE_ID 410001 /** * In [CDetr] section */ #define DETR_IN_CALIBRATION_STATE 311001 #define DETR_OFFLINE 311002 #define DETR_IN_ACQUISITION_STATE 311003 #endif