DataHubPoint
DataHubPoint — constructs a DataHubPoint object.
Syntax
For C++:
CDataHubPoint(const CDataHubPoint& point);
CDataHubPoint(LPCTSTR sname);
CDataHubPoint( | 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(String sname);
DataHubPoint( | 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 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.