ARCS SDK API  0.24.0
system_error.h
浏览该文件的文档.
1 /** @file system_error.h
2  * @brief 系统错误码
3  */
4 #ifndef AUBO_SDK_SYSTEM_ERROR_H
5 #define AUBO_SDK_SYSTEM_ERROR_H
6 
7 #define SYSTEM_ERRORS \
8  _D(DEBUG, 0, "Debug message " _PH1_, "suggest...") \
9  _D(POPUP, 1, "Popup title: " _PH1_ ", msg: " _PH2_ ", mode: " _PH3_, \
10  "suggest...") \
11  _D(POPUP_DISMISS, 2, _PH1_, "suggest...") \
12  _D(SYSTEM_HALT, 3, _PH1_, "suggest...") \
13  _D(INV_ARGUMENTS, 4, "Invalid arguments.", "suggest...") \
14  _D(USER_NOTIFY, 5, _PH1_, "suggest...") \
15  _D(MODBUS_SIGNAL_CREATED, 10, "Modbus signal " _PH1_ " created.", \
16  "suggest...") \
17  _D(MODBUS_SIGNAL_REMOVED, 11, "Modbus signal " _PH1_ " removed.", \
18  "suggest...") \
19  _D(MODBUS_SIGNAL_VALUE_CHANGED, 12, \
20  "Modbus signal " _PH1_ " value changed to " _PH2_, "suggest...") \
21  _D(RUNTIME_CONTEXT, 13, \
22  "tid: " _PH1_ " lineno: " _PH2_ " index: " _PH3_ " comment: " _PH4_, \
23  "suggest...") \
24  _D(INTERP_CONTEXT, 14, \
25  "tid: " _PH1_ " lineno: " _PH2_ " index: " _PH3_ " comment: " _PH4_, \
26  "suggest...") \
27  _D(MODBUS_SLAVE_BIT, 20, "Modbus slave address: " _PH1_ " value " _PH2_, \
28  "suggest...") \
29  _D(MODBUS_SLAVE_REG, 21, "Modbus slave address: " _PH1_ " value " _PH2_, \
30  "suggest...") \
31  _D(PNIO_X, 30, "PNIO slot: " _PH1_ " index " _PH2_ " subindex " _PH3_, \
32  "suggest...") \
33  _D(ICM_X, 40, "ICM slot: " _PH1_ " index " _PH2_ " subindex " _PH3_, \
34  "suggest...") \
35  _D(ICM_SERVER_STATUS, 41, " ICM server status changed to " _PH1_, \
36  "suggest...") \
37  _D(EIP_X, 50, "ICM slot: " _PH1_ " index " _PH2_ " subindex " _PH3_, \
38  "suggest...")
39 
40 #endif // AUBO_SDK_SYSTEM_ERROR_H