TestingTool

The backend of the testing tool
Source:
Author:
  • Eric Udlis

Methods

(inner) fillAllTables(time)

Source:
Fills all tables with data from a specific time
Parameters:
Name Type Description
time Number the time the data is located

(inner) fillCell(subsystem, sensor, time)

Source:
Fills a cell with a data from a specific time
Parameters:
Name Type Description
subsystem String The Subsystem Table to fill
sensor String The sensor to fill
time Number The time in the data to fill

(inner) fillScrubber()

Source:
Sets scrubber value to current time

(inner) fillTable(subsystem, time)

Source:
Fills a table with data from a specific time
Parameters:
Name Type Description
subsystem String The subsystem table to fill
time Number the time the data is located

(inner) findMax()

Source:
Finds the number of data points in a sensor

(inner) handleFiles()

Source:
Filters the files from the input

(inner) importJSON(file)

Source:
Reads the file and sets runData to the JSON output
Parameters:
Name Type Description
file File The file to read

(inner) incrementTimer()

Source:
Increments internal timer by 1

(inner) init()

Source:
Fills all tables and dropdowns

(inner) pauseTimer()

Source:
Pause timer and set falg to false

(inner) playTimer()

Source:
If not playing data and has data start playing

(inner) resetTimer()

Source:
Resets timer back to 0

(inner) updateScrubber()

Source:
Sets current time to scrubber value

(inner) updateTables()

Source:
If there is run data fill all tables and update labels