src/projectStructure.js
// This function adds a line to the current (latest) area
This function adds a line to the current (latest) area
This function adds a line to the current ( latest ) area
addLineToArea (ID, name, address, mediumTypeRefId) {
    _.last(this.project.topology.areas).lines.push({
      ID: ID,
      name: name,
      address: address,
      __referenceIDs: {
        mediumTypeRefID: mediumTypeRefId
      },
      devices: []
    })
  }
addLineToArea ( ID , name , address , mediumTypeRefId ) { _ . last ( this . project . topology . areas ) . lines . push ( { ID : ID , name : name , address : address , __referenceIDs : { mediumTypeRefID : mediumTypeRefId } , devices : [ ] } ) }
This function adds a line to the current (latest) area
This function adds a line to the current ( latest ) area