/* * Module_DcMeter.h * * Created on: 2021/5/31 * Author: foluswen */ #ifndef MODULE_DCMETER_H_ #define MODULE_DCMETER_H_ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "define.h" #include "SystemLogMessage.h" //#define DEBUG_STANDALONG //#define ConsloePrintLog #ifndef DEBUG_STANDALONG //#define DEBUG_SHAREMEM_LOG //#define DEBUG_SHAREMEM_STATUS_INFO_LOG //#define DEBUG_SHAREMEM_LIVEMEASURE_LOG //#define DEBUG_SHAREMEM_TRANSACTION_START_LOG #define DEBUG_SHAREMEM_TRANSACTION_RESULT_LOG #else //#define DEBUG_STANDALONG_STATUS_INFO_LOG //#define DEBUG_STANDALONG_LIVEMEASURE_LOG //#define DEBUG_STANDALONG_TRANSACTION_START_LOG #define DEBUG_STANDALONG_TRANSACTION_RESULT_LOG #endif #define ARRAY_SIZE(A) (sizeof(A) / sizeof(A[0])) #define PASS 1 #define FAIL -1 #define ON 1 #define OFF 0 #define YES 1 #define NO 0 #define TRUE 1 #define FALSE 0 struct SysConfigAndInfo *ShmSysConfigAndInfo; struct StatusCodeData *ShmStatusCodeData; #endif /* MODULE_DCMETER_H_ */