openatc-components 0.1.44 → 0.1.45
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.
|
@@ -578,25 +578,25 @@ export default {
|
|
|
578
578
|
}
|
|
579
579
|
return maxCycle
|
|
580
580
|
},
|
|
581
|
-
checkPatternRules (rings) {
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
},
|
|
581
|
+
// checkPatternRules (rings) {
|
|
582
|
+
// if (!this.isRingCycleEqual(rings)) {
|
|
583
|
+
// this.patternCycleEqual = false
|
|
584
|
+
// } else {
|
|
585
|
+
// this.patternCycleEqual = true
|
|
586
|
+
// }
|
|
587
|
+
// if (!this.patternCycleEqual) {
|
|
588
|
+
// let mess = `方案中存在环周期时长不一致`
|
|
589
|
+
// if (this.$i18n.locale === 'en') {
|
|
590
|
+
// mess = `Inconsistent loop cycle durations exist in the scheme`
|
|
591
|
+
// }
|
|
592
|
+
// this.$message({
|
|
593
|
+
// message: mess,
|
|
594
|
+
// type: 'error',
|
|
595
|
+
// dangerouslyUseHTMLString: true
|
|
596
|
+
// })
|
|
597
|
+
// return false
|
|
598
|
+
// }
|
|
599
|
+
// },
|
|
600
600
|
handleManualControl () {
|
|
601
601
|
let submitdata = {
|
|
602
602
|
control: 100,
|
|
@@ -612,7 +612,7 @@ export default {
|
|
|
612
612
|
}
|
|
613
613
|
submitdata.data.offset = this.offset
|
|
614
614
|
submitdata.data.rings = this.rings
|
|
615
|
-
this.checkPatternRules(submitdata.data.rings)
|
|
615
|
+
// this.checkPatternRules(submitdata.data.rings)
|
|
616
616
|
if (this.patternCycleEqual) {
|
|
617
617
|
this.$emit('closePhaseControl', submitdata)
|
|
618
618
|
}
|