config.ini 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. [App]
  2. name = 恒达钢包工位视频监测系统
  3. copyright = 恒莱达
  4. screen = 0
  5. [Video]
  6. rtsp_timeout = 10
  7. [Hardware]
  8. module_type = RFID
  9. [RFID]
  10. ip = 192.168.100.113
  11. port = 60000
  12. stability_time = 5
  13. stability_count = 3
  14. [AutoRestart]
  15. enabled = false
  16. interval = day
  17. hour = 3
  18. minute = 0
  19. target = app
  20. weekdays = 0
  21. day_of_month = 1
  22. countdown = 60
  23. #[AutoRestart]
  24. #enabled = true
  25. #interval = day
  26. #hour = 7
  27. #minute =55
  28. #target = device
  29. #weekdays = 0
  30. #day_of_month = 1
  31. #countdown = 60
  32. [Modbus]
  33. ip = 192.168.1.200
  34. port = 502
  35. frequency = 100
  36. stability_count = 3
  37. [AI]
  38. enabled = true
  39. broker = 192.168.1.248
  40. port = 18830
  41. topics =
  42. ds/channel/#
  43. module_count = 2
  44. auto_calib_ready_frames = 3
  45. auto_calib_duration_secs = 1.0
  46. auto_calib_min_samples = 2
  47. [AI:0]
  48. broker = 192.168.100.144
  49. port = 18830
  50. topics =
  51. ds/channel/#
  52. [AI:1]
  53. broker = 192.168.100.101
  54. port = 18830
  55. topics =
  56. ds/channel/#
  57. [AI:2]
  58. broker = 192.168.100.102
  59. port = 18830
  60. topics =
  61. ds/channel/#
  62. [AI:3]
  63. broker = 192.168.100.100
  64. port = 18830
  65. topics =
  66. ds/channel/#
  67. [NVR]
  68. count = 1
  69. [NVR:0]
  70. name = MainNVR
  71. ip = 192.168.1.64
  72. port = 8000
  73. username = admin
  74. password = 12345
  75. [Bucket]
  76. count = 2
  77. [Bucket:0]
  78. id = 1
  79. description = 1号工位
  80. code_x = 00000001
  81. code_y =
  82. ai_module = 0
  83. left_rtsp = rtsp://admin:hd135792468@192.168.100.122:554/Streaming/Channels/101
  84. right_rtsp = rtsp://admin:hd135792468@192.168.100.117:554/Streaming/Channels/101
  85. left_topic = ds/channel/0
  86. right_topic = ds/channel/1
  87. [Bucket:1]
  88. id = 2
  89. description = 2号工位
  90. code_x = 00000002
  91. code_y =
  92. ai_module = 0
  93. left_rtsp = rtsp://admin:hd135792468@192.168.100.143:554/Streaming/Channels/101
  94. right_rtsp = rtsp://admin:hd135792468@192.168.100.142:554/Streaming/Channels/101
  95. left_topic = ds/channel/3
  96. right_topic = ds/channel/2
  97. [Bucket:2]
  98. id = 3
  99. description = 3号工位
  100. code_x = 00000003
  101. code_y =
  102. ai_module = 1
  103. left_rtsp = rtsp://admin:hd135792468@192.168.100.120:554/Streaming/Channels/101
  104. right_rtsp = rtsp://admin:hd135792468@192.168.100.119:554/Streaming/Channels/101
  105. left_topic = ds/channel/0
  106. right_topic = ds/channel/1
  107. [Bucket:3]
  108. id = 4
  109. description = 4号工位
  110. code_x = 00000004
  111. code_y =
  112. ai_module = 2
  113. left_rtsp = rtsp://admin:hd135792468@192.168.100.115:554/Streaming/Channels/101
  114. right_rtsp = rtsp://admin:hd135792468@192.168.100.116:554/Streaming/Channels/101
  115. left_topic = ds/channel/0
  116. right_topic = ds/channel/1
  117. [Bucket:4]
  118. id = 5
  119. description = 5号工位
  120. code_x = 00000005
  121. code_y =
  122. ai_module = 3
  123. left_rtsp = rtsp://admin:hd135792468@192.168.100.118:554/Streaming/Channels/101
  124. right_rtsp = rtsp://admin:hd135792468@192.168.100.121:554/Streaming/Channels/101
  125. left_topic = ds/channel/0
  126. right_topic = ds/channel/1