Home Manual Reference Source Test Repository
public class | source

Hardware

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

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public
public

Set the clockDate attribute

public

withManufacturerName(manufacturerName: string): Hardware

Set the manufacturerName attribute

public

withManufacturerOui(manufacturerOui: string): Hardware

Set the manufacturerOui attribute

public

Set the modelName attribute

public

withModelVersion(modelVersion: string): Hardware

Set the modelVersion attribute

public

withSerialnumber(serialnumber: string): Hardware

Set the serialnumber attribute

Public Constructors

public constructor() source

Public Methods

public composeElement(): * source

Return:

*

public withClockDate(clockDate: string): Hardware source

Set the clockDate attribute

Params:

NameTypeAttributeDescription
clockDate string

Return:

Hardware

public withManufacturerName(manufacturerName: string): Hardware source

Set the manufacturerName attribute

Params:

NameTypeAttributeDescription
manufacturerName string

Return:

Hardware

public withManufacturerOui(manufacturerOui: string): Hardware source

Set the manufacturerOui attribute

Params:

NameTypeAttributeDescription
manufacturerOui string

Return:

Hardware

public withModelName(modelName: string): Hardware source

Set the modelName attribute

Params:

NameTypeAttributeDescription
modelName string

Return:

Hardware

public withModelVersion(modelVersion: string): Hardware source

Set the modelVersion attribute

Params:

NameTypeAttributeDescription
modelVersion string

Return:

Hardware

public withSerialnumber(serialnumber: string): Hardware source

Set the serialnumber attribute

Params:

NameTypeAttributeDescription
serialnumber string

Return:

Hardware