|
FUNCTION value_range_wr3 (agg : AGGREGATE OF representation_item) : BOOLEAN; BEGIN IF ( SIZEOF ( QUERY ( i <* agg | ( 'automotive_design.measure_representation_item' IN TYPEOF ( i ) ) ) ) <> 2 ) OR ( SIZEOF ( QUERY ( i1 <* agg | ( 'automotive_design.measure_representation_item' IN TYPEOF ( i1 ) ) AND ( SIZEOF ( QUERY ( i2 <* agg | ( ( i1 \ measure_with_unit . unit_component :=: i2 \ measure_with_unit . unit_component ) OR ( i1 \ measure_with_unit . unit_component :=: i2 \ measure_with_unit . unit_component ) ) ) ) = 2 ) ) ) = 2 ) THEN RETURN ( TRUE ) ; ELSE RETURN ( FALSE ) ; END_IF ; END ; END_FUNCTION; -- value_range_wr3 |
|
public class FValue_range_wr3 public static Value run(SdaiContext _context, Value agg) |