| Quintiq file version 2.0 | 
| #parent: #root | 
| TypeDataInterface Unit | 
| { | 
|   TypeKey: '[11660.0.11355253]' | 
|   ImageDataMember ImgCapacitySeverity | 
|   { | 
|     #keys: '1[149260.0.168331974]' | 
|     Description: 'Displays capacity violation/warning based on severity. Used in capacity gantt chart.' | 
|     ImageSpecifications: | 
|     [ | 
|       ImageDataMemberImageSpecification | 
|       { | 
|         Description: 'Has constraint violated on unit period' | 
|         Image: 'CONSTRAINTVIOLATIONS' | 
|         Quill: 'not object.HasCapacityTypeInfinite() and ( exists( object, UnitPeriod, up, up.HasConstraintViolations() ) or exists( object, Campaign_MP, cpg, cpg.HasConstraintViolations() ) )' | 
|         Value: 'HasConstraintViolated' | 
|       } | 
|       ImageDataMemberImageSpecification | 
|       { | 
|         Description: 'Is exceed overload threshold' | 
|         Image: 'NAV_PLAIN_ORANGE' | 
|         Quill: 'not object.HasCapacityTypeInfinite() and object.IsExceedOverloadThreshold()' | 
|         Value: 'IsExceedOverloadThreshold' | 
|       } | 
|       ImageDataMemberImageSpecification | 
|       { | 
|         Description: 'Is bottleneck' | 
|         Image: 'NAV_PLAIN_YELLOW' | 
|         Quill: 'not object.HasCapacityTypeInfinite() and object.IsBottleneck()' | 
|         Value: 'IsBottleneck' | 
|       } | 
|     ] | 
|   } | 
|   ImageDataMember ImgWebGanttChartSeverity | 
|   { | 
|     #keys: '1[149260.0.169585993]' | 
|     Description: 'Display image base on severity' | 
|     ImageSpecifications: | 
|     [ | 
|       ImageDataMemberImageSpecification | 
|       { | 
|         Description: 'Has constraint violated' | 
|         Image: 'CONSTRAINTVIOLATIONS' | 
|         Quill: 'exists( object, UnitPeriod, up, up.HasConstraintViolations() ) or exists( object, Campaign_MP, cpg, cpg.HasConstraintViolations() )' | 
|         Value: 'IsExceedMaximumOverload' | 
|       } | 
|       ImageDataMemberImageSpecification | 
|       { | 
|         Description: 'Is exceed overload threshold' | 
|         Image: 'NAV_PLAIN_ORANGE' | 
|         Quill: 'object.IsExceedOverloadThreshold()' | 
|         Value: 'IsExceedOverloadThreshold' | 
|       } | 
|       ImageDataMemberImageSpecification | 
|       { | 
|         Description: 'Is bottleneck' | 
|         Image: 'NAV_PLAIN_YELLOW' | 
|         Quill: 'object.IsBottleneck()' | 
|         Value: 'IsBottleneck' | 
|       } | 
|     ] | 
|   } | 
| } |