|
FUNCTION get_cond_class (input1 : material_identification_with_conductivity_classification, input2 : STRING) : STRING; LOCAL car : SET OF applied_classification_assignment := [ ] ; END_LOCAL ; car := QUERY ( ca <* bag_to_set ( USEDIN ( input1 , 'classification_assignment_mim.' + 'applied_classification_assignment.' + 'items' ) ) | ( 'conductivity_material_aspects_xim.' + input2 IN TYPEOF ( ca . assigned_class ) ) ) ; IF SIZEOF ( car ) = 1 THEN RETURN ( car [ 1 ] . assigned_class \ group . name ) ; ELSE RETURN ( '?' ) ; END_IF ; END_FUNCTION; -- get_cond_class |
|
public class FGet_cond_class public static Value run(SdaiContext _context, Value input1, Value input2) |