remote/js/lib/RTRemoteProtocol.js
/**
   * send get property by id
   * @param {string} objectId the object id
   * @param {number} index the property name
   * @return {Promise<object>} promise with result
   */
send get property by id
@param {string} objectId the object id
@param {number} index the property name
@return {Promise} promise with result
send get property by id @param { string } objectId the object id @param { number } index the property name @return { Promise } promise with result
sendGetByIndex(objectId, index) {
    const messageObj = RTMessageHelper.newGetRequest(objectId, null);
    messageObj[RTConst.MESSAGE_TYPE] = RTRemoteMessageType.GET_PROPERTY_BYINDEX_REQUEST;
    messageObj[RTConst.PROPERTY_INDEX] = index;
    return this.sendRequestMessage(messageObj);
  }
sendGetByIndex ( objectId , index ) { const messageObj = RTMessageHelper . newGetRequest ( objectId , null ) ; messageObj [ RTConst . MESSAGE_TYPE ] = RTRemoteMessageType . GET_PROPERTY_BYINDEX_REQUEST ; messageObj [ RTConst . PROPERTY_INDEX ] = index ; return this . sendRequestMessage ( messageObj ) ; }
send get property by id
 @param {string} objectId the object id
 @param {number} index the property name
 @return {Promise<object>} promise with result
send get property by id @param { string } objectId the object id @param { number } index the property name @return { Promise<object > } promise with result