openatc-components 0.2.72 → 0.2.73

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openatc-components",
3
- "version": "0.2.72",
3
+ "version": "0.2.73",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -114,6 +114,8 @@ const en = {
114
114
  'maxFlow': 'The average lane flow is too large. Is it further optimized?',
115
115
  'typecycle-opt': 'Cycle Opt',
116
116
  'signalIP': 'Signal IP',
117
+ 'stagecountdown': 'Stage Countdown',
118
+ 'stageduration': 'Stage Duration',
117
119
  'currentphase': 'Current phase',
118
120
  'directionnull': 'Please select the import direction',
119
121
  'faultinfo': 'Fault Information',
@@ -114,6 +114,8 @@ const zh = {
114
114
  'protocoltype': '协议类型',
115
115
  'signalID': '路口ID',
116
116
  'signalIP': '信号机IP',
117
+ 'stagecountdown': '阶段倒计时',
118
+ 'stageduration': '阶段时长',
117
119
  'faultinfo': '故障信息',
118
120
  'platform': '平台类型',
119
121
  'online': '在线',
@@ -49,6 +49,14 @@
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>
52
60
  <div class="cross-content">
53
61
  <div style="float: left;" class="cross-name">{{$t('openatccomponents.overview.faultinfo')}}:</div>
54
62
  <div style="margin-left: 85px;" v-if="curFaultList.length">
@@ -19,7 +19,7 @@ export default {
19
19
  isShowMode: true,
20
20
  modeName: '交警遥控',
21
21
  controlName: '步进',
22
- agentId: '12007_001',
22
+ agentId: 'jmlxhl',
23
23
  Token: 'eyJraWQiOiIxNzA4OTA5NDk2ODcxIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcwODk1MjY5NiwiaWF0IjoxNzA4OTA5NDk2fQ.FI0gzBQFLyQsj95LG56lVZxb6WYlr2-datNsyv6fF-I',
24
24
  reqUrl: 'http://192.168.13.103:10003/openatc'
25
25
  }