Quintiq file version 2.0
|
#parent: #root
|
Method Reset (Boolean includeChildren_i)
|
{
|
TextBody:
|
[*
|
// Reset Value-attributes of the topic to 0.0
|
this.Value( 0.0 );
|
this.PreviousValue( 0.0 );
|
|
// Reset LastUpdated-attributes to mindatetime
|
this.LastUpdated( DateTime::MinDateTime() );
|
this.PreviousLastUpdated( DateTime::MinDateTime() );
|
|
// Set LastReset to actualtime
|
this.LastReset( DateTime::ActualTime() );
|
|
if( includeChildren_i )
|
{
|
traverse( this, Child, childTopic )
|
{
|
childTopic.Reset( includeChildren_i );
|
}
|
}
|
*]
|
}
|