IBA Mapping
This section contains details out how IBAs are mapped in AP214 standard.
WINDCNHILL IBA Type
AP214 IBA Representation
StringValue IBA
#71= PROPERTY_DEFINITION('StringValue','IBA',#1);
#72= PROPERTY_DEFINITION_REPRESENTATION(#71,#73);
#73= REPRESENTATION($,(#74),$);
#74= DESCRIPTIVE_REPRESENTATION_ITEM('MyStringAttr','StringAttrValue');
BooleanValue IBA
#16= PROPERTY_DEFINITION('BooleanValue','IBA',#1);
#17= PROPERTY_DEFINITION_REPRESENTATION(#16,#18);
#18= REPRESENTATION($,(#19),$);
#19= DESCRIPTIVE_REPRESENTATION_ITEM('MyBooleanAttr1','true');
IntegerValue
#26= PROPERTY_DEFINITION('IntegerValue','IBA',#1);
#27= PROPERTY_DEFINITION_REPRESENTATION(#26,#28);
#28= REPRESENTATION($,(#29),$);
#29= VALUE_REPRESENTATION_ITEM('MyIntegerAttr',NUMERIC_MEASURE(23.));
FloatValue
#212= PROPERTY_DEFINITION('FloatValue','IBA',#1);
#213= PROPERTY_DEFINITION_REPRESENTATION(#212,#214);
#214= REPRESENTATION($,(#215,#217),$);
#215=VALUE_REPRESENTATION_ITEM('MyRealNumberAttr1',NUMERIC_MEASURE(2536.16));
#217= QUALIFIED_REPRESENTATION_ITEM($,(#218));
#218= PRECISION_QUALIFIER(16);
Unit Value (Ampere)
SI Base units like m, g, s, A, K, mol, cd, r, sr are represented in this format
#103= PROPERTY_DEFINITION('UnitValue','IBA',#1);
#104= PROPERTY_DEFINITION_REPRESENTATION(#103,#105);
#105= REPRESENTATION($,(#106,#109),$);
#106= MEASURE_REPRESENTATION_ITEM('MyRealNumberWithUnitAttr08',ELECTRIC_CURRENT_MEASURE(2508.16),#107);
#107= /* ELECTRIC_CURRENT_UNIT+SI_UNIT */(ELECTRIC_CURRENT_UNIT()NAMED_UNIT(*)SI_UNIT($,.AMPERE.));
#109= QUALIFIED_REPRESENTATION_ITEM($,(#110));
#110= PRECISION_QUALIFIER(5);
Unit Value (Unit kg*m**2/s**2)
Units in multiple of above units are treated in derived unit
#196= PROPERTY_DEFINITION('UnitValue','IBA',#1);
#197= PROPERTY_DEFINITION_REPRESENTATION(#196,#198);
#198= REPRESENTATION($,(#199,#209),$);
#199= MEASURE_REPRESENTATION_ITEM('MyRealNumberWithUnitAttr16',NUMERIC_MEASURE(2516.16),#200);
#200= DERIVED_UNIT((#201,#204,#206));
#201= DERIVED_UNIT_ELEMENT(#202,$);
#202= /* MASS_UNIT+SI_UNIT */(MASS_UNIT()NAMED_UNIT(*)SI_UNIT(.KILO.,.GRAM.));
#204= DERIVED_UNIT_ELEMENT(#205,2.);
#205= /* LENGTH_UNIT+SI_UNIT */(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT($,.METRE.));
#206= DERIVED_UNIT_ELEMENT(#207,-2.);
#207= /* SI_UNIT+TIME_UNIT */(NAMED_UNIT(*)SI_UNIT($,.SECOND.)TIME_UNIT());
#209= QUALIFIED_REPRESENTATION_ITEM($,(#210));
#210= PRECISION_QUALIFIER(5);
Unit Values are mostly mapped using the mappings specified above two rows. For special cases like volume where we have some separate mapping altogether, user needs to write the mapping for such case as per their customization.
Unit Value (volume)
Represented as conversion-based unit. Such representation is only specified for volume.
#148= PROPERTY_DEFINITION('UnitValue','IBA',#1);
#149= PROPERTY_DEFINITION_REPRESENTATION(#148,#150);
#150= REPRESENTATION($,(#151,#159),$);
#151= MEASURE_REPRESENTATION_ITEM('MyRealNumberWithUnitAttr13',VOLUME_MEASURE(2513.16),#152);
#152= /* CONVERSION_BASED_UNIT+VOLUME_UNIT */(CONVERSION_BASED_UNIT('LITER',#153)NAMED_UNIT($)VOLUME_UNIT());
#153= LENGTH_MEASURE_WITH_UNIT(VOLUME_MEASURE(0.001),#154);
#154= DERIVED_UNIT((#155));
#155= DERIVED_UNIT_ELEMENT(#156,3.);
#156= /* LENGTH_UNIT+SI_UNIT */(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT($,.METRE.));
#159= QUALIFIED_REPRESENTATION_ITEM($,(#160));
#160= PRECISION_QUALIFIER(5);
URL Value
#31= PROPERTY_DEFINITION('URLValue','IBA',#1);
#32= PROPERTY_DEFINITION_REPRESENTATION(#31,#33);
#33= REPRESENTATION($,(#34),$);
#34= DESCRIPTIVE_REPRESENTATION_ITEM('MyURLAttr','http://www.ptc.com (PTC)');
TimeStamp Value
#9= PROPERTY_DEFINITION('TimestampValue','MyDateTimeAttr',#1);
#10= APPLIED_DATE_AND_TIME_ASSIGNMENT(#14,#12,(#9));
#12= DATE_TIME_ROLE('IBA');
#13= CALENDAR_DATE(2011,29,7);
#14= DATE_AND_TIME(#13,#15);
#15= LOCAL_TIME(18,30,$,$);
Was this helpful?