Constructor
protected
new DehydratorModel(siteId)
DehydratorModel Constructor
Parameters
-
siteId
number
The Site ID associated with this Dehydrator
Source
Members
deletedboolean
Whether the Dehydrator has been deleted
Type
-
boolean
Source
idstring
The Dehydrator ID
Type
-
string
Source
labIdstring
The Lab that owns this Dehydrator
Type
-
string
Source
namestring
The Name of this Dehydrator
Type
-
string
Source
pointsObject
The Points used by this Dehydrator
Type
-
Object
Source
nullable
rtuIdnumber
The RTU this Dehydrator belongs to
Type
-
number
Source
siteIdnumber
The Site ID associated with this Dehydrator
Type
-
number
Source
updateTimestampDate
When the Dehydrator was last updated
Type
-
Date
Source
Methods
static
fromJSON(json, siteId) → {DehydratorModel}
Create a new DehydratorModel 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 Dehydrator
Returns
-
DehydratorModel