Commit 6d72cbe1 authored by Claes Sjofors's avatar Claes Sjofors Committed by Claes Sjöfors

Reset_So, added possibility to expand/compress order name

parent 485d3664
......@@ -102,9 +102,20 @@ SObject pwrb:Class
Attr TypeRef = "pwrs:Type-$Objid"
Attr GraphName = "Order"
Attr NiNaAnnot = 1
Attr NiNaSegments = 1
EndBody
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
Attr Class = pwr_eClass_PlcNode
Attr Flags |= PWR_MASK_INVISIBLE
......
......@@ -3321,6 +3321,7 @@ int gobj_expand(WFoe* foe, vldh_t_node node, int compress)
case pwr_cClass_GetBoFloat32:
case pwr_cClass_GetBoString80:
case pwr_cClass_SuppressSup:
case pwr_cClass_reset_so:
sts = gobj_expand_m1(foe, node, compress);
break;
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