def answer_movie_pos(cls): dict = {'room': ['视听阅览区']} task_position = Task_position() res = task_position.solve_room_pos(dict) return res
def answer_music_pos(cls): dict = {'room': '视听阅览区'} #print("====================") task_position = Task_position() res = task_position.solve_room_pos(dict) return res
def answer_res_pos(cls, entity_dict): task_position = Task_position() res = task_position.solve_res_pos(entity_dict) return [res]
def answer_restype_pos(cls, entity): task_position = Task_position() res = task_position.solve_restype_pos(entity) return [res]
def answer_music_or_movie(cls): dict = {'room': ['视听阅览区']} res = "\n视听阅览室可以欣赏电影和音乐" task_position = Task_position() res += task_position.solve_room_pos(dict)[0] return [res]