Methods
create(siteId, createData) → {Promise.<AlarmGroupModel>}
Create a Alarm Group [POST /sites/{siteId}/alarm-groups]
Parameters
-
siteId
numberThe Site ID
-
createData
AlarmGroupController.CreateDataThe Alarm Group Create Data
Returns
-
Promise.<AlarmGroupModel>
Source
delete(siteId, id) → {Promise.<boolean>}
Delete a Alarm Group [DELETE /sites/{siteId}/alarm-groups/{id}]
Parameters
-
siteId
numberThe Site ID
-
id
stringThe Alarm Group ID
Returns
-
Promise.<boolean>
Source
getAll(siteId, queryParametersopt) → {Promise.<Array.<AlarmGroupModel>>}
List all Alarm Groups [GET /sites/{siteId}/alarm-groups]
Parameters
-
siteId
numberThe Site ID
-
queryParameters
AlarmGroupController.GetAllQueryParameters<optional>
The Optional Query Parameters
Returns
-
Promise.<Array.<AlarmGroupModel>>
Source
getOne(siteId, id) → {Promise.<AlarmGroupModel>}
Retrieve a Alarm Group [GET /sites/{siteId}/alarm-groups/{id}]
Parameters
-
siteId
numberThe Site ID
-
id
stringThe Alarm Group ID
Returns
-
Promise.<AlarmGroupModel>
Source
update(siteId, id, updateData) → {Promise.<AlarmGroupModel>}
Update a Alarm Group [PATCH /sites/{siteId}/alarm-groups/{id}]
Parameters
-
siteId
numberThe Site ID
-
id
stringThe Alarm Group ID
-
updateData
AlarmGroupController.UpdateDataThe Alarm Group Update Data
Returns
-
Promise.<AlarmGroupModel>
Source
Type Definitions
CreateData
The Create Data for a Alarm Group
Type
-
Object
Properties
-
rtuId
number<optional>
<nullable>
The RTU this Alarm Group belongs to
-
name
stringThe Alarm Group Name
-
resetPoint
numberThe Boolean Point used to Reset this Alarm Group
-
externalResetPoints
Array.<AlarmGroupController.ExternalResetPoint><optional>
An Array of Points and the States to be Written when this Alarm Group is Reset
Source
ExternalResetPoint
A ExternalResetPoint Type
Type
-
Object
Properties
-
point
numberThe Point ID to be Written to
-
value
booleanThe Value to Write
Source
GetAllQueryParameters
The Optional Query Parameters for the getAll Function
Type
-
Object
Properties
-
rtuId
number<optional>
<nullable>
The RTU this Alarm Group belongs to
-
name
string<optional>
The Alarm Group Name
-
resetPoint
number<optional>
The Boolean Point used to Reset this Alarm Group
Source
UpdateData
The Update Data for a Alarm Group
Type
-
Object
Properties
-
name
string<optional>
The Alarm Group Name
-
resetPoint
number<optional>
The Boolean Point used to Reset this Alarm Group
-
externalResetPoints
Array.<AlarmGroupController.ExternalResetPoint><optional>
An Array of Points and the States to be Written when this Alarm Group is Reset