Commit 114d1db4 authored by Claes Sjofors's avatar Claes Sjofors

Reset_So, added possibility to expand/compress order name

parent b131bbc4
...@@ -102,9 +102,20 @@ SObject pwrb:Class ...@@ -102,9 +102,20 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$Objid" Attr TypeRef = "pwrs:Type-$Objid"
Attr GraphName = "Order" Attr GraphName = "Order"
Attr NiNaAnnot = 1 Attr NiNaAnnot = 1
Attr NiNaSegments = 1
EndBody EndBody
EndObject EndObject
Object PlcNode $Buffer 2 !/**
! Specifies how many segments of the Order object name that
! is to be displayed in the symbol of the Reset_SO object.
! The segments are counted from behind.
!*/
Object OrderObjectSegments $Intern 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
Object PlcNode $Buffer 3
Body SysBody Body SysBody
Attr Class = pwr_eClass_PlcNode Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE Attr Flags |= PWR_MASK_INVISIBLE
......
...@@ -3321,6 +3321,7 @@ int gobj_expand(WFoe* foe, vldh_t_node node, int compress) ...@@ -3321,6 +3321,7 @@ int gobj_expand(WFoe* foe, vldh_t_node node, int compress)
case pwr_cClass_GetBoFloat32: case pwr_cClass_GetBoFloat32:
case pwr_cClass_GetBoString80: case pwr_cClass_GetBoString80:
case pwr_cClass_SuppressSup: case pwr_cClass_SuppressSup:
case pwr_cClass_reset_so:
sts = gobj_expand_m1(foe, node, compress); sts = gobj_expand_m1(foe, node, compress);
break; break;
case pwr_cClass_and: case pwr_cClass_and:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment