Hierarchy

  • BaseSystem<Pool>
    • Pools

Constructors

Properties

The client instance

parseItem: ((config, status, itemId) => Pool)

Type declaration

systemType: SystemType

Methods

  • Returns a single item by id.

    Parameters

    • itemId: string

      The item id.

    Returns Promise<Pool>

  • Returns a single trend by item id.

    Parameters

    • itemId: string

      The item id.

    • startDate: string

      The start date as date string.

    • endDate: string

      The start date as date string.

    • count: number

      The data count.

    Returns Promise<Trend>

    Throws

    ClientError

  • Return a parsed trend item.

    Parameters

    • systemType: SystemType

      The system type.

    • itemId: string

      The item id.

    • startDate: string

      The start date as date string.

    • endDate: string

      The start date as date string.

    • count: number

      The data count.

    Returns Promise<Trend>

    Throws

    ClientError

  • Returns all trends.

    Parameters

    • startDate: string

      The start date as date string.

    • endDate: string

      The start date as date string.

    • count: number

      The data count.

    Returns Promise<Trend[]>

    Throws

    ClientError

  • Return parsed trends.

    Parameters

    • systemType: SystemType

      The system type.

    • startDate: string

      The start date as date string.

    • endDate: string

      The start date as date string.

    • count: number

      The data count.

    Returns Promise<Trend[]>

    Throws

    ClientError

  • Return a parsed trend.

    Parameters

    • systemType: SystemType

      The system type.

    • item: string

      The item.

    • itemId: string

      The item id.

    • startDate: string

      The start date as date string.

    • endDate: string

      The start date as date string.

    • count: number

      The data count.

    Returns Promise<Trend>

    Throws

    ClientError

  • Sets the temperature.

    Parameters

    • itemId: string

      The item id.

    • temperature: number

      The new temperature.

    Returns Promise<void>

Generated using TypeDoc