Exemplo n.º 1
0
 def _handle_FEATURES_ANNOUNCE(self, data):
     cmd = generic_cmd_t.decode(data)
     if self.view_system_info:
         self.view_system_info.features_announce[cmd.code] = time.time()
Exemplo n.º 2
0
 def _handle_IMAGE_ANNOUNCE(self, data):
     cmd = generic_cmd_t.decode(data)
     if self.view_system_info:
         self.view_system_info.image_announce[cmd.code] = time.time()
Exemplo n.º 3
0
 def _handle_FUTURE_DIRECTION(self, data):
     p = generic_cmd_t.decode(data)
     if self.view_nav_info:
         self.view_nav_info.future_direction[p.code] = int(p.text)
Exemplo n.º 4
0
 def _handle_FEATURES_ANNOUNCE (self, data):
     cmd = generic_cmd_t.decode (data)
     if self.view_system_info:
         self.view_system_info.features_announce[cmd.code] = time.time()
Exemplo n.º 5
0
 def _handle_IMAGE_ANNOUNCE (self, data):
     cmd = generic_cmd_t.decode (data)
     if self.view_system_info:
         self.view_system_info.image_announce[cmd.code] = time.time()
Exemplo n.º 6
0
 def _handle_FUTURE_DIRECTION (self, data):
     p = generic_cmd_t.decode (data)
     if self.view_nav_info:
       self.view_nav_info.future_direction[p.code] = int (p.text)