add strip gain

remove redundant timeout variable from  VBAN_VMRT_Packet_Header

add strip gain property
This commit is contained in:
onyx-and-iris
2022-03-02 12:32:37 +00:00
parent d21903e34a
commit b836fa8642
2 changed files with 8 additions and 1 deletions

View File

@@ -74,6 +74,14 @@ class InputStrip(Channel):
raise VMCMDErrors('label is a string parameter')
self.setter('label', val)
@property
def gain(self) -> float:
return self.gainlayer[0].gain
@gain.setter
def gain(self, val: float):
self.gainlayer[0].gain = val
class PhysicalInputStrip(InputStrip):
@property