Home Manual Reference Source Test Repository
public class | source

Usage

Direct Subclass:

Storage

This is a base object that allows the user to create a Datapoint.

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public
public

withAverage(average: string): Usage

Set the average attribute

public

withCurrent(current: string): Usage

Set the current attribute

public

withMaximum(maximum: string): Usage

Set the maximum attribute

public

withMinimum(minimum: string): Usage

Set the minimum attribute

public

Set the unit attribute

Public Constructors

public constructor() source

Public Methods

public composeElement(): * source

Return:

*

public withAverage(average: string): Usage source

Set the average attribute

Params:

NameTypeAttributeDescription
average string

optionals field

Return:

Usage

public withCurrent(current: string): Usage source

Set the current attribute

Params:

NameTypeAttributeDescription
current string

optionals field

Return:

Usage

public withMaximum(maximum: string): Usage source

Set the maximum attribute

Params:

NameTypeAttributeDescription
maximum string

optionals field

Return:

Usage

public withMinimum(minimum: string): Usage source

Set the minimum attribute

Params:

NameTypeAttributeDescription
minimum string

optionals field

Return:

Usage

public withUsageUnit(unit: string): Usage source

Set the unit attribute

Params:

NameTypeAttributeDescription
unit string

optionals field

Return:

Usage