src/projectStructure.js
// This function adds a function to the current building part
This function adds a function to the current building part
This function adds a function to the current building part
addFunctionToBuildingPart (ID, name, type) {
    this.getCurrentBuildingPart(false).functions.push({
      ID: ID,
      name: name,
      type: type,
      groupAddressReferences: []
    })
  }
addFunctionToBuildingPart ( ID , name , type ) { this . getCurrentBuildingPart ( false ) . functions . push ( { ID : ID , name : name , type : type , groupAddressReferences : [ ] } ) }
This function adds a function to the current building part
This function adds a function to the current building part