TcOpenGroup/tcopen-app-templates

[BUG] Clean cycle times show sequence cycle times

KrisztianOlah opened this issue · 5 comments

Describe the bug
Clean cycle time should show the elapsed time from calling StartCleanCycleTime() instead it shows SequenceElapesedTime.

CuBase.UpdateInfo() :
image

That GroundTask should be AutomatTask, this will fix what is displayed. Though a better solution would be:

image

Furthermore, _startCleanCycleTime and _stopCleanCycleTime should be reset when ground is called and when the Automat sequence finishes or when it starts each iteration. OnStart did not work for me so please advise. Thanks

After a second look; Resetting _startCleanCycleTime and _stopCleanCycleTime in TcoTaskSequencer.CompleteSequence() will reset each iteration.