openatc-components 0.3.111 → 0.3.113
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/kisscomps/components/BoardCard/BoardCard.vue +0 -11
- package/package/kisscomps/components/Channelization/Channelization.vue +1 -1
- package/package/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +1 -1
- package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +145 -46
- package/package/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +4 -4
- package/package/kisscomps/components/DrawChannelization/drawsvg/index.vue +1 -1
- package/package/kisscomps/components/IntersectionMap/intersectionmap.vue +1 -1
- package/package/kisscomps/components/OptimizeKanban/index.js +2 -0
- package/package/kisscomps/components/OptimizeKanban/index.vue +369 -0
- package/package/kisscomps/components/OverviewComponent/index.vue +7 -11
- package/package/kisscomps/components/PatternOptimize/PatternOptimize.vue +2 -11
- package/package/kisscomps/components/PatternStatus/PatternStatus.vue +9 -84
- package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +4 -11
- package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +11 -9
- package/package/kisscomps/components/SchemeConfig/manualControlModalNew/icon.vue +2 -34
- package/package/kisscomps/components/overView/index.vue +2 -2
- package/package/kisscomps/components/patternList/patternList.vue +0 -11
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/i18n/language/en.js +12 -12
- package/src/i18n/language/zh.js +17 -17
- package/src/kisscomps/components/BoardCard/BoardCard.vue +0 -11
- package/src/kisscomps/components/Channelization/Channelization.vue +1 -1
- package/src/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +1 -1
- package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +145 -46
- package/src/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +4 -4
- package/src/kisscomps/components/DrawChannelization/drawsvg/index.vue +1 -1
- package/src/kisscomps/components/IntersectionMap/intersectionmap.vue +1 -1
- package/src/kisscomps/components/OverviewComponent/index.vue +7 -11
- package/src/kisscomps/components/PatternOptimize/PatternOptimize.vue +2 -11
- package/src/kisscomps/components/PatternStatus/PatternStatus.vue +9 -84
- package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +4 -11
- package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +11 -9
- package/src/kisscomps/components/SchemeConfig/manualControlModalNew/icon.vue +2 -34
- package/src/kisscomps/components/overView/index.vue +2 -2
- package/src/kisscomps/components/patternList/patternList.vue +0 -11
- package/src/node_modules/.package_versions.json +1 -0
- package/src/utils/ControlFormat.js +2 -2
- package/src/views/intersection.vue +6 -7
- package/src/views/intersection2.vue +4 -4
- package/src/views/overView.vue +5 -27
- package/static/styles/common.scss +3 -3
- package/static/styles/dark/theme/element-dark.scss +1 -1
- package/static/styles/intersection.scss +15 -5
- package/static/styles/light/theme/element-light.scss +1 -1
- package/static/styles/schemeconfig.scss +3 -6
|
@@ -14,9 +14,8 @@
|
|
|
14
14
|
<!-- 环模式true -->
|
|
15
15
|
<div v-if="this.contrloType === 'ring' || !this.contrloType">
|
|
16
16
|
<div class="ring-first" v-for="(list, index1) in patternInfo" :key="index1">
|
|
17
|
-
<
|
|
18
|
-
<div
|
|
19
|
-
<div class="first-1" :class="item.mode === 8 ? 'mask' : item.mode === 9 ? 'yellowClass' : ''" :style="{'width':Number(item.greenWidth.replace('%', ''))/Number((((item.split+(item.sum?item.sum:0)) / (max?max:item.cycle) * 100) + '%').replace('%', ''))*100+'%','height':'34px','background':'#7ccc66'}">
|
|
17
|
+
<div style="position: relative;" :style="{'height': '34px','float':'left','width':((item.split+(item.sum?item.sum:0)) / (max?max:item.cycle) * 100) + '%'}" v-for="(item,index2) in list" :key="index2" :class="item.mode===7?'direction': ''">
|
|
18
|
+
<div class="first-1" :class="item.mode === 8 ? 'mask' : item.mode === 9 ? 'yellowClass' : ''" :style="{'width':Number(item.greenWidth.replace('%', ''))/Number((((item.split+(item.sum?item.sum:0)) / (max?max:item.cycle) * 100) + '%').replace('%', ''))*100+'%','height':'34px','background':'#7ccc66'}">
|
|
20
19
|
<el-tooltip placement="top-start" effect="light">
|
|
21
20
|
<div slot="content">{{$t('openatccomponents.phase.phase')}}{{item.id}}:{{item.split}}</div>
|
|
22
21
|
<div style="cursor:pointer;">
|
|
@@ -26,18 +25,7 @@
|
|
|
26
25
|
</div>
|
|
27
26
|
<div v-if="isShowTip" class="box" style="position: absolute; left:40px; width:40px; top: -1px;">
|
|
28
27
|
<div class="ring-nums">{{$t('openatccomponents.phase.phase')}}{{item.id}}</div>
|
|
29
|
-
<div
|
|
30
|
-
<el-input-number
|
|
31
|
-
v-if="!isMove"
|
|
32
|
-
class="ring-nums"
|
|
33
|
-
size="small"
|
|
34
|
-
:controls="false"
|
|
35
|
-
:min="0"
|
|
36
|
-
:step="1"
|
|
37
|
-
v-model.number="item.split"
|
|
38
|
-
@change="handleEdit(item)"
|
|
39
|
-
style="width: 24px"
|
|
40
|
-
></el-input-number>
|
|
28
|
+
<div class="ring-nums">{{item.split}}</div>
|
|
41
29
|
</div>
|
|
42
30
|
</div>
|
|
43
31
|
</el-tooltip>
|
|
@@ -53,8 +41,7 @@
|
|
|
53
41
|
<div class="first-1" :class="item.mode === 8 ? 'mask' : item.mode === 9 ? 'yellowClass' : ''" :style="{'width':Number(item.flashgreen.replace('%', ''))/Number((((item.split+(item.sum?item.sum:0)) / (max?max:item.cycle) * 100).toFixed(3) + '%').replace('%', ''))*100+'%','height':'34px','float':'left','background': 'linear-gradient(to right, #ffffff 50%, #7ccc66 0)','background-size': '4px 100%'}"></div>
|
|
54
42
|
<div class="first-1" :class="item.mode === 8 ? 'mask' : item.mode === 9 ? 'yellowClass' : ''" :style="{'width':Number(item.yellowWidth.replace('%', ''))/Number((((item.split+(item.sum?item.sum:0)) / (max?max:item.cycle) * 100) + '%').replace('%', ''))*100+'%','height':'34px','background':'#f9dc6a'}"></div>
|
|
55
43
|
<div class="first-1" :class="item.mode === 8 ? 'mask' : item.mode === 9 ? 'yellowClass' : ''" :style="{'width':Number(item.redWidth.replace('%', ''))/Number((((item.split+(item.sum?item.sum:0)) / (max?max:item.cycle) * 100).toFixed(3) + '%').replace('%', ''))*100+'%','height':'34px','background':'#f27979'}"></div>
|
|
56
|
-
|
|
57
|
-
</draggable>
|
|
44
|
+
</div>
|
|
58
45
|
</div>
|
|
59
46
|
<div v-if="showBarrier">
|
|
60
47
|
<div v-for="(item, index) in barrierList" :key="index + '1'">
|
|
@@ -113,7 +100,6 @@
|
|
|
113
100
|
<script>
|
|
114
101
|
// import patternwalksvg from '../PatternWalkSvg/PatternWalkSvg'
|
|
115
102
|
import xdrdirselector from '../XRDDirSelector/XRDDirSelector'
|
|
116
|
-
import draggable from 'vuedraggable'
|
|
117
103
|
// import PatternWalkSvg from '../IntersectionMap/crossDirection/baseImg/PatternWalkSvg'
|
|
118
104
|
import PhaseDataModel from '../IntersectionMap/crossDirection/utils.js'
|
|
119
105
|
import CrossDiagramMgr from '../../../EdgeMgr/controller/crossDiagramMgr.js'
|
|
@@ -121,7 +107,6 @@ export default {
|
|
|
121
107
|
name: 'pattern-list',
|
|
122
108
|
components: {
|
|
123
109
|
// patternwalksvg,
|
|
124
|
-
draggable,
|
|
125
110
|
xdrdirselector
|
|
126
111
|
},
|
|
127
112
|
data () {
|
|
@@ -129,7 +114,6 @@ export default {
|
|
|
129
114
|
barrierHeight: '',
|
|
130
115
|
stageCycle: '',
|
|
131
116
|
barrierList: [],
|
|
132
|
-
barrierArr: [],
|
|
133
117
|
newCycle: this.cycles,
|
|
134
118
|
patternIds: this.patternId,
|
|
135
119
|
newPatterns: [],
|
|
@@ -158,10 +142,6 @@ export default {
|
|
|
158
142
|
stagesChange: {
|
|
159
143
|
type: Array
|
|
160
144
|
},
|
|
161
|
-
isMove: {
|
|
162
|
-
type: Boolean,
|
|
163
|
-
default: true
|
|
164
|
-
},
|
|
165
145
|
controlPhase: {
|
|
166
146
|
type: Object
|
|
167
147
|
},
|
|
@@ -363,11 +343,11 @@ export default {
|
|
|
363
343
|
handler: function (val, oldVal) {
|
|
364
344
|
this.handleBarrierHeight() // 计算屏障高度
|
|
365
345
|
if (this.patternStatusList && this.newCycle) {
|
|
366
|
-
|
|
367
|
-
|
|
346
|
+
setTimeout(() => {
|
|
347
|
+
this.handleCurrentChange(this.patternStatusList)
|
|
348
|
+
this.handleBarrierHeight()
|
|
349
|
+
}, 10)
|
|
368
350
|
this.handleBarrierHeight()
|
|
369
|
-
// }, 10)
|
|
370
|
-
// this.handleBarrierHeight()
|
|
371
351
|
}
|
|
372
352
|
},
|
|
373
353
|
// 深度观察监听
|
|
@@ -395,60 +375,6 @@ export default {
|
|
|
395
375
|
}
|
|
396
376
|
},
|
|
397
377
|
methods: {
|
|
398
|
-
move (e) {
|
|
399
|
-
// 这里的e表示即将停靠的元素。
|
|
400
|
-
let result = this.barrierArr.filter(item => item.includes(e.relatedContext.element.id))[0]
|
|
401
|
-
if (!result.includes(e.draggedContext.element.id)) {
|
|
402
|
-
return false
|
|
403
|
-
}
|
|
404
|
-
},
|
|
405
|
-
endDrag (index) {
|
|
406
|
-
// 拖动后对原数据排序
|
|
407
|
-
const idIndexMap = {}
|
|
408
|
-
this.patternInfo.forEach((subArray, subArrayIndex) => {
|
|
409
|
-
subArray.forEach((item, index) => {
|
|
410
|
-
idIndexMap[item.id] = { subArrayIndex, index }
|
|
411
|
-
})
|
|
412
|
-
})
|
|
413
|
-
this.patternStatusList.forEach((subArray, subArrayIndex) => {
|
|
414
|
-
if (subArray.length > 0) {
|
|
415
|
-
subArray.sort((aItem, bItem) => {
|
|
416
|
-
const aIndex = idIndexMap[aItem.id] ? idIndexMap[aItem.id].index : Infinity
|
|
417
|
-
const bIndex = idIndexMap[bItem.id] ? idIndexMap[bItem.id].index : Infinity
|
|
418
|
-
return aIndex - bIndex
|
|
419
|
-
})
|
|
420
|
-
}
|
|
421
|
-
})
|
|
422
|
-
},
|
|
423
|
-
handleEdit (val) {
|
|
424
|
-
this.patternStatusList.map(d => {
|
|
425
|
-
d.map(r => {
|
|
426
|
-
if (r.id === val.id) {
|
|
427
|
-
r.value = val.split
|
|
428
|
-
}
|
|
429
|
-
})
|
|
430
|
-
})
|
|
431
|
-
// this.handleCurrentChange(this.patternStatusList)
|
|
432
|
-
this.$emit('handleSplitMove', this.patternId)
|
|
433
|
-
},
|
|
434
|
-
getMaxCycle (pattern) {
|
|
435
|
-
// let rings = pattern.rings
|
|
436
|
-
let maxCycle = 0
|
|
437
|
-
for (let ring of pattern) {
|
|
438
|
-
if (ring.length === 0) continue
|
|
439
|
-
let cycle = 0
|
|
440
|
-
for (let r of ring) {
|
|
441
|
-
if (r.mode === 7) { // 忽略相位不计周期
|
|
442
|
-
continue
|
|
443
|
-
}
|
|
444
|
-
cycle = cycle + r.value
|
|
445
|
-
}
|
|
446
|
-
if (cycle > maxCycle) {
|
|
447
|
-
maxCycle = cycle
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
return maxCycle
|
|
451
|
-
},
|
|
452
378
|
getPed (data) {
|
|
453
379
|
let ped = []
|
|
454
380
|
for (let stg of data) {
|
|
@@ -1111,7 +1037,7 @@ export default {
|
|
|
1111
1037
|
}
|
|
1112
1038
|
}
|
|
1113
1039
|
obj.split = split
|
|
1114
|
-
obj.cycle =
|
|
1040
|
+
obj.cycle = this.fixCycle ? this.fixCycle : this.max ? this.max : this.newCycle
|
|
1115
1041
|
if (ring.sum) {
|
|
1116
1042
|
obj.sum = ring.sum
|
|
1117
1043
|
obj.redWidth = ((currPhase.redclear + ring.sum) / (this.max ? this.max : cycle) * 100) + '%'
|
|
@@ -1253,7 +1179,6 @@ export default {
|
|
|
1253
1179
|
}
|
|
1254
1180
|
}
|
|
1255
1181
|
let resArr = ringArr.map(item => item.data)
|
|
1256
|
-
this.barrierArr = resArr
|
|
1257
1182
|
let ringTeam = this.step1(this.phaseList, resArr)
|
|
1258
1183
|
let ringTeams = ringTeam.filter(item => item.length !== 0)
|
|
1259
1184
|
if (this.patternList) {
|
|
@@ -263,7 +263,7 @@ export default {
|
|
|
263
263
|
faultTimer: null, // 当前故障定时器
|
|
264
264
|
ParamsMode: new Map([[0, '自主控制'], [1, '本地手动'], [2, '平台控制'], [3, '配置软件控制'], [4, '遥控器控制'], [5, '黄闪器控制'], [6, '降级控制'], [7, '脚本控制'], [8, '算法控制']]),
|
|
265
265
|
ParamsModeEn: new Map([[0, 'Autonomous Control'], [1, 'Local Manual'], [2, 'Platform Control'], [3, 'Configuration Software Control'], [4, 'Remote Control'], [5, 'Yellow Flasher Control'], [6, 'Degradation Control'], [7, 'Script Control'], [8, 'Algorithm Control']]),
|
|
266
|
-
ParamsControl: new Map([[0, '多时段'], [1, '黄闪'], [2, '全红'], [3, '关灯'], [4, '步进'], [5, '定周期控制'], [6, '
|
|
266
|
+
ParamsControl: new Map([[0, '多时段'], [1, '黄闪'], [2, '全红'], [3, '关灯'], [4, '步进'], [5, '定周期控制'], [6, '自适应'], [7, '协调感应控制'], [8, '方案选择控制'], [9, '方案生成'], [10, '无电缆控制'], [11, '有电缆控制'], [12, '行人过街控制'], [13, '方案恢复过渡'], [14, '相位驻留'], [15, '通道检测'], [16, '方向锁定'], [17, '韦伯斯特单点控制'], [18, '预留18'], [19, '感应式行人过街'], [20, '方案干预'], [100, '方案干预'], [21, '预留21'], [22, '相位锁定'], [23, '相位放行控制'], [24, '紧急控制'], [99, '设备维护']]),
|
|
267
267
|
ParamsControlEn: new Map([[0, 'Multi Period'], [1, 'Yellow Flash Control'], [2, 'Red Control'], [3, 'Dark Control'], [4, 'Step'], [5, 'Fixed_Cycle Control'], [6, 'Free Control'], [7, 'Coordinated Induction Control'], [8, 'Pattern Selection Control'], [9, 'Adaptive Control'], [10, 'Wireless Control'], [11, 'Cable Control'], [12, 'Pedestrian Crossing Control'], [13, 'Pattern recovery'], [14, 'Phase dwell'], [15, 'Channel Detection'], [16, 'Direction lock'], [17, 'Webster Single Point Coordination'], [18, 'Reserving18'], [19, 'Inductive Pedestrian Crossing Control'], [20, 'Program Intervention'], [100, 'Program Intervention'], [21, 'Reserving21'], [22, 'Priority Control'], [23, 'Close Phase'], [24, 'Emergency Control'], [99, 'Device Mantenance']]),
|
|
268
268
|
phaseType: new Map([[1, '红'], [2, '黄'], [3, '绿']]), // phaseType表示红,黄,绿
|
|
269
269
|
phaseTypeEn: new Map([[1, 'Red'], [2, 'Yellow'], [3, 'Green']]), // phaseType表示红,黄,绿
|
|
@@ -303,7 +303,7 @@ export default {
|
|
|
303
303
|
id: 9,
|
|
304
304
|
iconClass: 'zishiying',
|
|
305
305
|
permission: 'configer:manual:base',
|
|
306
|
-
iconName: '
|
|
306
|
+
iconName: '方案生成'
|
|
307
307
|
}, {
|
|
308
308
|
id: 10,
|
|
309
309
|
iconClass: 'wuxianlan',
|
|
@@ -387,14 +387,14 @@ export default {
|
|
|
387
387
|
iconName: this.$t('openatccomponents.overview.modelList5'),
|
|
388
388
|
bgcolor: getTheme() === 'light' ? '#edf6ff' : '#243d59'
|
|
389
389
|
}, {
|
|
390
|
-
type: '
|
|
390
|
+
type: '自适应',
|
|
391
391
|
id: 6,
|
|
392
392
|
iconClass: 'ganyingkongzhi',
|
|
393
393
|
permission: 'configer:manual:base',
|
|
394
394
|
iconName: this.$t('openatccomponents.overview.modelList6'),
|
|
395
395
|
bgcolor: getTheme() === 'light' ? '#edf6ff' : '#243d59'
|
|
396
396
|
}, {
|
|
397
|
-
type: '
|
|
397
|
+
type: '方案生成',
|
|
398
398
|
id: 9,
|
|
399
399
|
iconClass: 'zishiying',
|
|
400
400
|
permission: 'configer:manual:base',
|
|
@@ -421,13 +421,6 @@ export default {
|
|
|
421
421
|
permission: 'configer:manual:base',
|
|
422
422
|
iconName: this.$t('openatccomponents.overview.modelList19'),
|
|
423
423
|
bgcolor: getTheme() === 'light' ? '#edf6ff' : '#243d59'
|
|
424
|
-
}, {
|
|
425
|
-
type: '感应式自适应',
|
|
426
|
-
id: 18,
|
|
427
|
-
iconClass: 'ganyingshizishiying',
|
|
428
|
-
permission: 'configer:manual:base',
|
|
429
|
-
iconName: this.$t('openatccomponents.overview.modelList18'),
|
|
430
|
-
bgcolor: getTheme() === 'light' ? '#edf6ff' : '#243d59'
|
|
431
424
|
}
|
|
432
425
|
],
|
|
433
426
|
othersControlList: [
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
:model="manualInfo"
|
|
21
21
|
label-width="90px">
|
|
22
22
|
<el-form-item
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
:label="$t('openatccomponents.overview.greenclear')"
|
|
24
|
+
prop="intersection">
|
|
25
|
+
<el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempGreenflash" size="small"></el-input-number>
|
|
26
|
+
</el-form-item>
|
|
27
27
|
|
|
28
28
|
<el-form-item
|
|
29
29
|
:label="$t('openatccomponents.overview.yellowflash')"
|
|
@@ -44,11 +44,13 @@
|
|
|
44
44
|
label-position="left"
|
|
45
45
|
:model="manualInfo"
|
|
46
46
|
label-width="90px">
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
|
|
48
|
+
<el-form-item
|
|
49
|
+
:label="$t('openatccomponents.overview.duration')"
|
|
50
|
+
prop="count">
|
|
51
|
+
<el-input-number :min="0" :max="65535" :precision="0" :step="1" :controls="false" v-model.number="manualInfo.tempDuration" size="small"></el-input-number>
|
|
52
|
+
</el-form-item>
|
|
53
|
+
|
|
52
54
|
<el-form-item
|
|
53
55
|
:label="$t('openatccomponents.overview.allred')"
|
|
54
56
|
prop="intersection">
|
|
@@ -227,7 +227,7 @@ PURPOSE. * See the Mulan PSL v2 for more details. **/
|
|
|
227
227
|
</g>
|
|
228
228
|
</svg>
|
|
229
229
|
<svg
|
|
230
|
-
v-if="type === '
|
|
230
|
+
v-if="type === '自适应'"
|
|
231
231
|
version="1.1"
|
|
232
232
|
id="图层_1"
|
|
233
233
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -266,7 +266,7 @@ PURPOSE. * See the Mulan PSL v2 for more details. **/
|
|
|
266
266
|
</svg>
|
|
267
267
|
|
|
268
268
|
<svg
|
|
269
|
-
v-if="type === '
|
|
269
|
+
v-if="type === '方案生成'"
|
|
270
270
|
xmlns="http://www.w3.org/2000/svg"
|
|
271
271
|
viewBox="0 0 24.53 21.2"
|
|
272
272
|
:width="iconWidth"
|
|
@@ -399,38 +399,6 @@ PURPOSE. * See the Mulan PSL v2 for more details. **/
|
|
|
399
399
|
p-id="6532"
|
|
400
400
|
></path>
|
|
401
401
|
</svg>
|
|
402
|
-
|
|
403
|
-
<svg
|
|
404
|
-
v-if="type === '感应式自适应'"
|
|
405
|
-
t="1734600340213"
|
|
406
|
-
class="icon"
|
|
407
|
-
viewBox="0 0 1252 1024"
|
|
408
|
-
version="1.1"
|
|
409
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
410
|
-
p-id="12292"
|
|
411
|
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
412
|
-
:width="iconWidth"
|
|
413
|
-
:height="iconHeight"
|
|
414
|
-
>
|
|
415
|
-
<path
|
|
416
|
-
:class="themeColor"
|
|
417
|
-
d="M48.597631 254.131387c22.423358 0 44.846715-18.686131 44.846715-44.846715V85.956204h130.80292c18.686131 0 41.109489-18.686131 41.109489-41.109489C265.356755 18.686131 242.933398 0 220.51004 0H48.597631C22.437047 0 3.750916 18.686131 3.750916 44.846715v168.175183c0 22.423358 18.686131 41.109489 44.846715 41.109489zM1203.400551 0h-168.175183c-22.423358 0-44.846715 18.686131-44.846715 44.846715 0 22.423358 18.686131 44.846715 44.846715 44.846716h123.328467v130.802919c0 22.423358 18.686131 44.846715 44.846716 44.846716 22.423358 0 44.846715-18.686131 44.846715-44.846716V44.846715C1244.51004 18.686131 1225.823908 0 1203.400551 0zM1203.400551 766.131387c-22.423358 0-44.846715 18.686131-44.846716 44.846715V934.306569h-130.802919c-22.423358 3.737226-41.109489 22.423358-41.109489 48.583942 3.737226 22.423358 18.686131 37.372263 41.109489 41.109489H1199.663325c22.423358 0 44.846715-18.686131 44.846715-44.846715v-168.175183c0-26.160584-18.686131-44.846715-41.109489-44.846715zM213.035587 930.569343H89.70712v-130.80292c0-22.423358-18.686131-44.846715-44.846715-44.846715-22.423358 0-44.846715 18.686131-44.846716 44.846715V971.678832c0 22.423358 18.686131 44.846715 44.846716 44.846715h168.175182c22.423358-3.737226 41.109489-22.423358 41.109489-48.583941-3.737226-18.686131-18.686131-33.635036-41.109489-37.372263zM556.860405 186.861314H328.889602C284.042887 186.861314 250.40785 224.233577 250.40785 269.080292v485.839416c0 44.846715 33.635036 78.481752 78.481752 78.481752h227.970803c44.846715 0 78.481752-33.635036 78.481752-78.481752v-485.839416C635.342157 224.233577 601.70712 186.861314 556.860405 186.861314z m18.686131 568.058394c0 11.211679-7.474453 18.686131-18.686131 18.686131H328.889602c-11.211679 0-18.686131-7.474453-18.686132-18.686131v-485.839416c0-11.211679 7.474453-18.686131 18.686132-18.686131h227.970803c7.474453 0 14.948905 7.474453 18.686131 18.686131v485.839416zM881.999091 235.445255l-7.474453-7.474452c-11.211679-11.211679-29.89781-11.211679-41.109489 0-11.211679 11.211679-11.211679 29.89781 0 41.109489 130.80292 130.80292 134.540146 343.824818 3.737227 474.627737l-3.737227 3.737226c-11.211679 11.211679-11.211679 29.89781 0 41.10949 7.474453 3.737226 14.948905 7.474453 22.423358 7.474452 7.474453 0 14.948905-3.737226 22.423358-7.474452 153.226277-145.751825 156.963504-396.145985 3.737226-553.10949z"
|
|
418
|
-
fill="#606266"
|
|
419
|
-
p-id="12293"
|
|
420
|
-
></path>
|
|
421
|
-
<path
|
|
422
|
-
:class="themeColor"
|
|
423
|
-
d="M784.831208 336.350365c-7.474453-14.948905-26.160584-18.686131-41.109489-7.474453-14.948905 11.211679-14.948905 29.89781-7.474453 41.109489 0 3.737226 3.737226 3.737226 7.474453 7.474453 37.372263 33.635036 56.058394 82.218978 56.058394 130.80292s-18.686131 97.167883-56.058394 130.802919c-11.211679 11.211679-11.211679 29.89781 0 41.109489 7.474453 3.737226 14.948905 7.474453 22.423357 7.474453s14.948905-3.737226 22.423358-7.474453c44.846715-44.846715 71.007299-108.379562 71.007299-171.912408s-26.160584-123.328467-74.744525-171.912409z"
|
|
424
|
-
fill="#606266"
|
|
425
|
-
p-id="12294"
|
|
426
|
-
></path>
|
|
427
|
-
<path
|
|
428
|
-
:class="themeColor"
|
|
429
|
-
d="M702.61223 467.153285c-18.686131 0-29.89781 11.211679-29.897811 26.160584v29.89781c0 14.948905 11.211679 26.160584 26.160584 26.160584h3.737227c14.948905 0 26.160584-11.211679 26.160584-26.160584v-33.635037c3.737226-11.211679-11.211679-22.423358-26.160584-22.423357z"
|
|
430
|
-
fill="#606266"
|
|
431
|
-
p-id="12295"
|
|
432
|
-
></path>
|
|
433
|
-
</svg>
|
|
434
402
|
</span>
|
|
435
403
|
</template>
|
|
436
404
|
|
|
@@ -153,8 +153,8 @@ export default {
|
|
|
153
153
|
volumeControlTimer: null, // 流量定时器
|
|
154
154
|
ParamsMode: new Map([[0, '自主控制'], [1, '本地手动'], [2, '平台控制'], [3, '配置软件控制'], [4, '遥控器控制'], [5, '黄闪器控制'], [6, '降级控制'], [7, '脚本控制'], [8, '算法控制']]),
|
|
155
155
|
ParamsModeEn: new Map([[0, 'Autonomous Control'], [1, 'Local Manual'], [2, 'Platform Control'], [3, 'Configuration Software Control'], [4, 'Remote Control'], [5, 'Yellow Flasher Control'], [6, 'Degradation Control'], [7, 'Script Control'], [8, 'Algorithm Control']]),
|
|
156
|
-
ParamsControl: new Map([[0, '多时段'], [1, '黄闪'], [2, '全红'], [3, '关灯'], [4, '步进'], [5, '定周期控制'], [6, '
|
|
157
|
-
ParamsControlEn: new Map([[0, 'Multi Period'], [1, 'Yellow Flash Control'], [2, 'Red Control'], [3, 'Dark Control'], [4, 'Step'], [5, 'Fixed_Cycle Control'], [6, 'Free Control'], [7, 'Coordinated Induction Control'], [8, 'Pattern Selection Control'], [9, 'Adaptive Control'], [10, 'Wireless Control'], [11, 'Cable Control'], [12, 'Pedestrian Crossing Control'], [13, 'Pattern recovery'], [14, 'Phase dwell'], [15, 'Channel Detection'], [16, 'Direction lock'], [17, 'Webster Single Point Coordination'], [18, '
|
|
156
|
+
ParamsControl: new Map([[0, '多时段'], [1, '黄闪'], [2, '全红'], [3, '关灯'], [4, '步进'], [5, '定周期控制'], [6, '自适应'], [7, '协调感应控制'], [8, '方案选择控制'], [9, '方案生成'], [10, '无电缆控制'], [11, '有电缆控制'], [12, '行人过街控制'], [13, '方案恢复过渡'], [14, '相位驻留'], [15, '通道检测'], [16, '方向锁定'], [17, '韦伯斯特单点控制'], [18, '预留18'], [19, '感应式行人过街'], [20, '方案干预'], [100, '方案干预'], [21, '预留21'], [22, '相位锁定'], [23, '相位放行控制'], [24, '紧急控制'], [99, '设备维护']]),
|
|
157
|
+
ParamsControlEn: new Map([[0, 'Multi Period'], [1, 'Yellow Flash Control'], [2, 'Red Control'], [3, 'Dark Control'], [4, 'Step'], [5, 'Fixed_Cycle Control'], [6, 'Free Control'], [7, 'Coordinated Induction Control'], [8, 'Pattern Selection Control'], [9, 'Adaptive Control'], [10, 'Wireless Control'], [11, 'Cable Control'], [12, 'Pedestrian Crossing Control'], [13, 'Pattern recovery'], [14, 'Phase dwell'], [15, 'Channel Detection'], [16, 'Direction lock'], [17, 'Webster Single Point Coordination'], [18, 'Reserving18'], [19, 'Inductive Pedestrian Crossing Control'], [20, 'Program Intervention'], [100, 'Program Intervention'], [21, 'Reserving21'], [22, 'Priority Control'], [23, 'Close Phase'], [24, 'Emergency Control'], [99, 'Device Mantenance']]),
|
|
158
158
|
phaseType: new Map([[1, '红'], [2, '黄'], [3, '绿']]), // phaseType表示红,黄,绿
|
|
159
159
|
phaseTypeEn: new Map([[1, 'Red'], [2, 'Yellow'], [3, 'Green']]), // phaseType表示红,黄,绿
|
|
160
160
|
ip: '--',
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
:contrloType="contrloType"
|
|
6
6
|
:stagesChange="stagesChange"
|
|
7
7
|
:isShowTip="isShowTip"
|
|
8
|
-
:isMove="isMove"
|
|
9
8
|
:patternStatusList="patternStatusList"
|
|
10
9
|
:cycles="cycles"
|
|
11
10
|
:cycle="cycle"
|
|
@@ -20,7 +19,6 @@
|
|
|
20
19
|
:agentId="agentId"
|
|
21
20
|
:controlData="controlData"
|
|
22
21
|
:syncTime="syncTime"
|
|
23
|
-
@handleSplitMove="handleSplitMove"
|
|
24
22
|
:isPhase="isPhase"
|
|
25
23
|
>
|
|
26
24
|
</BoardCard>
|
|
@@ -504,10 +502,6 @@ export default {
|
|
|
504
502
|
type: Boolean,
|
|
505
503
|
default: true
|
|
506
504
|
},
|
|
507
|
-
isMove: {
|
|
508
|
-
type: Boolean,
|
|
509
|
-
default: true
|
|
510
|
-
},
|
|
511
505
|
contrloType: {
|
|
512
506
|
type: String
|
|
513
507
|
},
|
|
@@ -587,11 +581,6 @@ export default {
|
|
|
587
581
|
// if (this.$route.query !== undefined && Object.keys(this.$route.query).length) {
|
|
588
582
|
// this.resetCrossDiagram()
|
|
589
583
|
// }
|
|
590
|
-
},
|
|
591
|
-
methods: {
|
|
592
|
-
handleSplitMove (data) {
|
|
593
|
-
this.$emit('handleSplitMove', data)
|
|
594
|
-
}
|
|
595
584
|
}
|
|
596
585
|
}
|
|
597
586
|
</script>
|