default_data.py 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. data = {
  2. 'enable': True,
  3. 'config': {
  4. # --- 用户配置 ---
  5. 'Role&User': [
  6. {
  7. 'role_info': {
  8. 'role_type': 1,
  9. 'role_name': '超级管理员',
  10. 'switch_list': [
  11. 'admin'
  12. ],
  13. },
  14. 'users_info': [
  15. {
  16. 'username': 'admin',
  17. 'password': '123456',
  18. }
  19. ],
  20. },
  21. ],
  22. # --- 车辆配置 ---
  23. 'VehicleInfo': [
  24. {'name': '3号车', 'address': '192.168.131.180'},
  25. {'name': '5号车', 'address': '192.168.131.xxx'},
  26. ],
  27. # --- 倒渣口坐标数据 ---
  28. # 'aaa': [
  29. # {'name': '3号车', 'address': '192.168.131.180'},
  30. # {'name': '5号车', 'address': '192.168.131.xxx'},
  31. # ],
  32. # --- 渣包坐标数据 ---
  33. # 'bbb': [
  34. # {'name': '3号车', 'address': '192.168.131.180'},
  35. # {'name': '5号车', 'address': '192.168.131.xxx'},
  36. # ],
  37. # --- 转弯圆心点坐标数据 ---
  38. # 'ccc': [
  39. # {'name': '3号车', 'address': '192.168.131.180'},
  40. # {'name': '5号车', 'address': '192.168.131.xxx'},
  41. # ],
  42. # --- 全局配置 ---
  43. 'GlobalVariable': {
  44. 'CameraConfig': {
  45. # 海康 人脸摄像机 中建八局 第4现场 奥东项目
  46. # 'camera_rtsp': 'rtsp://admin:DEVdev123@192.168.1.64:554/h264/ch1/main/av_stream',
  47. # 'camera_ipv4': '192.168.1.64',
  48. # 'camera_user': 'admin',
  49. # 'camera_pass': 'DEVdev123',
  50. }
  51. }
  52. }
  53. }