openatc-components 0.1.176 → 0.1.177
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
|
@@ -182,11 +182,13 @@ export default {
|
|
|
182
182
|
},
|
|
183
183
|
timeNumDevide () {
|
|
184
184
|
if (this.contrloCycle > 0) {
|
|
185
|
-
let res = (this.contrloCycle - this.syncTime) + '/' + this.contrloCycle
|
|
185
|
+
// let res = (this.contrloCycle - this.syncTime) + '/' + this.contrloCycle
|
|
186
|
+
let res = this.controlData.curTime + '/' + this.contrloCycle
|
|
186
187
|
return res
|
|
187
188
|
}
|
|
188
189
|
if (this.cycles > 0) {
|
|
189
|
-
let res = (this.cycles - this.syncTime) + '/' + this.cycles
|
|
190
|
+
// let res = (this.cycles - this.syncTime) + '/' + this.cycles
|
|
191
|
+
let res = this.controlData.curTime + '/' + this.cycles
|
|
190
192
|
return res
|
|
191
193
|
}
|
|
192
194
|
}
|
|
@@ -26,14 +26,14 @@ export default {
|
|
|
26
26
|
isOnlyOneTab: false,
|
|
27
27
|
isAllowedExpand: false,
|
|
28
28
|
// agentids: ['gjnlgjxl'],
|
|
29
|
-
agentids3: ['gjnlahql', '
|
|
29
|
+
agentids3: ['gjnlahql', 'xylsnl', 'cslyll'],
|
|
30
30
|
// agentids2: ['15001', '15001', '15003', '15004', '15005'],
|
|
31
31
|
roadDirection: 'right',
|
|
32
32
|
// reqUrl: 'http://192.168.13.103:10003/openatc',
|
|
33
33
|
agentId: '12008_835',
|
|
34
34
|
// agentId: '0351-01',
|
|
35
35
|
reqUrl: 'http://192.168.13.103:10003/openatc',
|
|
36
|
-
Token: '
|
|
36
|
+
Token: 'eyJraWQiOiIxNzAwMjAwNDQ4MTA0IiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTc2NzExMDQwMCwiaWF0IjoxNjk5Mjg2NDAwfQ.AyVJCGmVQVafdWBDQ7TMhVQ5Dvjy13NeuQ8rimTPgtc',
|
|
37
37
|
// reqUrl: 'http://192.168.13.113:10003/openatc',
|
|
38
38
|
// Token: 'eyJraWQiOiIxNjkxMzcxMTc5ODcxIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTcxNDE0NzIwMCwiaWF0IjoxNjkwODE5MjAwfQ.AhUj9taw4_IpP77AmP5bvCE87dDQ4-ZdsEJzrlWXKF8',
|
|
39
39
|
// agentId: '30003-352',
|
|
@@ -51,18 +51,13 @@ export default {
|
|
|
51
51
|
'isused': true
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
|
-
'agentid': '
|
|
55
|
-
'patternid':
|
|
54
|
+
'agentid': 'xylsnl',
|
|
55
|
+
'patternid': 1,
|
|
56
56
|
'isused': true
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
|
-
'agentid': '
|
|
60
|
-
'patternid':
|
|
61
|
-
'isused': false
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
'agentid': 'jmlfqbl',
|
|
65
|
-
'patternid': 1,
|
|
59
|
+
'agentid': 'cslyll',
|
|
60
|
+
'patternid': 2,
|
|
66
61
|
'isused': false
|
|
67
62
|
}
|
|
68
63
|
]
|
|
@@ -56,8 +56,8 @@ export default {
|
|
|
56
56
|
sidewalkPhaseData: [{key: 'pedphase1653873194007699', phaseid: 1, id: 1, name: '东人行横道', isshow: false}],
|
|
57
57
|
lockPhaseBtnName: this.$t('openatccomponents.overview.comfirm'),
|
|
58
58
|
agentId: '12004-950',
|
|
59
|
-
Token: '
|
|
60
|
-
Token103: '
|
|
59
|
+
Token: 'eyJraWQiOiIxNjcwMzc0ODA4MTcyIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTc1Njc3NDgwOCwiaWF0IjoxNjcwMzc0ODA4fQ.xsRoye_tk_Xf60w5Mpigm8vrPgQJCLN-W_IW4U7dafA',
|
|
60
|
+
Token103: 'eyJraWQiOiIxNjcwMzc0ODA4MTcyIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTc1Njc3NDgwOCwiaWF0IjoxNjcwMzc0ODA4fQ.xsRoye_tk_Xf60w5Mpigm8vrPgQJCLN-W_IW4U7dafA',
|
|
61
61
|
boxVisible: false,
|
|
62
62
|
dialogWidth: '80%',
|
|
63
63
|
crossStatusData: {} // 路口状态数据
|