#ifndef OVENSTATICS_H #define OVENSTATICS_H #include #include #include "../../app-prime-modbus/include/all_share.h" #include "udphandler.h" #include "oven.h" #include "servicedata.h" #define SYS_STATE_MAX 4 #define SYS_ERR_MAX 10 #define SYS_ERR_MASK_ERR_CLEAR_COOKING 0x00ff #define SYS_ERR_MASK_ERR_CLEAR_NONCOOKING 0x00ff #define SYS_ERR_MASK_COOKING 0x00ff #define SYS_ERR_MASK_NONCOOKING (SYS_ERR_OVNE_TEMP_ALARM) #define COMM_ERR_MAX 5 #define COMM_ERR_MASK_ERR_CLEAR_COOKING 0x0000 #define COMM_ERR_MASK_ERR_CLEAR_NONCOOKING 0x0000 #define COMM_ERR_MASK_COOKING 0x0000 #define COMM_ERR_MASK_NONCOOKING 0x0000 #define SENSOR_ERR_MAX 10 #define SENSOR_ERR_MASK_ERR_CLEAR 0x0000 #define SENSOR_ERR_MASK_COOKING 0x0000 #define SENSOR_ERR_MASK_NONCOOKING 0x0000 #define MAKE_MASK(MASK) (1<