def entry(self):
     if config.is_debug_mode():
         self.__input = input.SunitizedString(input.UserInputReader())
     else:
         self.__input = input.SunitizedString(input.RFIDReader())
     self.__get_next_state = state.ErrorHasOccurred()
     Console.clear()
     Console.puts("返却する備品のRFIDをかざしてください")
     Console.puts(">", end="")
Пример #2
0
 def __init__(self):
     self.__text_field = input.ConsoleTextField()
     self.__rfid_reader = input.RFIDReader()