openatc-components 0.2.78 → 0.2.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/package/kisscomps/components/ChannelRealtimeIntersection/ChannelRealtimeIntersection.vue +100 -0
  2. package/package/kisscomps/components/ChannelRealtimeIntersection/index.js +2 -0
  3. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkClickSvg.vue +34 -4
  4. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/sidewalk.svg +535 -0
  5. package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +68 -61
  6. package/package/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/LphaseIconSvg.vue +19 -19
  7. package/package/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/phaseIconSvg.vue +19 -19
  8. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.json +8 -8
  9. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.left.json +8 -8
  10. package/package/kisscomps/components/IntersectionMap/intersectionmap.vue +13 -1
  11. package/package/kisscomps/components/PatternStatus/PatternStatus.vue +2 -26
  12. package/package/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +0 -8
  13. package/package/kisscomps/index.js +2 -0
  14. package/package/kissui.min.js +1 -1
  15. package/package.json +1 -1
  16. package/src/i18n/language/en.js +0 -2
  17. package/src/i18n/language/zh.js +0 -2
  18. package/src/kisscomps/components/ChannelRealtimeIntersection/ChannelRealtimeIntersection.vue +100 -0
  19. package/src/kisscomps/components/ChannelRealtimeIntersection/index.js +2 -0
  20. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkClickSvg.vue +34 -4
  21. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/sidewalk.svg +535 -0
  22. package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +68 -61
  23. package/src/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/LphaseIconSvg.vue +19 -19
  24. package/src/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/phaseIconSvg.vue +19 -19
  25. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.json +8 -8
  26. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.left.json +8 -8
  27. package/src/kisscomps/components/IntersectionMap/intersectionmap.vue +13 -1
  28. package/src/kisscomps/components/PatternStatus/PatternStatus.vue +2 -26
  29. package/src/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +0 -8
  30. package/src/kisscomps/index.js +2 -0
  31. package/src/views/intersection.vue +60 -28
  32. package/src/views/overView.vue +1 -1
  33. package/src/node_modules/.package_versions.json +0 -1
@@ -49,14 +49,6 @@
49
49
  <div style="float: left;" class="cross-name">{{$t('openatccomponents.overview.platform')}}:</div>
50
50
  <div style="margin-left: 85px;" class="cross-value">{{platform}}</div>
51
51
  </div>
52
- <div class="cross-content" v-if="controlData.current_stagecd !== undefined">
53
- <div style="float: left;" class="cross-name">{{$t('openatccomponents.overview.stagecountdown')}}:</div>
54
- <div style="margin-left: 85px;" class="cross-value">{{controlData.current_stagecd}}</div>
55
- </div>
56
- <div class="cross-content" v-if="controlData.stages_len">
57
- <div style="float: left;" class="cross-name">{{$t('openatccomponents.overview.stageduration')}}:</div>
58
- <div style="margin-left: 85px;" class="cross-value">{{controlData.stages_len + ''}}</div>
59
- </div>
60
52
  <div class="cross-content">
61
53
  <div style="float: left;" class="cross-name">{{$t('openatccomponents.overview.faultinfo')}}:</div>
62
54
  <div style="margin-left: 85px;" v-if="curFaultList.length">
@@ -7,6 +7,7 @@ import lockingPhaselControlModal from './components/SchemeConfig/lockingPhaselCo
7
7
  import Channelization from './components/Channelization/index'
8
8
  import ChannelizationFlowStatistic from './components/ChannelizationFlowStatistic/index'
9
9
  import DrawChannelization from './components/DrawChannelization/index'
10
+ import ChannelRealtimeIntersection from './components/ChannelRealtimeIntersection/index'
10
11
  import FaultDetailModal from './components/FaultDetailModal/index'
11
12
  import CommonKanban from './components/CommonKanban/index'
12
13
  import patternList from './components/patternList/index'
@@ -47,6 +48,7 @@ const components = {
47
48
  Channelization,
48
49
  ChannelizationFlowStatistic,
49
50
  DrawChannelization,
51
+ ChannelRealtimeIntersection,
50
52
  FaultDetailModal,
51
53
  PatternStatus,
52
54
  BoardCard,
@@ -1,31 +1,14 @@
1
1
  <template>
2
2
  <div>
3
- <!-- <h2>静态路口图</h2> -->
4
- <!-- <intersection-base-map
5
- ref="intersectionMap"
6
- :crossStatusData="crossStatusData"
7
- :agentId="agentId"
8
- :clickMode="true" /> -->
9
-
10
- <!-- 显示按通道获取相位的模版路口图 -->
11
- <h2 class="text">显示配置的相位路口图</h2>
12
- <!-- <intersection-base-map
13
- ref="intersectionMap"
14
- :crossStatusData="crossStatusData"
15
- agentId="tjblsxl-ticp6"
16
- isVipRoute
17
- :choosedDirection="[1,2,3]"
18
- :choosedPedDirection="[3,4]"
19
- :roadDirection="roadDirection" /> -->
20
- <intersection-direction-selection
21
- :agentId="this.agentId"
22
- :clickMode="false"
23
- :choosedDirection="[14,6,13,8]"
24
- :choosedPedDirection="[1]"
25
- :roadDirection="roadDirection" />
3
+ <h2 class="text">实时通道路口图</h2>
4
+ <channel-intection-with-interface
5
+ :agentId="this.agentId"
6
+ :roadDirection="roadDirection"
7
+ :channelRealtimeStatusData="channelRealtimeStatusData"
8
+ />
26
9
 
27
10
  <!-- 按通道获取相位的方向选择列表,特殊路口显示列表,普通路口显示模版路口图 -->
28
- <h2 class="text">非第三方配置路口图</h2>
11
+ <h2 class="text">非第三方配置路口图(按通道显示相位方向)</h2>
29
12
  <intersection-direction-selection
30
13
  :agentId="this.agentId"
31
14
  :choosedDirection="[14,6,13,8]"
@@ -33,7 +16,7 @@
33
16
  :roadDirection="roadDirection"
34
17
  @handleClickCrossIcon="handleClickCrossIcon" />
35
18
 
36
- <h2 class="text">第三方配置路口图</h2>
19
+ <h2 class="text">第三方配置路口图(按路口相位配置显示相位方向)</h2>
37
20
  <div>
38
21
  <intersection-direction-selection
39
22
  :agentId="this.agentId"
@@ -44,6 +27,23 @@
44
27
  @handleClickCrossIcon="handleClickCrossIcon" />
45
28
  </div>
46
29
 
30
+ <!-- 显示按通道获取相位的模版路口图 -->
31
+ <h2 class="text">显示配置的相位路口图</h2>
32
+ <!-- <intersection-base-map
33
+ ref="intersectionMap"
34
+ :crossStatusData="crossStatusData"
35
+ agentId="tjblsxl-ticp6"
36
+ isVipRoute
37
+ :choosedDirection="[1,2,3]"
38
+ :choosedPedDirection="[3,4]"
39
+ :roadDirection="roadDirection" /> -->
40
+ <!-- <intersection-direction-selection
41
+ :agentId="this.agentId"
42
+ :clickMode="false"
43
+ :choosedDirection="[14,6,13,8]"
44
+ :choosedPedDirection="[1]"
45
+ :roadDirection="roadDirection" /> -->
46
+
47
47
  <!-- <button @click="lockPhase" >相位锁定</button><br/>
48
48
  <button @click="unlockPhase" >解锁相位</button><br/>
49
49
  <button @click="changeControlPattern" >改变控制方案</button><br/>
@@ -139,12 +139,12 @@ export default {
139
139
  return {
140
140
  roadDirection: 'right',
141
141
  // reqUrl: 'http://192.168.13.103:10003/openatc',
142
- agentId: 'tjblsxl-ticp6',
142
+ agentId: 'tjbljml',
143
143
  // agentId: '13013',
144
144
  // agentId: '12007_390',
145
145
  // agentId: '12014',
146
146
  reqUrl: 'http://192.168.13.103:10003/openatc',
147
- Token: 'eyJraWQiOiIxNzE0MDk1MjUwNTU5IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcxNDEzODQ1MCwiaWF0IjoxNzE0MDk1MjUwfQ.17SP6vzbImSV2jy_LC10xQaH7z4aXWvg3yc2bUFLYvE',
147
+ Token: 'eyJraWQiOiIxNzE4NjcyODI1MTg4IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcxODcxNjAyNSwiaWF0IjoxNzE4NjcyODI1fQ.vjEP7xqngwal74DlUwqs4FLoy-IsNphHNrbuDqzGce4',
148
148
  // agentId: '30003-352',
149
149
  // reqUrl: 'https://kints-dev.devdolphin.com/openatc',
150
150
  // Token: 'eyJraWQiOiIxNjUwNTA5MDI2ODk2IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJ4aWFvbWluZyIsImV4cCI6MTczNjkwOTAyNiwiaWF0IjoxNjUwNTA5MDI2fQ.-s4T-uMRmB2zf9yer87USKQXLY1a12Zq5lCOnqjNmfA',
@@ -186,7 +186,39 @@ export default {
186
186
  }
187
187
  }
188
188
  ],
189
- crossStatusData: {}
189
+ crossStatusData: {},
190
+ channelRealtimeStatusData: {
191
+ 'channellamp': [
192
+ {
193
+ 'id': 1,
194
+ 'light': 1
195
+ },
196
+ {
197
+ 'id': 2,
198
+ 'light': 3
199
+ },
200
+ {
201
+ 'id': 3,
202
+ 'light': 1
203
+ },
204
+ {
205
+ 'id': 4,
206
+ 'light': 1
207
+ },
208
+ {
209
+ 'id': 5,
210
+ 'light': 3
211
+ },
212
+ {
213
+ 'id': 6,
214
+ 'light': 1
215
+ },
216
+ {
217
+ 'id': 7,
218
+ 'light': 3
219
+ }
220
+ ]
221
+ }
190
222
  }
191
223
  },
192
224
  components: {
@@ -20,7 +20,7 @@ export default {
20
20
  modeName: '交警遥控',
21
21
  controlName: '步进',
22
22
  agentId: 'jmlxhl',
23
- Token: 'eyJraWQiOiIxNzA4OTA5NDk2ODcxIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcwODk1MjY5NiwiaWF0IjoxNzA4OTA5NDk2fQ.FI0gzBQFLyQsj95LG56lVZxb6WYlr2-datNsyv6fF-I',
23
+ Token: 'eyJraWQiOiIxNzE4NjcyODI1MTg4IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcxODcxNjAyNSwiaWF0IjoxNzE4NjcyODI1fQ.vjEP7xqngwal74DlUwqs4FLoy-IsNphHNrbuDqzGce4',
24
24
  reqUrl: 'http://192.168.13.103:10003/openatc'
25
25
  }
26
26
  },
@@ -1 +0,0 @@
1
- {}