openatc-components 0.0.46 → 0.0.47
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.
|
@@ -182,6 +182,12 @@ export default {
|
|
|
182
182
|
}
|
|
183
183
|
},
|
|
184
184
|
computed: {
|
|
185
|
+
rings () {
|
|
186
|
+
return this.patternOne.length === 0 ? this.planPattern.rings : this.patternOne[0].rings
|
|
187
|
+
},
|
|
188
|
+
cycle () {
|
|
189
|
+
return this.patternOne.length === 0 ? this.planPattern.cycle : this.patternOne[0].cycle
|
|
190
|
+
},
|
|
185
191
|
offset () {
|
|
186
192
|
return this.patternOne.length === 0 ? 0 : this.patternOne[0].offset
|
|
187
193
|
},
|
|
@@ -1400,7 +1406,9 @@ export default {
|
|
|
1400
1406
|
duration: this.manualInfo.tempDuration !== undefined ? Number(this.manualInfo.tempDuration) : 0,
|
|
1401
1407
|
data: {}
|
|
1402
1408
|
}
|
|
1403
|
-
|
|
1409
|
+
submitdata.data.offset = this.offset
|
|
1410
|
+
submitdata.data.cycle = this.cycle
|
|
1411
|
+
submitdata.data.rings = this.rings
|
|
1404
1412
|
this.$emit('closePhaseControl', submitdata)
|
|
1405
1413
|
}
|
|
1406
1414
|
}
|