| Quintiq file version 2.0 | 
| #parent: #root | 
| Function CalcSanityCheckFeedbackAttributes | 
| { | 
|   TextBody: | 
|   [* | 
|     if ( not this.MacroPlan().IsMetaOptimizerRunning() )  | 
|     { | 
|       feedback := construct( Strings ); | 
|       sanitycheckfeedback := construct( Strings ); | 
|        | 
|       this.DoSanityCheckGroupFeedback( feedback, sanitycheckfeedback ); | 
|        | 
|       mostseveryviolation := SanityCheckCategoryLevel::GetMostSevereSanityCheckViolation( sanitycheckfeedback ); | 
|       violationcount := SanityCheckCategoryLevel::GetSanityCheckViolationCount( sanitycheckfeedback, mostseveryviolation ); | 
|        | 
|        | 
|       this.SanityCheckFeedbackMostSevere( mostseveryviolation ); | 
|       this.SanityCheckFeedbackMostSevereCount( violationcount ); | 
|       this.SanityCheckFeedbackTotalViolationCount( feedback.Size() ); | 
|     } | 
|   *] | 
| } |