K8凯发(中国)

    报警传入协议
    请求地址:

    http://ip:port/third/AddAlarm?eid={$eid}&event={$event}&memo={$memo}


    请求方式: GET

    请求参数:
    参数名 类型 描述 是否必选
    eid string 设备的英文 ID Y
    event int 事件代码 Y
    memo string 备注信息 N

    返回数据:

    {

    "result" :{$result},

    }


    返回字段:
    字段名 类型 描述
    result int 执行结果: 0 注册成功, -1 为失败。

    事件类型定义如下:

    #define dxEvent_VI_Turbine 1000 //轮机异常

    #define dxEvent_VI_Other 1001 //其他异常

    #define dxEvent_AI_ObjRemain 1101 //对象滞留侦测

    #define dxEvent_AI_ObjMotionDetection 1102 //区域入侵侦测

    #define dxEvent_AI_ObjLineDetection 1103 //拌线探测

    #define dxEvent_AI_ObjRemoveal 1104 //对象移走探测

    #define dxEvent_AI_ObjABLineDetection 1105 //对象拌 AB 线探测

    #define dxEvent_AI_ObjABAreaDetection 1106 //对象进入 AB 区域探测

    #define dxEvent_AI_PeoplesGathering 1107 //人群聚集探测

    #define dxEvent_AI_VehicleCongestion 1108 //车辆拥堵探测

    #define dxEvent_AI_PersonnelFlowStatistics 1109 //人流统计

    #define dxEvent_AI_PeoplesFallsDown 1110 //有人跌倒

    #define dxEvent_AI_ObjMotionless 1111 //对象静止

    #define dxEvent_AI_FireDetection 1112 //烟火探测

    #define dxEvent_AI_CellPhoneDetection 1113 //手机打电话

    #define dxEvent_AI_SafetyHatDetection 1114 //未戴安全帽

    #define dxEvent_AI_ObjectFastMovement 1115 //快速移动

    #define dxEvent_AI_FaceRecognitionAlarm 1116 //人脸识别黑名单预警

    #define dxEvent_AI_PeopleVehicleRecoTracking 1117 //人车跟踪

    #define dxEvent_AI_PersonABLineDetection 1118 //行人定向移动

    #define dxEvent_AI_PersonDonotWearGloves 1119 //未戴手套

    #define dxEvent_AI_PeoplesSmoke 1120 //有人吸烟

    #define dxEvent_AI_PeoplesKnife 1121 //有人持刀

    #define dxEvent_AI_PersonNoMask 1122 //未戴口罩

    #define dxEvent_AI_PersonNoChefhat 1123 //未戴厨师帽探测

    #define dxEvent_AI_NonInternalPersonnel 1124 //外来人员人脸识别

    #define dxEvent_AI_InternalPersonnelFaceReco 1125 //白名单人脸识别

    #define dxEvent_AI_PersonNoTT_FGY 1126 //未穿反光衣

    #define dxEvent_AI_PersonNoSafetybelt 1127 //未戴安全带

    #define dxEvent_AI_PeoplesFighting 1128 //有人打架

    #define dxEvent_AI_PersonNoWokClothes 1129 //未穿工服

    #define dxEvent_AI_RubbishDetection 1130 //垃级检测

    #define dxEvent_AI_RidingWithoutHelmet 1131 //骑车不戴头盔

    #define dxEvent_AI_PersonRaiseHands 1132 //举手求救

    #define dxEvent_AI_IllegalVehicleCarryingPersons 1133//车辆违法载人

    #define dxEvent_AI_PersonNumberLimit 1134 //人数限定

    #define dxEvent_AI_VehicleRecognition 1135 //车牌识别

    #define dxEvent_AI_ParkingSpaceTotal 1136 //停车位统计

    #define dxEvent_AI_RidingMotoCarryPeople 1137 //骑车违规载人

    #define dxEvent_AI_PersonNoProtectiveClothing 1138 //未穿防护服

    #define dxEvent_AI_TrafficAccident_VehicleCrash 1139 //交通事故-车辆相撞

    #define dxEvent_AI_TrafficAccident_VehicleRollover 1140 //交通事故-车辆倾翻

    #define dxEvent_AI_TrafficAccident_MotoBicycleRollover 1141//交通事故-电动车倾翻

    #define dxEvent_AI_ConveyorBeltForeignMatter 1142 //传送带异物

    #define dxEvent_AI_ConveyorBeltTorn 1143 //传送皮带撕裂

    #define dxEvent_AI_RideTricycleBehaviour 1144 //骑三轮车未戴头盔

    #define dxEvent_AI_ObjABLineSectionSpeed 1145 //区间测速

    #define dxEvent_AI_LB_DoorOpen 1146 //设备区开门

    #define dxEvent_AI_VehicleThroughRedlight 1147 //闯红灯抓拍

    #define dxEvent_AI_ImageQuality 1148 //图像质量检测

    #define dxEvent_AI_FaceRecognition 1149 //人脸识别

    #define dxEvent_AI_PersonRecognition 1150 //人员识别

    //*水利方面*/

    #define dxEvent_VI_WaterHyacinth 1200 //水葫芦

    #define dxEvent_VI_PlasticFloatingObjects 1201 //塑料类漂浮物

    #define dxEvent_VI_PlantFloatingDebris 1202 //植物类漂浮物

    #define dxEvent_VI_OtherFloatingObjects 1203 //其他漂浮物