Constructor
protected
new AlarmGroupModel(siteId)
AlarmGroupModel Constructor
Parameters
-
siteId
number
The Site ID associated with this Alarm Group
Source
Members
deletedboolean
Whether the Alarm Group has been deleted
Type
-
boolean
Source
externalResetPointsArray.<{point: number, value: boolean}>
An Array of Points and the States to be Written when this Alarm Group is Reset
Type
-
Array.<{point: number, value: boolean}>
Source
idstring
The Alarm Group ID
Type
-
string
Source
namestring
The Alarm Group Name
Type
-
string
Source
resetPointnumber
The Boolean Point used to Reset this Alarm Group
Type
-
number
Source
nullable
rtuIdnumber
The RTU this Alarm Group belongs to
Type
-
number
Source
siteIdnumber
The Site ID associated with this Alarm Group
Type
-
number
Source
updateTimestampDate
When the Alarm Group was last updated
Type
-
Date
Source
Methods
static
fromJSON(json, siteId) → {AlarmGroupModel}
Create a new AlarmGroupModel 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 Alarm Group
Returns
-
AlarmGroupModel