This commit is contained in:
2024-10-03 18:23:21 +08:00
commit 8626664653
45 changed files with 777 additions and 0 deletions

0
core/target/__init__.py Normal file
View File

25
core/target/targetBase.py Normal file
View File

@@ -0,0 +1,25 @@
"""
********************************************
* @Date: 2024 09 27
* @Description: TargetBase存储后端的抽象类
********************************************
"""
from abc import ABC, abstractmethod
from core.objects.back_object import BackObject
class TargetBase(ABC):
@abstractmethod
def test(self) -> bool:
"""
测试目标连通性
:param
:return
"""
pass
@abstractmethod
def back(self, back_object: BackObject):
pass