Browse Source

Added Comments to Events

pull/7/head
Evgeny Gagua 9 months ago
parent
commit
28d07f235e
  1. 146
      lib/components/base/basicEvent.h

146
lib/components/base/basicEvent.h

@ -31,99 +31,99 @@ typedef enum E_basicEventTypeID:uint8_t {
EVT_NOINIT = 0,
EVT_READY = 1,
EVT_ALARM = 2,
EVT_COMMAND = 3,
EVT_KEY = 4,
EVT_JOYSTICK = 5,
EVT_STUDY = 6,
EVT_BUSY = 7,
EVT_FLIP = 8,
EVT_SCAN = 9,
EVT_TARGET_1D = 10, // CLD - No Target Cords, using Device Cords as Target
EVT_COMMAND = 3, // No Actual Use - future
EVT_KEY = 4, // No Actual Use - future
EVT_JOYSTICK = 5, // No Actual Use - future
EVT_STUDY = 6, // Physical Sensor's Internal Working Mode
EVT_BUSY = 7, // Physical Sensor's Internal Working Mode
EVT_FLIP = 8, // Physical Sensor's Internal Event ( from 16 to 1024 Scand depends on environment situation)
EVT_SCAN = 9, // Physical Sensor's Internal Event ( The one Scan is done ~250 milli seconds )
EVT_TARGET_1D = 10, // CLD - No Target Cords, using Device Cords as Target (Cross Line Detector)
EVT_TARGET_3D_WHITE = 11, // 3D System - Range Angle Width
EVT_TARGET_3D_BLACK = 12, // 3D System - Range Angle Width
EVT_TARGET_2D_WHITE = 13, // 2D System - Range Azimuth Elevation [Width]
EVT_TARGET_2D_BLACK = 14, // 2D System - Range Azimuth Elevation [Width]
EVT_CAPTURE_START = 15,
EVT_CAPTURE_START = 15,
EVT_CAPTURE_END = 16,
EVT_CAPTURE_DONE = 17,
EVT_FH_MISSION_BEGIN = 18, // FH_CTRL_DATA
EVT_FH_CANCEL_ACTION = 19, // FH_CTRL_DATA
EVT_FH_FLY_TO = 20, // FH_MISSION_DATA
EVT_FH_WAYPOINT = 21, // FH_MISSION_DATA with current C3D_WGS84_LOC
EVT_FH_DEST_REACHED = 22, // FH_MISSION_DATA
EVT_FH_JAMING_BEGIN = 23, // FH_CTRL_DATA
EVT_FH_JAMER_ON = 24, // FH_MISSION_DATA
EVT_FH_JAMER_OFF = 25, // FH_MISSION_DATA
EVT_FH_TARGET_LOCKED = 26, // FH_MISSION_DATA
EVT_FH_INTERCEPT_BEGIN = 27, // FH_MISSION_DATA
EVT_FH_INTERCEPT_OK = 28, // FH_MISSION_DATA
EVT_FH_INTERCEPT_NOK = 29, // FH_MISSION_DATA
EVT_FH_MISSION_END = 30, // FH_MISSION_DATA
EVT_FH_LANDED = 31, // NO Data
EVT_FH_BUSY = 32, // FH_CTRL_DATA
EVT_FH_MISSION_BEGIN = 18, // FH_CTRL_DATA ( FH: Flying Hunter Events)
EVT_FH_CANCEL_ACTION = 19, // FH_CTRL_DATA
EVT_FH_FLY_TO = 20, // FH_MISSION_DATA
EVT_FH_WAYPOINT = 21, // FH_MISSION_DATA with current C3D_WGS84_LOC
EVT_FH_DEST_REACHED = 22, //
EVT_FH_JAMING_BEGIN = 23, // FH_CTRL_DATA
EVT_FH_JAMER_ON = 24, //
EVT_FH_JAMER_OFF = 25, //
EVT_FH_TARGET_LOCKED = 26, // (Active Stage of Hunting)
EVT_FH_INTERCEPT_BEGIN = 27, //
EVT_FH_INTERCEPT_OK = 28, //
EVT_FH_INTERCEPT_NOK = 29, //
EVT_FH_MISSION_END = 30, //
EVT_FH_LANDED = 31, //
EVT_FH_BUSY = 32, //
EVT_CAMERA_DM = 33,
EVT_CAMERA_ON_POSITION = 34,
EVT_CAMERA_ON_POSITION = 34, // On most Chinese Cameras cannot be generated with garanties (i.e is generated by some timeout)
EVT_ERROR = 35,
EVT_ROI_ACTIVE = 36,
EVT_CAMERA_MOVE_TO = 37,
EVT_FLT_LATF_CHK = 39,
EVT_FLT_LATF_UP_DETEC = 40,
EVT_FLT_LATF_BT_DETEC = 41,
EVT_FLT_LATF_TRP_DET = 42,
EVT_FLT_LATF_TRP_UPDT = 43,
EVT_FLT_LATF_SUSP_START = 44,
EVT_FLT_BUBBLES_BLOCK = 45,
EVT_FLT_LATF_REGULAR = 46,
EVT_FLT_LATF_DISABLED = 47,
EVT_FLT_LATF_SUSP_DET = 48,
EVT_FLT_LATF_DIFF_DET = 49,
EVT_LRF_DRAW_STARTED = 50,
EVT_LRF_DRAW_COMPLETE = 51,
EVT_LRF_START_SESSION = 52,
EVT_LRF_END_SESSION_TO = 53,
EVT_LRF_END_SESSION_MA = 54,
EVT_CONNECTED = 55,
EVT_DISCONNECTED = 56,
EVT_COMMUNICATION_JAMED = 57,
EVT_VIDEO_FPS_DEGRADED = 58,
EVT_VIDEO_FPS_RAISED = 59,
EVT_ERR_LRF_NO_IRQ = 60,
EVT_ERR_LRF_NO_ZERO = 61,
EVT_ERR_LRF_ANGLE = 62,
EVT_ERR_LRF_VOLTAGE = 63,
EVT_ERR_LRF_BROKEN = 64,
EVT_LRF_VIS_CHANGED = 65,
EVT_ERR_OVERFLOW = 66,
EVT_SST_OVERFLOW = 67,
EVT_ROI_ACTIVE = 36, // Region Of Interest
EVT_CAMERA_MOVE_TO = 37, // Demanding Event to Camera (mostly Targeted Event communication)
EVT_FLT_LATF_CHK = 39, // Train Filter Check
EVT_FLT_LATF_UP_DETEC = 40, // Train Filter Upper Sensor Detection
EVT_FLT_LATF_BT_DETEC = 41, // Train Filter Bottom Sensor Detection
EVT_FLT_LATF_TRP_DET = 42, // Train Filter Train Detected (First Time during Session)
EVT_FLT_LATF_TRP_UPDT = 43, // Train Filter Train Position Updated (all next Train Detections)
EVT_FLT_LATF_SUSP_START = 44, // Train Filter Suspicious Target Detected by Bottom sensor
EVT_FLT_BUBBLES_BLOCK = 45, // Bubble Filter Target is Blocked
EVT_FLT_LATF_REGULAR = 46, // Train Filter Regular Detection
EVT_FLT_LATF_DISABLED = 47, // Train Filter Target is Blocked
EVT_FLT_LATF_SUSP_DET = 48, // Train Filter Suspicious Target after Suspicious Mode is started
EVT_FLT_LATF_DIFF_DET = 49, // Train Filter - Some Evt ... not remember what it is
EVT_LRF_DRAW_STARTED = 50, // The SW Starts to enquiry Sensor for Background
EVT_LRF_DRAW_COMPLETE = 51, // The SW Finished to Download from Sensor Background
EVT_LRF_START_SESSION = 52, // The Session of Detections is Started
EVT_LRF_END_SESSION_TO = 53, // The Session of Detections is Closed Natural Way (Time Out of having No Detections)
EVT_LRF_END_SESSION_MA = 54, // The Session of Detections is Closed Manually by Operator
EVT_CONNECTED = 55, // The Sensor is Connected
EVT_DISCONNECTED = 56, // The Sensor is Disconnected
EVT_COMMUNICATION_JAMED = 57, // No Idea ... may be used to propogate Sensor's communications errors - currently No Use
EVT_VIDEO_FPS_DEGRADED = 58, // Embed Encoder Module - When FPS of encoded videos are decreased. Only Using if have special mode of EVE
EVT_VIDEO_FPS_RAISED = 59, // That changes FPS dynamically
EVT_ERR_LRF_NO_IRQ = 60, // Physical Sensor's Internal Error
EVT_ERR_LRF_NO_ZERO = 61, // Physical Sensor's Internal Error
EVT_ERR_LRF_ANGLE = 62, // Physical Sensor's Internal Error
EVT_ERR_LRF_VOLTAGE = 63, // Physical Sensor's Internal Error
EVT_ERR_LRF_BROKEN = 64, // Physical Sensor's Internal Error
EVT_LRF_VIS_CHANGED = 65, // Physical Sensor's Internal Error
EVT_ERR_OVERFLOW = 66, // Physical Sensor's Internal Error
EVT_SST_OVERFLOW = 67, // Physical Sensor's Internal Error
EVT_OP_ACK_MASK = 68,
EVT_OP_NACK_MASK = 69,
EVT_OP_ON_MASK = 70,
EVT_OP_OFF_MASK = 71,
EVT_FLT_LATF_OP_DISABLED= 72,
EVT_FLT_LATF_OP_TD = 73,
EVT_FLT_LATF_OP_UP = 74,
EVT_FLT_LATF_OP_TG = 75,
EVT_FLT_LATF_OP_EXP = 76,
EVT_FLT_LATF_TRP_EXP = 77,
EVT_FLT_LATF_OP_DISABLED= 72, // LATF_OP = Train Filter Other Peer - AUX (Other Side of Platform)
EVT_FLT_LATF_OP_TD = 73, // AUX Train Detected
EVT_FLT_LATF_OP_UP = 74, // AUX Train Updated
EVT_FLT_LATF_OP_TG = 75, // AUX Train Gone
EVT_FLT_LATF_OP_EXP = 76, // AUX Status Expired
EVT_FLT_LATF_TRP_EXP = 77, // Local Train Presence Expired
EVT_FLT_LATF_SUSP_NAK = 78,
EVT_FLT_LATF_SUSP_EXP = 79,
EVT_SRV_SESSION_STARTED = 80,
EVT_FLT_LATF_SUSP_EXP = 79, // Suspicious Mode is Expired (Timed Out)
EVT_SRV_SESSION_STARTED = 80, // Server Software Events
EVT_SRV_SESSION_RATED = 81,
EVT_SRV_SESSION_ENDED = 82,
EVT_SRV_TEST_MODBUS = 83,
EVT_SRV_MODULE_HEALTH = 84,
EVT_RPC_FRIZE_ACTIVE_B = 85,
EVT_FLT_BUBBLE_CREATED = 86,
EVT_FLT_BUBBLE_POPED = 87,
EVT_FLT_ATEN_ROI = 88,
EVT_CAM_ATEN_ONPOS = 89,
EVT_FLT_YOLO_RECOG_RDY = 90,
EVT_FLT_BUBBLES_DEL_FB = 91,
EVT_FLT_BUBBLES_RELOAD = 92,
EVT_FLT_BUBBLE_BLOCK_T = 93,
EVT_FLT_BUBBLE_BLOCK_P = 94,
EVT_FLT_BUBBLE_CREATED = 86, // Bubble Filter - Created New Bubble
EVT_FLT_BUBBLE_POPED = 87, // Bubble Filter - Delete Bubble
EVT_FLT_ATEN_ROI = 88, // For Usage YOLO - > To move Camera Internaly by Filter
EVT_CAM_ATEN_ONPOS = 89, // Report for YOLO -> Cam is on Position
EVT_FLT_YOLO_RECOG_RDY = 90, // YOLO Finished Frame's Analysis (or target analysis - yet not defined)
EVT_FLT_BUBBLES_DEL_FB = 91, // Deletion of All Frozen Bubbles
EVT_FLT_BUBBLES_RELOAD = 92, // Feload All Frozen Bubbles from Database
EVT_FLT_BUBBLE_BLOCK_T = 93, // Target is Blocked by Temporary Blocked Bubble
EVT_FLT_BUBBLE_BLOCK_P = 94, // Target is Blocked by Permanent Frozen Bubble
EVT_COUNT = 95
} basicEventTypeID;

Loading…
Cancel
Save