Cat
Public Member Functions | Public Attributes | List of all members
TestSuite.TestSuite Class Reference
Inheritance diagram for TestSuite.TestSuite:

Public Member Functions

def __init__ (self, cat, obj, panel, path)
 
def onApply (self, event)
 
def update (self)
 

Public Attributes

 s1
 
 s2
 
 s3
 
 s4
 

Detailed Description

Definition at line 10 of file TestSuite.py.

Constructor & Destructor Documentation

◆ __init__()

def TestSuite.TestSuite.__init__ (   self,
  cat,
  obj,
  panel,
  path 
)

Definition at line 11 of file TestSuite.py.

References element.element.loadxrc(), and proc.proc.loadxrc().

11  def __init__(self, cat, obj, panel, path):
12  proc.__init__(self,cat,obj,panel,path)
13  self.loadxrc()
14  self.s1=self.getControl("s1")
15  self.s2=self.getControl("s2")
16  self.s3=self.getControl("s3")
17  self.s4=self.getControl("s4")
18  self.update()
19  self.panel.Bind(wx.EVT_BUTTON, self.onApply, id=xrc.XRCID("Apply"))
20 
def __init__(self, dict)
Definition: wrapper.py:56

Member Function Documentation

◆ onApply()

def TestSuite.TestSuite.onApply (   self,
  event 
)

◆ update()

def TestSuite.TestSuite.update (   self)

Definition at line 28 of file TestSuite.py.

References object.object.obj, CfgFrame.CfgFrame.obj, StorageFifo.StorageFifo.s1, TestUSB.TestUSB.s1, StorageFifoAcquisition.StorageFifoAcquisition.s1, TestI2C.TestI2C.s1, TestSPI.TestSPI.s1, TestSuite.TestSuite.s1, UsbFTInterfaceTest.UsbFTInterfaceTest.s1, StorageFifo.StorageFifo.s2, StorageFifoAcquisition.StorageFifoAcquisition.s2, TestI2C.TestI2C.s2, TestSPI.TestSPI.s2, TestUSB.TestUSB.s2, TestSuite.TestSuite.s2, UsbFTInterfaceTest.UsbFTInterfaceTest.s2, StorageFifo.StorageFifo.s3, TestI2C.TestI2C.s3, TestSPI.TestSPI.s3, TestUSB.TestUSB.s3, StorageFifoAcquisition.StorageFifoAcquisition.s3, TestSuite.TestSuite.s3, UsbFTInterfaceTest.UsbFTInterfaceTest.s3, StorageFifoAcquisition.StorageFifoAcquisition.s4, StorageFifo.StorageFifo.s4, TestUSB.TestUSB.s4, TestI2C.TestI2C.s4, TestSPI.TestSPI.s4, TestSuite.TestSuite.s4, UsbFTInterfaceTest.UsbFTInterfaceTest.s4, and TestSuite.sigma().

Referenced by AppFrame.AppFrame.deleteHardware(), ConfFrame.ConfFrame.onChange(), GraphFrame.GraphFrame.onChange(), CfgFrame.CfgFrame.onChange(), ConfFrame.ConfFrame.onEdit(), AppFrame.AppFrame.onLoad(), ConfFrame.ConfFrame.onReLoad(), GraphFrame.GraphFrame.onReLoad(), CfgFrame.CfgFrame.onReLoad(), and AppFrame.AppFrame.onReLoad().

28  def update(self):
29  v1=self.obj.sigma(0)
30  v2=self.obj.sigma(1)
31  v3=self.obj.sigma(2)
32  v4=self.obj.sigma(3)
33 
34  self.s1.SetValue(str(v1))
35  self.s2.SetValue(str(v2))
36  self.s3.SetValue(str(v3))
37  self.s4.SetValue(str(v4))
38 
39 #----------------------------------------------------------------------
40 

Member Data Documentation

◆ s1

TestSuite.TestSuite.s1

◆ s2

TestSuite.TestSuite.s2

◆ s3

TestSuite.TestSuite.s3

◆ s4

TestSuite.TestSuite.s4

The documentation for this class was generated from the following file: