| Quintiq file version 2.0 | 
| #parent: #root | 
| Method GetInputOutputX () declarative as Number | 
| { | 
|   Description: 'This method is used by the input output nodes as well as the input group' | 
|   TextBody: | 
|   [* | 
|     // ying ying Feb-11-2016 (created) | 
|      | 
|     opwidth := guard( this.RoutingStep().Routing().RoutingConfiguratorView().OperationWidth(), 100 ); | 
|     opiowidth := guard( this.RoutingStep().Routing().RoutingConfiguratorView().OperationInputOutputWidth(), 100 ); | 
|      | 
|     //when io width is less than op width, move right, else move left | 
|     diff := opwidth - opiowidth; | 
|     x := this.X() + [Number](diff / 2); | 
|      | 
|     return x; | 
|   *] | 
| } |