src/projectStructure.js
// This function adds location information to the current (last) resource entry
This function adds location information to the current (last) resource entry
This function adds location information to the current ( last ) resource entry
addLocationInformationToResource (addressSpace, startAddress, ptrResource, interfaceObjectRef, propertyID, occurrence) {
    _.last(_.last(this.project.deviceMaskversionLookupTable).resources).addressSpace = addressSpace
    _.last(_.last(this.project.deviceMaskversionLookupTable).resources).startAddress = startAddress
    _.last(_.last(this.project.deviceMaskversionLookupTable).resources).ptrResource = ptrResource
    _.last(_.last(this.project.deviceMaskversionLookupTable).resources).interfaceObjectRef = interfaceObjectRef
    _.last(_.last(this.project.deviceMaskversionLookupTable).resources).propertyID = propertyID
    _.last(_.last(this.project.deviceMaskversionLookupTable).resources).occurrence = occurrence
  }
addLocationInformationToResource ( addressSpace , startAddress , ptrResource , interfaceObjectRef , propertyID , occurrence ) { _ . last ( _ . last ( this . project . deviceMaskversionLookupTable ) . resources ) . addressSpace = addressSpace _ . last ( _ . last ( this . project . deviceMaskversionLookupTable ) . resources ) . startAddress = startAddress _ . last ( _ . last ( this . project . deviceMaskversionLookupTable ) . resources ) . ptrResource = ptrResource _ . last ( _ . last ( this . project . deviceMaskversionLookupTable ) . resources ) . interfaceObjectRef = interfaceObjectRef _ . last ( _ . last ( this . project . deviceMaskversionLookupTable ) . resources ) . propertyID = propertyID _ . last ( _ . last ( this . project . deviceMaskversionLookupTable ) . resources ) . occurrence = occurrence }
This function adds location information to the current (last) resource entry
This function adds location information to the current ( last ) resource entry