thermostat.py 文件源码

python
阅读 30 收藏 0 点赞 0 评论 0

项目:RaspberryPiThermostat 作者: scottpav 项目源码 文件源码
def on_touch_up( self, touch ):
        global minUITimer

        if touch.grab_current is self:
            touch.ungrab( self )
            with thermostatLock:
                if minUITimer != None:
                    Clock.unschedule( show_minimal_ui )
                minUITimer = Clock.schedule_once( show_minimal_ui, minUITimeout )
                self.manager.current = "thermostatUI"
                log( LOG_LEVEL_DEBUG, CHILD_DEVICE_SCREEN, MSG_SUBTYPE_TEXT, "Full" )
            return True


##############################################################################
#                                                                            #
#       Kivy Thermostat App class                                            #
#                                                                            #
##############################################################################
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号