Methods
# inner getRobotId() → {String}
Retrieves the robotId of the currently opened robot from the session storage
Currently saved robotId
String
# inner getRobotName() → {String}
Retrieves the robotName of the currently opened robot from the session storage
Currently saved robotName
String
# inner initSsotSessionStorage(robotId)
Initializes the ssot in the session storage
Parameters:
Name | Type | Description |
---|---|---|
robotId |
String | Id of the robot for which the ssot in the session storage will be initialized |
# inner setRobotMetadata(robotName, robotId)
Writes the robotId and the robotName of the currently opened robot into the session storage
Parameters:
Name | Type | Description |
---|---|---|
robotName |
String | RobotName ot the currently opened robot |
robotId |
String | RobotId ot the currently opened robot |
# async inner upsert()
Sends three backend calls to upsert the ssot, the attribute objects and the parameter objects to the database.
The objects are taken from the session storage, so no parameters are required.