From 926d890fc5a1f55f6ffaafbc02ef3c8d2853f412 Mon Sep 17 00:00:00 2001 From: bettleChen <2207153529@qq.com> Date: Mon, 17 Jul 2023 17:08:44 +0800 Subject: [PATCH] update code --- NetworkAnalog/SimObjs.py | 4 ++++ 1 file changed, 4 insertions(+) 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 +