Overview Schemas Index

AUTOMOTIVE_DESIGN (jsdai.SAutomotive_design)


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)