#ifndef AGBOXDEVICESHM_H #define AGBOXDEVICESHM_H #include #include #include #include #include #include #define VIDEO_PORT 8523 #define VIDEO_PATH "/" typedef struct{ int device_type; char device_code[50]; char device_id[50]; char company_code[50]; char device_gateway[50]; unsigned int lastTime; unsigned int Enabled; }Device; typedef struct{ int device_type; char attribute_name[60]; char attribute_code[20]; unsigned int Enabled; } ProductAttribute; typedef struct{ Device device[1024]; ProductAttribute procuctattrbute[300]; } BoxDeviceShm; #endif // AGBOXDEVICESHM_H