package com.sd.cavphmi.bean

object WebSetBean {

    var subDic = mapOf(
        "/topic/vehicle" to "/avp/api/VL961/vehicle/1694264612474306561",//车辆位姿数据
        "/topic/dataMerge" to "/avp/api/VL961/dataMerge",//感知目标物
        "/topic/signal" to "/avp/api/VL961/signal",
        "/topic/v2xStart" to "/avp/api/VL961/v2xStart",//v2x预警开始
        "/topic/v2xEnd" to "/avp/api/VL961/v2xEnd",//v2x预警结束
        "/topic/vehicleStatus" to "/avp/api/VL961/vehicleStatus",//联网车辆数据
        "/topic/timeDelay" to "/avp/api/VL961/timeDelay",
        "/topic/points" to "/avp/api/VL961/points",//停车位变更
        "/topic/linePlaning" to "/avp/api/VL961/linePlaning",//全局路径发生切换
        "/topic/partLine" to "/avp/api/VL961/partLine",// // 局部路径
        "/topic/rsiEvent" to "/avp/api/VL961/rsiEvent",// rsi事件
        "/topic/parkingLockStatusChange" to "/topic/parkingLockStatusChange",// 地锁
    )
    //socket 回调
    var dic = mapOf(
        "/topic/vehicle" to 5231,
        "/topic/dataMerge" to 5232,
        "topic/signa" to 5233,
        "/topic/v2xStart" to 5234,
        "/topic/v2xEnd" to 5235,
        "/topic/vehicleStatus" to 5236,
        "/topic/timeDelay" to 5237,
        "/topic/point" to 1,
        "/topic/linePlaning" to 52310,
        "/topic/rsiEvent" to  52311,
        "/topic/partLine" to 52312,
    )


//    5231: { action: setting.webSocket.dic["/topic/vehicle"] },
//    5232: { action: setting.webSocket.dic["/topic/dataMerge"] },
//    5233: { action: setting.webSocket.dic["/topic/signal"] },
//    5234: { action: setting.webSocket.dic["/topic/v2xStart"] },
//    5235: { action: setting.webSocket.dic["/topic/v2xEnd"] },
//    5236: { action: setting.webSocket.dic["/topic/vehicleStatus"] },
//    5237: { action: setting.webSocket.dic["/topic/timeDelay"] },
//    1: { action: setting.webSocket.dic["/topic/points"] },
}