tests/wxHMI/HMI@wxglade_hmi/pyfile.xml
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Mon, 14 Aug 2017 22:23:17 +0300
changeset 1734 750eeb7230a1
parent 1691 9a42f12a973e
permissions -rw-r--r--
clean-up: fix some PEP8 E228 missing whitespace around modulo operator
1691
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
     1
<?xml version='1.0' encoding='utf-8'?>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
     2
<PyFile xmlns:xhtml="http://www.w3.org/1999/xhtml">
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
     3
  <variables>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
     4
    <variable name="Power_ON" type="BOOL"/>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
     5
    <variable name="Power_OFF" type="BOOL"/>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
     6
    <variable name="DrawTest" type="BOOL"/>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
     7
    <variable name="DrawLogo" type="BOOL"/>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
     8
    <variable name="DrawEscher" type="BOOL"/>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
     9
    <variable name="Detect_Circle" type="BOOL"/>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    10
    <variable name="XaxisPos" type="INT"/>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    11
    <variable name="YaxisPos" type="INT"/>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    12
    <variable name="ZaxisPos" type="INT"/>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    13
    <variable name="TaxisPos" type="INT"/>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    14
    <variable name="XaxisMinus" type="BOOL"/>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    15
    <variable name="YaxisMinus" type="BOOL"/>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    16
    <variable name="ZaxisMinus" type="BOOL"/>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    17
    <variable name="TaxisMinus" type="BOOL"/>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    18
    <variable name="XaxisPlus" type="BOOL"/>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    19
    <variable name="YaxisPlus" type="BOOL"/>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    20
    <variable name="ZaxisPlus" type="BOOL"/>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    21
    <variable name="TaxisPlus" type="BOOL"/>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    22
    <variable name="DrawTestBtn" type="BOOL"/>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    23
    <variable name="DrawTestBtn2" type="BOOL"/>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    24
  </variables>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    25
  <globals>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    26
    <xhtml:p><![CDATA[
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    27
import ctypes
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    28
import wx, sys
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    29
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    30
AxisList = ["X","Y","Z","T"]
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    31
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    32
PwrButtons = ['Power_ON',
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    33
              'Power_OFF']
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    34
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    35
ActionButtons = ['Detect_Circle',
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    36
                 'DrawTest',
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    37
                 'DrawLogo',
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    38
                 'DrawEscher']
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    39
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    40
class ThreeDee(wx.StaticText):
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    41
    def __init__(self, *args, **kwargs):
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    42
        self.initialized = False
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    43
        kwargs["style"] = wx.ALIGN_CENTRE_HORIZONTAL
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    44
        super(ThreeDee, self).__init__(*args, **kwargs)
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    45
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    46
        self.SetFont(wx.Font(24, wx.SWISS, wx.NORMAL, wx.BOLD))
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    47
        
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    48
        self.positions = [0.]*4
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    49
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    50
        self.Message = None
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    51
        self.NegLimits = None
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    52
        self.Disk = None
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    53
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    54
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    55
    def UpdatePositions(self, positions):
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    56
        # get globals from PLC
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    57
        self.positions = positions
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    58
        self.SetLabel(
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    59
            ((self.Message  +'\n\n') if self.Message else '' )+
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    60
            " ".join(["%s %+.2f"%(axis,self.positions[i])
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    61
                          for i,axis in enumerate(AxisList)]))
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    62
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    63
def MakeButtonFunc(window, sizer, btname):
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    64
    def ButtonDown(event):
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    65
        setattr(PLCGlobals,btname,1)
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    66
        event.Skip()
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    67
    def ButtonUp(event):
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    68
        setattr(PLCGlobals,btname,0)
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    69
        event.Skip()
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    70
    obj = wx.BitmapButton(window, -1, wx.Bitmap('%s.png'%btname))
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    71
    sizer.Add(obj, 2, wx.EXPAND, 0)
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    72
    obj.Bind(wx.EVT_LEFT_DOWN, ButtonDown)
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    73
    obj.Bind(wx.EVT_LEFT_UP, ButtonUp)
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    74
    return obj
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    75
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    76
def UpdPos(self):
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    77
    positions = [getattr(PLCGlobals,axname+"axisPos") for axname in AxisList]
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    78
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    79
    self.window_1.UpdatePositions(positions)
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    80
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    81
Class_wxglade_hmi.UpdPos = UpdPos
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    82
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    83
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    84
#def UpdatePositions(self, event):
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    85
#
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    86
#    positions = [getattr(PLCGlobals,axname+"axisPos") for axname in AxisList]
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    87
#
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    88
#    self.window_1.UpdatePositions(positions)
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    89
#
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    90
#    event.Skip()
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    91
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    92
#Class_wxglade_hmi.UpdatePositions = UpdatePositions
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    93
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    94
initorig = Class_wxglade_hmi.__init__
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    95
def Init(self,*args,**kargs):
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    96
    initorig(self,*args,**kargs)
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    97
    sizer = self.GetSizer().GetItem(1).GetSizer().GetItem(0).GetSizer()
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    98
    self.main_buttons = map(
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
    99
        lambda btname: MakeButtonFunc(self, sizer, btname), PwrButtons)
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   100
    sizer = self.GetSizer().GetItem(1).GetSizer().GetItem(1).GetSizer()
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   101
    self.main_buttons = map(
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   102
        lambda btname: MakeButtonFunc(self, sizer, btname), ActionButtons)
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   103
    self.axis_buttons = map(
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   104
        lambda axis:( MakeButtonFunc(self, sizer, axis+"axisMinus"), 
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   105
                        MakeButtonFunc(self, sizer, axis+"axisPlus")),
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   106
        AxisList)
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   107
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   108
    
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   109
    # self.timer = wx.Timer(self, -1)
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   110
    # self.Bind(wx.EVT_TIMER, self.UpdatePositions, self.timer)
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   111
    # self.ShowFullScreen(True,wx.FULLSCREEN_ALL)
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   112
    # wx.CallAfter(self.timer.Start,200)
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   113
    
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   114
Class_wxglade_hmi.__init__ = Init
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   115
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   116
def SetPLCTestBtnGlobalVar(self, evt):
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   117
    setattr(PLCGlobals, "DrawTestBtn", evt.GetEventObject().GetValue())
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   118
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   119
def SetPLCTestBtn2GlobalVar(self, evt):
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   120
    setattr(PLCGlobals, "DrawTestBtn2", evt.GetEventObject().GetValue())
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   121
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   122
]]></xhtml:p>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   123
  </globals>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   124
  <init>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   125
    <xhtml:p><![CDATA[
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   126
]]></xhtml:p>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   127
  </init>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   128
  <cleanup>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   129
    <xhtml:p><![CDATA[
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   130
]]></xhtml:p>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   131
  </cleanup>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   132
  <start>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   133
    <xhtml:p><![CDATA[
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   134
]]></xhtml:p>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   135
  </start>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   136
  <stop>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   137
    <xhtml:p><![CDATA[
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   138
]]></xhtml:p>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   139
  </stop>
9a42f12a973e cleanup wxHMI example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1465
diff changeset
   140
</PyFile>