예제 #1
0
 def start_training():
     return [
         FormPrompt(
             IntPrompt,
             Training._start_training,
             "Enter Resistance (-1: Main Menu)",
         )
     ]
예제 #2
0
 def start_workout() -> List[FormPrompt]:
     return [
         FormPrompt(
             IntPrompt,
             Workout._start_workout,
             "Enter Length of Workout in Minutes (0: Forever, -1: Main Menu)",
         )
     ]
예제 #3
0
 def update_ftp():
     return [FormPrompt(IntPrompt, UserSettings._update_ftp, "Update FTP")]
예제 #4
0
 def update_age():
     return [FormPrompt(IntPrompt, UserSettings._update_age, "Update Age")]
예제 #5
0
 def update_name():
     return [FormPrompt(Prompt, UserSettings._update_name, "Update User Name")]
예제 #6
0
 def update_hrm_name():
     return [FormPrompt(Prompt, DeviceSettings._update_hrm_name, "Update HRM Name")]
예제 #7
0
 def update_bike_name():
     return [FormPrompt(Prompt, DeviceSettings._update_bike_name, "Update Bike Name")]