Measurements
Screen
View
Model
The MeasurementsScreenViewModel
class is the support class used to manage the daily measurements
requests
Author
N7ghtm4r3 - Tecknobit
See also
Properties
glycemia
the value of the glycemia
glycemiaError
whether the glycemia
field is not valid
insulinNeeded
whether the measurement requires the
insulin units administration
insulinUnits
the state used to pick the insulin units
quantity
mealContent
list with the content of a meal
postPrandialGlycemia
the value of the post-prandial glycemia
postPrandialGlycemiaError
whether the postPrandialGlycemia
field is not valid
sessionFlowState
the state used to manage the session
lifecycle in the screen
toasterState
the state used to launch the toasts
messages
Functions
Method used to compute the value in millis of the _currentDay based on the page
Method used to request to fill a basal insulin record
Method used to request to retrieve the daily measurements related to the selected _currentDay
Method used to request to save the daily notes content
Method used to set the value for the _currentDay
Method used to toast an error message