|
FUNCTION default_tolerance_table_cell_wr4 (agg : compound_item_definition) : BOOLEAN; BEGIN IF ( SIZEOF ( QUERY ( i <* agg | ( ( 'default_tolerance_mim.measure_representation_item' IN TYPEOF ( i ) ) AND ( i \ representation_item . name = 'plus minus tolerance value' ) ) ) ) = 1 ) OR ( ( SIZEOF ( QUERY ( i <* agg | ( ( 'default_tolerance_mim.measure_representation_item' IN TYPEOF ( i ) ) AND ( i \ representation_item . name = 'lower tolerance value' ) ) ) ) = 1 ) AND ( SIZEOF ( QUERY ( i <* agg | ( ( 'default_tolerance_mim.measure_representation_item' IN TYPEOF ( i ) ) AND ( i \ representation_item . name = 'upper tolerance value' ) ) ) ) = 1 ) ) THEN RETURN ( TRUE ) ; ELSE RETURN ( FALSE ) ; END_IF ; END ; END_FUNCTION; -- default_tolerance_table_cell_wr4 |
|
public class FDefault_tolerance_table_cell_wr4 public static Value run(SdaiContext _context, Value agg) |