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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openatc-components",
3
- "version": "0.1.44",
3
+ "version": "0.1.45",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -578,25 +578,25 @@ export default {
578
578
  }
579
579
  return maxCycle
580
580
  },
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
- },
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
  }