from .BxCmd import baseBxCmd from .BxCmdCode import CMD_GET_FILE_INTO class CmdReadFileInfo(baseBxCmd): def __init__(self): super().__init__(CMD_GET_FILE_INTO.group, CMD_GET_FILE_INTO.code) def Build(self): result = bytearray() result.append(self.Group()) result.append(self.Cmd()) result.append(self.ReqResp()) result.extend([0x00, 0x00]) return None def NewCmdReadFileInfo(FileName): return CmdReadFileInfo()