コード例 #1
0
 def answer_movie_pos(cls):
     dict = {'room': ['视听阅览区']}
     task_position = Task_position()
     res = task_position.solve_room_pos(dict)
     return res
コード例 #2
0
 def answer_room_pos(cls, entity_dict):
     task_position = Task_position()
     res = task_position.solve_room_pos(entity_dict)
     return res
コード例 #3
0
 def answer_music_pos(cls):
     dict = {'room': '视听阅览区'}
     #print("====================")
     task_position = Task_position()
     res = task_position.solve_room_pos(dict)
     return res
コード例 #4
0
 def answer_music_or_movie(cls):
     dict = {'room': ['视听阅览区']}
     res = "\n视听阅览室可以欣赏电影和音乐"
     task_position = Task_position()
     res += task_position.solve_room_pos(dict)[0]
     return [res]