10 lines
343 B
Python
10 lines
343 B
Python
|
|
from converter.base_converter import BaseConverter
|
||
|
|
from utils.logger import logger
|
||
|
|
from utils.hex_helper import hex_dump
|
||
|
|
|
||
|
|
class C2BConverter(BaseConverter):
|
||
|
|
def convert(self, data: bytes):
|
||
|
|
# 无条件透传给 B
|
||
|
|
hex_dump(data, "C→B 透传指令")
|
||
|
|
logger.info("✅ 指令已透传给 B 软件")
|
||
|
|
return data
|