openatc-components 0.3.66 → 0.3.67
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
package/src/i18n/language/en.js
CHANGED
|
@@ -110,9 +110,11 @@ const en = {
|
|
|
110
110
|
'signalID': 'Intersection ID',
|
|
111
111
|
'flow': 'Average lane flow (h)low',
|
|
112
112
|
'saturationflow': 'Planned lane saturation Flow(h)',
|
|
113
|
-
'typeflow-split-opt': 'Flow Split Op',
|
|
113
|
+
// 'typeflow-split-opt': 'Flow Split Op',
|
|
114
|
+
'typeflow-split-opt': 'Minimum delay',
|
|
115
|
+
'typecycle-opt': 'Optimal balance',
|
|
114
116
|
'maxFlow': 'The average lane flow is too large. Is it further optimized?',
|
|
115
|
-
'typecycle-opt': 'Cycle Opt',
|
|
117
|
+
// 'typecycle-opt': 'Cycle Opt',
|
|
116
118
|
'signalIP': 'Signal IP',
|
|
117
119
|
'stagecountdown': 'Stage Countdown',
|
|
118
120
|
'stageduration': 'Stage Duration',
|
package/src/i18n/language/zh.js
CHANGED
|
@@ -106,9 +106,11 @@ const zh = {
|
|
|
106
106
|
'crossinfo': '路口信息',
|
|
107
107
|
'flow': '车道平均流量(h)',
|
|
108
108
|
'saturationflow': '车道规划饱和流量(h)',
|
|
109
|
-
'typeflow-split-opt': '饱和绿信比优化',
|
|
109
|
+
// 'typeflow-split-opt': '饱和绿信比优化',
|
|
110
110
|
'maxFlow': '车道平均流量过大,是否继续优化?',
|
|
111
|
-
'typecycle-opt': '周期优化',
|
|
111
|
+
// 'typecycle-opt': '周期优化',
|
|
112
|
+
'typeflow-split-opt': '最小延误',
|
|
113
|
+
'typecycle-opt': '均衡度最优',
|
|
112
114
|
'crossname': '路口名称',
|
|
113
115
|
'divicestate': '设备状态',
|
|
114
116
|
'protocoltype': '协议类型',
|
|
@@ -80,11 +80,11 @@ export default {
|
|
|
80
80
|
data () {
|
|
81
81
|
return {
|
|
82
82
|
showStyle: {
|
|
83
|
-
left: '
|
|
83
|
+
left: '2px',
|
|
84
84
|
top: '0px'
|
|
85
85
|
},
|
|
86
86
|
styles: {
|
|
87
|
-
left: '
|
|
87
|
+
left: '1px',
|
|
88
88
|
top: '0px'
|
|
89
89
|
},
|
|
90
90
|
typeOptions: [{
|
|
@@ -101,6 +101,9 @@ export default {
|
|
|
101
101
|
type: String,
|
|
102
102
|
default: 'Header'
|
|
103
103
|
},
|
|
104
|
+
id: {
|
|
105
|
+
type: Number
|
|
106
|
+
},
|
|
104
107
|
rings: {
|
|
105
108
|
type: Object
|
|
106
109
|
},
|
|
@@ -213,7 +216,7 @@ export default {
|
|
|
213
216
|
}
|
|
214
217
|
}
|
|
215
218
|
}
|
|
216
|
-
this.$emit('optimizesucess')
|
|
219
|
+
this.$emit('optimizesucess', this.id)
|
|
217
220
|
}
|
|
218
221
|
}).catch(error => {
|
|
219
222
|
console.log(error)
|
|
@@ -237,7 +240,7 @@ export default {
|
|
|
237
240
|
}
|
|
238
241
|
}
|
|
239
242
|
}
|
|
240
|
-
this.$emit('optimizesucess')
|
|
243
|
+
this.$emit('optimizesucess', this.id)
|
|
241
244
|
}
|
|
242
245
|
}).catch(error => {
|
|
243
246
|
console.log(error)
|