openatc-components 0.0.50 → 0.0.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.
@@ -162,9 +162,9 @@ export default {
162
162
  controlData: {
163
163
  type: Object
164
164
  },
165
- patternStatus: {
166
- type: Object
167
- },
165
+ // patternStatus: {
166
+ // type: Object
167
+ // },
168
168
  phaseList: {
169
169
  type: Array
170
170
  }
@@ -192,7 +192,7 @@ export default {
192
192
  return this.patternOne.length === 0 ? this.planPattern.cycle : this.patternOne[0].cycle
193
193
  },
194
194
  offset () {
195
- return this.patternOne.length === 0 ? 0 : this.patternOne[0].offset
195
+ return this.patternOne.length === 0 ? 100 : this.patternOne[0].offset
196
196
  },
197
197
  forbiddenstage () {
198
198
  return this.patternOne.length === 0 ? this.allPatternList[0].forbiddenstage : this.patternOne[0].forbiddenstage
@@ -1410,7 +1410,8 @@ export default {
1410
1410
  let submitdata = {
1411
1411
  control: 100,
1412
1412
  delay: this.manualInfo.tempDelay !== undefined ? Number(this.manualInfo.tempDelay) : 0,
1413
- duration: this.manualInfo.tempDuration !== undefined ? Number(this.manualInfo.tempDuration) : 0,
1413
+ duration: this.manualInfo.duration,
1414
+ // duration: this.manualInfo.tempDuration !== undefined ? Number(this.manualInfo.tempDuration) : 0,
1414
1415
  data: {}
1415
1416
  }
1416
1417
  submitdata.data.offset = this.offset
@@ -45,10 +45,6 @@
45
45
  </div>
46
46
  </div>
47
47
  </div>
48
- <!-- <PatternWalkSvg class="patternWalk"
49
- :Data="side"
50
- :Width="'55'"
51
- :Height="'55'" /> -->
52
48
  </div>
53
49
  </div>
54
50
  </div>
@@ -101,7 +97,7 @@ export default {
101
97
  },
102
98
  stagesList () {
103
99
  let list = []
104
- if (this.crossStatusData && this.phaseList) {
100
+ if (this.crossStatusData && this.crossStatusData.current_stage && this.phaseList && this.phaseList.length > 0) {
105
101
  let ringDataModel = new RingDataModel(this.crossStatusData, this.phaseList)
106
102
  list = ringDataModel.getStageData()
107
103
  if (this.isShowCurrentStage) {