openatc-components 0.1.176 → 0.1.177

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,11 +182,13 @@ export default {
182
182
  },
183
183
  timeNumDevide () {
184
184
  if (this.contrloCycle > 0) {
185
- let res = (this.contrloCycle - this.syncTime) + '/' + this.contrloCycle
185
+ // let res = (this.contrloCycle - this.syncTime) + '/' + this.contrloCycle
186
+ let res = this.controlData.curTime + '/' + this.contrloCycle
186
187
  return res
187
188
  }
188
189
  if (this.cycles > 0) {
189
- let res = (this.cycles - this.syncTime) + '/' + this.cycles
190
+ // let res = (this.cycles - this.syncTime) + '/' + this.cycles
191
+ let res = this.controlData.curTime + '/' + this.cycles
190
192
  return res
191
193
  }
192
194
  }