openatc-components 0.0.63 → 0.0.66
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/SchemeConfig/manualControlModal/index.vue +6 -2
- package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +4 -4
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/kisscomps/components/SchemeConfig/manualControlModal/index.vue +6 -2
- package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +4 -4
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
</div>
|
|
60
60
|
<div class="stage-label">{{$t('openatccomponents.overview.stage')}}:</div>
|
|
61
61
|
<div style="width: 100%; height: auto;overflow: hidden;">
|
|
62
|
-
<Stages :crossStatusData="realtimeStage"
|
|
62
|
+
<Stages :crossStatusData="manuals?manualsStage:realtimeStage"
|
|
63
63
|
:phaseList="phaseList"
|
|
64
64
|
:isShowCurrentStage="false"
|
|
65
65
|
@onSelectStages="selectStages"></Stages>
|
|
@@ -162,7 +162,9 @@ export default {
|
|
|
162
162
|
return {
|
|
163
163
|
basicFuncControlId: [0, 1, 4, 5], // 基础功能包含的控制方式: 自主控制(手动下)、黄闪、步进、定周期
|
|
164
164
|
visible: this.Visible,
|
|
165
|
+
manuals: false,
|
|
165
166
|
realtimeStage: {},
|
|
167
|
+
manualsStage: {},
|
|
166
168
|
manualInfo: {
|
|
167
169
|
tempPatternid: '', // 控制方式手动操作的情况下的控制编号的临时值。
|
|
168
170
|
tempDelay: 0, // 控制方式手动操作的情况下的延迟时间的临时值。
|
|
@@ -172,11 +174,13 @@ export default {
|
|
|
172
174
|
},
|
|
173
175
|
methods: {
|
|
174
176
|
changeStage (value) {
|
|
177
|
+
this.manualsStage = {}
|
|
178
|
+
this.manuals = true
|
|
175
179
|
let stages = []
|
|
176
180
|
stages = this.patternAll.filter(item => {
|
|
177
181
|
return item.id === value
|
|
178
182
|
})[0].stages
|
|
179
|
-
this.
|
|
183
|
+
this.manualsStage.stages = stages
|
|
180
184
|
},
|
|
181
185
|
handleClose () {
|
|
182
186
|
this.$emit('closeManualModal')
|
|
@@ -1404,7 +1404,7 @@ export default {
|
|
|
1404
1404
|
},
|
|
1405
1405
|
isRingCycleEqual (rings) {
|
|
1406
1406
|
let isequal = true
|
|
1407
|
-
this.patternmsg = []
|
|
1407
|
+
// this.patternmsg = []
|
|
1408
1408
|
let maxCycle = 0
|
|
1409
1409
|
for (let ring of rings) {
|
|
1410
1410
|
if (ring.length === 0) continue
|
|
@@ -1419,7 +1419,7 @@ export default {
|
|
|
1419
1419
|
maxCycle = cycle
|
|
1420
1420
|
}
|
|
1421
1421
|
if (cycle !== maxCycle) {
|
|
1422
|
-
this.patternmsg.push(rings.id)
|
|
1422
|
+
// this.patternmsg.push(rings.id)
|
|
1423
1423
|
isequal = false
|
|
1424
1424
|
}
|
|
1425
1425
|
}
|
|
@@ -1432,9 +1432,9 @@ export default {
|
|
|
1432
1432
|
this.patternCycleEqual = true
|
|
1433
1433
|
}
|
|
1434
1434
|
if (!this.patternCycleEqual) {
|
|
1435
|
-
let mess =
|
|
1435
|
+
let mess = `方案中存在环周期时长不一致`
|
|
1436
1436
|
if (this.$i18n.locale === 'en') {
|
|
1437
|
-
mess = `
|
|
1437
|
+
mess = `Inconsistent loop cycle durations exist in the scheme`
|
|
1438
1438
|
}
|
|
1439
1439
|
this.$message({
|
|
1440
1440
|
message: mess,
|