openatc-components 0.1.43 → 0.1.44
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.
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
:overlap="overlap"
|
|
134
134
|
:checked="true"
|
|
135
135
|
:tentative="true"
|
|
136
|
-
:cycle="
|
|
136
|
+
:cycle="overLapCycle"
|
|
137
137
|
>
|
|
138
138
|
</over-lap>
|
|
139
139
|
</el-col>
|
|
@@ -200,6 +200,7 @@ export default {
|
|
|
200
200
|
return {
|
|
201
201
|
stagesList: [],
|
|
202
202
|
phaseRings: [],
|
|
203
|
+
overLapCycle: 0,
|
|
203
204
|
options: {
|
|
204
205
|
group: 'pattern'
|
|
205
206
|
},
|
|
@@ -470,6 +471,7 @@ export default {
|
|
|
470
471
|
let stageItem = this.getStageItem(stage, rings, i)
|
|
471
472
|
stagesList.push(JSON.parse(JSON.stringify(stageItem)))
|
|
472
473
|
}
|
|
474
|
+
this.overLapCycle = stagesList.reduce((prev, curr) => prev + parseInt(curr.split), 0)
|
|
473
475
|
this.stagesList = JSON.parse(JSON.stringify(stagesList))
|
|
474
476
|
}
|
|
475
477
|
}
|