RequestUserProperties
Returns the user properties and values for a specific equipment.
Function
void RequestUserProperties(eqName: string, callback: function)
Parameters
- eqType (string): Equipment name (for example: “Conveyor1”)
- callback (function): The function to execute when a map of user property names and values are returned from the server.
Example
Get the user properties and values for equipment named “CIC.W05” and print it to console log:
SYM3.RequestUserProperties("CIC.W05", props => {
console.log("CIC.W05 user properties: ", props);
});
/*
Console log:
CIC.W05 user properties: Map(2) {'LocationID' => 361, 'SortLocation' => '0'}
*/