RULE global_length_and_angle_units_2d_or_3d FOR (global_unit_assigned_context); WHERE wr1: SIZEOF ( QUERY ( guac <* global_unit_assigned_context | SIZEOF ( guac. units ) <2 ) ) =0; wr2: SIZEOF ( QUERY ( guac <* global_unit_assigned_context | ( SIZEOF ( QUERY ( x <* guac. units | 'CATALOG_DATA_INFORMATION_MIM' + '.LENGTH_UNIT' IN TYPEOF ( x ) ) ) <>1 ) OR ( SIZEOF(QUERY( x <* guac. units | 'CATALOG_DATA_INFORMATION_MIM' + '.PLANE_ANGLE_UNIT' IN TYPEOF(x))) <>1 ))) =0; END_RULE; -- global_length_and_angle_units_2d_or_3d |
public class RGlobal_length_and_angle_units_2d_or_3d public int rWr2(SdaiContext _context) public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |