tests/win32/wxGlade/runtime.py
- now call load, start, free PLC from the python Thread
- add a wx timer (500ms) that pull the plc state to refresh Beremiz icons
(fix problem when command PLC with the TaskBar icon)
315
|
1 |
import time,sys
|
|
2 |
def myprintfunc(arg):
|
|
3 |
print arg
|
|
4 |
sys.stdout.flush()
|
|
5 |
return arg
|