DataHubPoint

DataHubPoint — constructs a DataHubPoint object.

Synopsis

For C++:
CDataHubPoint(); 
void;
 
CDataHubPoint(point); 
const CDataHubPoint& point;
 
CDataHubPoint(sname); 
LPCTSTR sname;
 
CDataHubPoint(sname,  
 itype,  
 svalue,  
 iconf,  
 iquality,  
 isecurity,  
 ilocked,  
 iseconds,  
 inanoseconds,  
 iflags); 
LPCTSTR sname;
int itype;
LPCTSTR svalue;
int iconf;
int iquality;
int isecurity;
int ilocked;
int iseconds;
int inanoseconds;
int iflags;
 
For Java, and C#:
DataHubPoint(sname); 
String sname;
 
DataHubPoint(sname,  
 itype,  
 svalue,  
 iconf,  
 iquality,  
 isecurity,  
 ilocked,  
 iseconds,  
 inanoseconds,  
 iflags); 
String sname;
int itype;
String svalue;
int iconf;
int iquality;
int isecurity;
int ilocked;
int iseconds;
int inanoseconds;
int iflags;
 

Parameters

point

An existing point to be copied.

sname

The point name. The '.' character may be used to separate name fields. A point name may be qualified by its corresponding domain as domain:name, otherwise it is treated by the DataHub instance as belonging to the current default domain. Point names must be matched exactly, i.e., the qualified and unqualified point names are not the same.

itype

The type of the point: PT_TYPE_STRING, PT_TYPE_INT32 or PT_TYPE_REAL.

svalue

A string representing the value, to be converted according to the specified type.

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

Constructs a new DataHubPoint object.

See Also

DataHubPoint Class, Categorized List of Methods