This commit is contained in:
Ádám Kovács
2023-11-07 14:00:40 +01:00
parent 36638e2dd1
commit ec52bd7384
7 changed files with 301 additions and 0 deletions

14
type.py Normal file
View File

@@ -0,0 +1,14 @@
class Time:
def __init__(self, hour, minute):
self.hour = hour
self.minute = minute
def format(self):
return "%02d:%02d" % (self.hour, self.minute)
class Setting:
def __init__(self, time, temp):
self.time = time
self.temp = temp