Constructor
protected
new PointModel(siteId)
PointModel Constructor
Parameters
-
siteId
number
The Site ID associated with this Point
Source
Members
deletedboolean
Whether the Point has been deleted
Type
-
boolean
Source
enabledboolean
Whether the Point is Enabled
Type
-
boolean
Source
idnumber
The Point ID
Type
-
number
Source
namestring
The Point Name
Type
-
string
Source
permissionsstring
The Permissions
Type
-
string
Source
nullable
pluginIdnumber
The Plugin ID
Type
-
number
Source
nullable
rtuIdnumber
The RTU this Point belongs to
Type
-
number
Source
settingsObject
The Point Settings
Type
-
Object
Source
siteIdnumber
The Site ID associated with this Point
Type
-
number
Source
typestring
The Point Type
Type
-
string
Source
updateTimestampDate
When the Point was last updated
Type
-
Date
Source
valueTypestring
The Point's Value Type
Type
-
string
Source
Methods
static
fromJSON(json, siteId) → {PointModel}
Create a new PointModel from a JSON Object or JSON String
Parameters
-
json
Object.<string, any>
|string
A JSON Object or JSON String
-
siteId
number
The Site ID associated with this Point
Returns
-
PointModel