Constructor
protected
new LabModel(siteId)
LabModel Constructor
Parameters
-
siteId
number
The Site ID associated with this Lab
Source
Members
alarmGroupsArray.<string>
The Alarm Groups that are used by this Lab
Type
-
Array.<string>
Source
deletedboolean
Whether the Lab has been deleted
Type
-
boolean
Source
idstring
The Lab ID
Type
-
string
Source
nullable
inspectIntegrationObject
The Inspect Integration Configuration for this Lab
Type
-
Object
Source
namestring
The Lab Name
Type
-
string
Source
pointsObject
The Points used by this Lab
Type
-
Object
Source
racksArray.<{id: string, displayOrder: number}>
The Rack Objects that belong to this Lab
Type
-
Array.<{id: string, displayOrder: number}>
Source
nullable
rtuIdnumber
The RTU this Lab belongs to
Type
-
number
Source
shortNamestring
A Short Name for the Lab Name. Typically used in Reports and Tables showing multiple Labs
Type
-
string
Source
siteIdnumber
The Site ID associated with this Lab
Type
-
number
Source
updateTimestampDate
When the Lab was last updated
Type
-
Date
Source
Methods
static
fromJSON(json, siteId) → {LabModel}
Create a new LabModel 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 Lab
Returns
-
LabModel