Hierarchy

  • BaseSystem<Blind>
    • Blinds

Constructors

Properties

The client instance

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

Type declaration

systemType: SystemType

Methods

  • Returns a single item by id.

    Parameters

    • itemId: string

      The item id.

    Returns Promise<Blind>

  • 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 angle.

    Parameters

    • itemId: string

      The item id.

    • angle: number

      The new angle.

    Returns Promise<void>

    Throws

    ClientError

  • Sets the position.

    Parameters

    • itemId: string

      The item id.

    • position: number

      The new position.

    Returns Promise<void>

    Throws

    ClientError

Generated using TypeDoc