src/projectStructure.js
// This function adds a sub-type to the current (latest) datapoint type entry
This function adds a sub-type to the current (latest) datapoint type entry
This function adds a sub - type to the current ( latest ) datapoint type entry
addDatapointSubTypeToDatapointType (ID, subDptNumber, subDptName, subDptText) {
    _.last(this.project.datapointLookupTable).datapointSubtypes.push({
      ID: ID,
      subDptNumber: subDptNumber,
      subDptName: subDptName,
      subDptText: subDptText
    })
  }
addDatapointSubTypeToDatapointType ( ID , subDptNumber , subDptName , subDptText ) { _ . last ( this . project . datapointLookupTable ) . datapointSubtypes . push ( { ID : ID , subDptNumber : subDptNumber , subDptName : subDptName , subDptText : subDptText } ) }
This function adds a sub-type to the current (latest) datapoint type entry
This function adds a sub - type to the current ( latest ) datapoint type entry