setInfo

setInfo — sets the information properties of a point.

Syntax

For C++:

void setInfo(CDataHubPoint& point);

void setInfo(int  iconf,
 int  iquality,
 int  isecurity,
 int  ilocked,
 int  iseconds,
 int  inanoseconds,
 int  iflags);

For Java, and C#:

void setInfo(DataHubPoint point);

void setInfo(int  iconf,
 int  iquality,
 int  isecurity,
 int  ilocked,
 int  iseconds,
 int  inanoseconds,
 int  iflags);

Parameters

point

An existing point from which to copy all the information values (not name, type or value).

iconf

The point confidence, typically 0-100.

iquality

The point quality, typically PT_QUALITY_GOOD or PT_QUALITY_BAD.

isecurity

The point security.

ilocked

The locked flag for the point.

iseconds

The seconds component of the initial timestamp (since Jan. 1, 1970).

inanoseconds

The nanosecond component of the initial timestamp.

iflags

The point flags.

Description

Sets all the information properties of a point.