Methods
# inner deleteParametersForActivities(robotId, unusedActivityListString) → {Object}
Delete parameters for the given activities by sending a call to the backend
Parameters:
Name | Type | Description |
---|---|---|
robotId |
String | Id of the robot that will be used |
unusedActivityListString |
String | Stringified List of activityIds |
Mongoose query describing execution of call
Object
# async inner getAllParametersForRobot(robotId) → {Array}
Fetch all parameter objects for a specifc robot
Parameters:
Name | Type | Description |
---|---|---|
robotId |
String | Id of the robot to get all the parameters for |
All objects that have been found for the robot
Array
# async inner updateManyParameters(parameterObjectsList) → {Array}
Will send a backend call to update all given parameter objects with the new ones
Parameters:
Name | Type | Description |
---|---|---|
parameterObjectsList |
Array | All updated parameters objects to overwrite the old attribute objects with |
Array of all updated parameter objects
Array