src/projectStructure.js
// This function adds security to the current (latest) device
This function adds security to the current (latest) device
This function adds security to the current ( latest ) device
addSecurityToDevice (sequenceNumber, sequenceNumberTimestamp) {
    _.last(_.last(_.last(this.project.topology.areas).lines).devices).security = {
      sequenceNumber: sequenceNumber,
      sequenceNumberTimestamp: sequenceNumberTimestamp
    }
  }
addSecurityToDevice ( sequenceNumber , sequenceNumberTimestamp ) { _ . last ( _ . last ( _ . last ( this . project . topology . areas ) . lines ) . devices ) . security = { sequenceNumber : sequenceNumber , sequenceNumberTimestamp : sequenceNumberTimestamp } }
This function adds security to the current (latest) device
This function adds security to the current ( latest ) device