This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

APPLICATION - PRODUCT ENGINEERING - Specifying Unit of Measure for Class specific properties

aravinth_r - Thursday, March 1, 2012 8:27 AM:

Hi,

I am classifying the Part - Component into Capacitor, Resistor, Diode etc. Each classification has its own properties say Capacitance, Resistance etc., accordingly. I have added these properties to the Item Part and made it applicable only to the specific classes like Capacitance is associated only to Capacitor. Now my problem is about the measurement unit for Capacitor.

User wants to select the unit for the capacitance. Like when creating a Capacitor, user will mention the value for Capacitance as well as the unit for Capacitance.  Say if it is 2 pF, user will enter 2 in the Capacitance field and select pF from the range of units (uF, pF, MF etc.,)

Can anyone tell me how to achieve this functionality? Thanks in advance!

 

 



cmisztur - Wednesday, November 7, 2012 4:58 PM:

So what you want is a cascading effect?  The correct list of units should show for different electronic component selected...



aravinth_r - Wednesday, November 7, 2012 5:43 PM:

Hi,

Yes you are right.

I have implemented the above functionality in a different way. I define component specific units also. Say, if the user chose Capacitor, there will be a text box field named Capacitance to enter the value of Capacitance and unit field for selecting the unit (It will be a drop down with values pF, uF, F etc.). If the user chose Resistor, again a text box field named Resistance and unit field dropdown with resistor units such Ohm, mOhm, uOHM etc., will be displayed. To acheive this, I had to define properties for Capacitance, Capacitance unit, Resistance and Resistance unit.

Please let me know if there are alternatives to achieve the above functionality to vary the entries in the unit dropdown depending upon the component type chosen by the user.

Regards, Aravinth

 



Dave_Rollinson - Thursday, November 8, 2012 3:58 AM:

You could implement the UOM property as a Filter List, using the classification property to filter the list values.