Closedown
This commit is contained in:
@@ -82,11 +82,10 @@
|
||||
<Data name="sSio" access="private" xsi:type="array" type="sio" size="1">
|
||||
<Value key="0" link="Socket\sSIO" />
|
||||
</Data>
|
||||
<Data name="events" access="private" xsi:type="array" type="string" size="10" />
|
||||
<Data name="tcp_events" access="private" xsi:type="array" type="string" size="10" />
|
||||
<Data name="tcp_n" access="private" xsi:type="array" type="num" size="1" />
|
||||
<Data name="tcp_a" access="private" xsi:type="array" type="num" size="10" />
|
||||
<Data name="tcp_b" access="private" xsi:type="array" type="bool" size="1" />
|
||||
<Data name="tcp_s" access="private" xsi:type="array" type="string" size="1" />
|
||||
<Data name="gripper" access="private" xsi:type="array" type="tool" size="30">
|
||||
<Value key="0" fatherId="flange[0]" ioLink="valve1" />
|
||||
<Value key="1" fatherId="flange[0]" ioLink="valve1" />
|
||||
|
||||
@@ -92,12 +92,12 @@
|
||||
tx = tx + "0" + array_separator
|
||||
endIf
|
||||
|
||||
if events[0] != ""
|
||||
tx = tx + events[0]
|
||||
if tcp_events[0] != ""
|
||||
tx = tx + tcp_events[0]
|
||||
for index=0 to 8
|
||||
events[index]= events[index+1]
|
||||
tcp_events[index]= tcp_events[index+1]
|
||||
endFor
|
||||
events[9] = ""
|
||||
tcp_events[9] = ""
|
||||
endIf
|
||||
break
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
//How to break a for?
|
||||
for index=0 to 9
|
||||
if ev != ""
|
||||
if events[index] == ""
|
||||
events[index] = ev
|
||||
if tcp_events[index] == ""
|
||||
tcp_events[index] = ev
|
||||
ev = ""
|
||||
endIf
|
||||
endIf
|
||||
|
||||
Reference in New Issue
Block a user