AnsweredAssumed Answered

Overlap or Modify Value Type from Double to String in PI AF?

Question asked by YasinAbdul on Jan 29, 2020
Latest reply on Feb 3, 2020 by Roger Palmen

Hi All,

 

Im trying to overlap or Modify a value type from Double to String in PI AF.

 

I have created a AF Template with an attribute which is Double, But I would like to change to String for few Elements which is using the master AF Template. But I'm able to perform the overlapping. In the past I have overlapped or modified the ConfSetting to hard code different tag names in element level. Is there any possibility to do the same for value type please?

 

 

Is there any specific setting I would have to apply while developing the AF template or deploying AF Element?

 

.......

 

Additional Specifics

-----------------------------

Here is the our current use case...

 

AF Template : 1 (Example Car Model - Honda Civic 2019)

AF Elements Consuming AF Template : 10 (Current) ...... 400+(Is expected in few days)

 

Hierarchy:

Plant 01 > Red Civic 2019 (Attributes to be changed from float to string : 3 [Channel1,Channel9,Channel10])

Plant 02 > Blue Civic 2019 (Attributes to changed from float to string 4 [Channel11,Channel39,Channel50,Channel12])

Plant 03 > Pink Civic 2019 (Attributes to changed from float to string 2 [Channel15,Channel19])

Plant 04 > Yellow Civic 2019 (Attributes to changed from float to string 5 [Channel91,Channel99])

Plant 05 > Green Civic 2019 (Attributes to changed from float to string 1 [Channel31])

Plant 06 > Purple Civic 2019 (Attributes to changed from float to string 3 [Channel13,Channel39,Channel30])

Plant 07 > Gold Civic 2019 (Attributes to changed from float to string 4 [Channel17,Channel89,Channel70,Channel50])

Plant 08 > Orange Civic 2019 (Attributes to changed from float to string 1 [Channel1])

Plant 09 > Brown Civic 2019 (Attributes to changed from float to string 2 [Channel11,Channel59])

Plant 10 > Black Civic 2019 (Attributes to changed from float to string 4 [Channel15,Channel59,Channel50,Channel90])

 

If you can see above the channel for each car to be changed from float to string varies, so If I have to apply derived template concept , then I will have to main something like below...

AF Template (Car Model - Honda Civic 2019)

   - Red Civic 2019 (AF Derived Template)

   - Blue Civic 2019 (AF Derived Template)

   - Pink Civic 2019 (AF Derived Template)

   -  Yellow Civic 2019 (AF Derived Template)

   - Purple Civic 2019 (AF Derived Template)... So on....

 

Please correct me If I have understood not right.

 

Thanks,

Yasin

Outcomes