renhao
2023-09-21 1aa9f2bb83dd9e4b7517f1cbf06b0db53979bb31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Quintiq file version 2.0
#parent: #root
Method GetPISPOnLeft () declarative as PISPNodeInRouting
{
  Description: 'Returns the right most pisp node in routing that is in the left region'
  TextBody:
  [*
    // ying ying Feb-15-2016 (created)
    
    pisp :=  maxselect( this,
                        PISPNodeInRouting,
                        pisp,
                        pisp.X() + pisp.Width() < this.LeftRegionWidth(),
                        - pisp.Y(), pisp.X() + pisp.Width() ); //The highest PISPNode on the most right of the left region
    return pisp;
  *]
}