mirror of
https://github.com/onyx-and-iris/vban-cmd-python.git
synced 2024-11-15 17:10:46 +00:00
Update dataclass.py
This commit is contained in:
parent
c6b9fa6112
commit
0fc4f693fa
@ -35,7 +35,7 @@ class VBAN_VMRT_Packet_Data:
|
|||||||
|
|
||||||
def isdirty(self, other):
|
def isdirty(self, other):
|
||||||
"""defines the dirty flag"""
|
"""defines the dirty flag"""
|
||||||
if (
|
return not (
|
||||||
self._stripState == other._stripState
|
self._stripState == other._stripState
|
||||||
and self._busState == other._busState
|
and self._busState == other._busState
|
||||||
and self._stripLabelUTF8c60 == other._stripLabelUTF8c60
|
and self._stripLabelUTF8c60 == other._stripLabelUTF8c60
|
||||||
@ -49,9 +49,7 @@ class VBAN_VMRT_Packet_Data:
|
|||||||
and self._stripGaindB100Layer7 == other._stripGaindB100Layer7
|
and self._stripGaindB100Layer7 == other._stripGaindB100Layer7
|
||||||
and self._stripGaindB100Layer8 == other._stripGaindB100Layer8
|
and self._stripGaindB100Layer8 == other._stripGaindB100Layer8
|
||||||
and self._busGaindB100 == other._busGaindB100
|
and self._busGaindB100 == other._busGaindB100
|
||||||
):
|
)
|
||||||
return False
|
|
||||||
return True
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def voicemeetertype(self) -> str:
|
def voicemeetertype(self) -> str:
|
||||||
|
Loading…
Reference in New Issue
Block a user