You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/**
|
|
|
|
* color: 颜色
|
|
|
|
* text: 文字
|
|
|
|
* icon: 展示的图标
|
|
|
|
*/
|
|
|
|
|
|
|
|
// 相机的状态
|
|
|
|
export const CameraStatusEnum = {
|
|
|
|
"-1": {
|
|
|
|
color: "",
|
|
|
|
text: "未启用",
|
|
|
|
},
|
|
|
|
0: {
|
|
|
|
color: "",
|
|
|
|
text: "正常",
|
|
|
|
},
|
|
|
|
1: {
|
|
|
|
color: "",
|
|
|
|
text: "网络中断",
|
|
|
|
},
|
|
|
|
2: {
|
|
|
|
color: "",
|
|
|
|
text: "网络正常无图像",
|
|
|
|
},
|
|
|
|
3: {
|
|
|
|
color: "",
|
|
|
|
text: "有图像, 图像存在问题",
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
// 摄像机方向
|
|
|
|
export const CameraDirectionEnum = {
|
|
|
|
// 0: {
|
|
|
|
// text: "上行",
|
|
|
|
// },
|
|
|
|
// 1: {
|
|
|
|
// text: "下行",
|
|
|
|
// },
|
|
|
|
// 2: {
|
|
|
|
// text: "上下行 (双向)",
|
|
|
|
// },
|
|
|
|
1: {
|
|
|
|
text: "上行(菏泽方向)",
|
|
|
|
},
|
|
|
|
2: {
|
|
|
|
text: "中",
|
|
|
|
},
|
|
|
|
3: {
|
|
|
|
text: "下行(济南方向)",
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
// 设备的状态
|
|
|
|
export const DeviceTypeEnum = {
|
|
|
|
0: {
|
|
|
|
text: "异常",
|
|
|
|
color: "#FF5F5F",
|
|
|
|
},
|
|
|
|
1: {
|
|
|
|
text: "正常",
|
|
|
|
color: "#19E1B1",
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
// 摄像 是否可控 是否有云台控制 0 有(球机) 1 ⽆(枪机)
|
|
|
|
export const CameraControlTypeEnum = {
|
|
|
|
0: {
|
|
|
|
text: "球机",
|
|
|
|
},
|
|
|
|
1: {
|
|
|
|
text: "枪机",
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
export const EventTopics = {
|
|
|
|
交通事故: 1,
|
|
|
|
车辆故障: 2,
|
|
|
|
交通管制: 3,
|
|
|
|
交通拥堵: 4,
|
|
|
|
非法上路: 5,
|
|
|
|
路障清除: 6,
|
|
|
|
施工建设: 7,
|
|
|
|
服务区异常: 8,
|
|
|
|
设施设备隐患: 9,
|
|
|
|
异常天气: 10,
|
|
|
|
其他事件: 11,
|
|
|
|
};
|