Lai,Risheng
2023-11-02 30c02e0c981b16be0918483543f4b812956c45d4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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'
      }
    ]
  }
}