diff --git a/NetworkAnalog/SimObjs.py b/NetworkAnalog/SimObjs.py index 82e5c41..64227d6 100644 --- a/NetworkAnalog/SimObjs.py +++ b/NetworkAnalog/SimObjs.py @@ -731,7 +731,6 @@ class SimSwitch(SimBase): class SimHub(SimBase): - # todo: 集线器类 """ 集线器类 """ @@ -768,8 +767,3 @@ class SimHub(SimBase): """ print(f"集线器-{self.ObjLabel}接受到数据,将进行转发!") self.transmit(packet) - - -if __name__ == '__main__': - pass - diff --git a/NetworkAnalog/network.db b/NetworkAnalog/network.db index 68a2411..a1239a1 100644 Binary files a/NetworkAnalog/network.db and b/NetworkAnalog/network.db differ