src/projectStructure.js
// This function adds a parameter reference to the current (latest) device
This function adds a parameter reference to the current (latest) device
This function adds a parameter reference to the current ( latest ) device
addParameterReferenceToDevice (referenceID, parameterValue) {
    _.last(_.last(_.last(this.project.topology.areas).lines).devices).parameterReferences.push({
      __parameterRefID: referenceID,
      parameterValue: parameterValue
    })
  }
addParameterReferenceToDevice ( referenceID , parameterValue ) { _ . last ( _ . last ( _ . last ( this . project . topology . areas ) . lines ) . devices ) . parameterReferences . push ( { __parameterRefID : referenceID , parameterValue : parameterValue } ) }
This function adds a parameter reference to the current (latest) device
This function adds a parameter reference to the current ( latest ) device