diff --git a/NetworkAnalog/SimObjs.py b/NetworkAnalog/SimObjs.py index 07c77b1..6c27b31 100644 --- a/NetworkAnalog/SimObjs.py +++ b/NetworkAnalog/SimObjs.py @@ -754,3 +754,7 @@ class SimHub(SimBase): print(f"集线器-{self.ObjLabel}接受到数据,将进行转发!") self.transmit(packet) + +if __name__ == '__main__': + pass +