This commit is contained in:
10
script/test/TestAthosCamerasChannel.py
Normal file
10
script/test/TestAthosCamerasChannel.py
Normal file
@@ -0,0 +1,10 @@
|
||||
class StringChannel(RegisterBase):
|
||||
def doRead(self):
|
||||
return self.val if hasattr(self, 'val') else ""
|
||||
def doWrite(self, val):
|
||||
self.val = val
|
||||
|
||||
|
||||
reg=StringChannel()
|
||||
reg.initialize()
|
||||
cas3 = CAS("TESTCAS:CH", reg, 'string')
|
||||
Reference in New Issue
Block a user