@refinio/one.models
    Preparing search index...

    This model implements the possibility of adding a body temperature measurement into a journal and keeping track of the list of the body temperature measurements

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    channelManager: default
    onUpdated: OEvent<(timeOfEarliestChange: Date) => void> = ...
    state: StateMachine<"Uninitialised" | "Initialised", "shutdown" | "init">
    channelId: "bodyTemperature" = 'bodyTemperature'

    Event is emitted when body temperature data is updated.

    Methods

    • Used to store a body temperature in one instance.

      Parameters

      • bodyTemperature: number

        the body temperature measurement provided by the user.

      • OptionalcreationTimestamp: number

        the time in milliseconds when the body temperature was measured.

      • Optionalowner: SHA256IdHash<Person>

      Returns Promise<void>