openatc-components 0.3.52 → 0.3.53
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.
|
@@ -435,14 +435,13 @@ export default {
|
|
|
435
435
|
globalParamModel.getParamsByType('patternList')[n].cycle = this.getMaxCycle(pattern)
|
|
436
436
|
},
|
|
437
437
|
getMaxCycle (pattern) {
|
|
438
|
-
let modeId = pattern.stages.filter(item => item.length === 1)[0]
|
|
439
438
|
let rings = pattern.rings
|
|
440
439
|
let maxCycle = 0
|
|
441
440
|
for (let ring of rings) {
|
|
442
441
|
if (ring.length === 0) continue
|
|
443
442
|
let cycle = 0
|
|
444
443
|
for (let r of ring) {
|
|
445
|
-
if (r.mode === 7
|
|
444
|
+
if (r.mode === 7) { // 忽略相位不计周期
|
|
446
445
|
continue
|
|
447
446
|
}
|
|
448
447
|
cycle = cycle + r.value
|