def virtual_new_data(self, dispatcher, pipe, command, payload): table = dispatcher.command_table() self._command_table[table.IDLE] = self._idle_data self._command_table[table.KOTEL_CERPADLO] = self._new_cerpadlo self._command_table[table.KOTEL_TEMPERATURE] = self._new_temperature self._command_handler(dispatcher,pipe,command,payload)
def virtual_new_data(self, dispatcher, pipe, command, payload): table = dispatcher.command_table() self._command_table[table.IDLE] = self._idle_data self._command_table[table.HANDLE_GET_SCREENS] = self._new_get_screens self._command_table[table.HANDLE_HOME_TEMPERATURE] = self._new_home_temperature self._command_table[table.HANDLE_RELOAD_HEATING_SCREEN_WEEK] = self._new_reload_screen self._command_table[table.HANDLE_RELOAD_HEATING_SCREEN_WEEKEND] = self._new_reload_screen self._command_table[table.HANDLE_RELOAD_WATER_SCREEN] = self._new_reload_screen self._command_table[table.HANDLE_RELOAD_MAIN_SCREEN] = self._new_reload_screen self._command_table[table.HANDLE_PROGRAM_MANUAL] = self._new_program_selection self._command_table[table.HANDLE_WATER_SCREEN] = self._new_water_screen self._command_table[table.HANDLE_HEATING_SCREEN] = self._new_heating_screen self._command_handler(dispatcher,pipe,command,payload)