Class System
Object
|
+--System
- class
System
Stellt einfache Systemfunktionen zur Verfuegung.
Defined in System.js
|
Method Summary |
<static> function
|
command(cmdLine)
Executes a given command.
|
<static> function
|
copyFile(source, dest)
Copies a file from source to dest.
|
<static> function
|
failed()
Prints a "FAILED!".
|
<static> function
|
ok()
Prints an "OK"
|
<static> function
|
runNet(net, name, startTime, endTime)
Starts the simulation of the given net with
the given parameters.
|
System
function System()
command
<static> function command(cmdLine)
Executes a given command.
Parameters:
cmdLine - A line of command(s) to execute.
Returns:
An object representing the result, has properties .stdout, .stderr, exitValue
copyFile
<static> function copyFile(source, dest)
Copies a file from source to dest.
Parameters:
source - The source file (name + path)
dest - The destination file (name + path)
failed
<static> function failed()
ok
<static> function ok()
runNet
<static> function runNet(net, name, startTime, endTime)
Starts the simulation of the given net with
the given parameters.
Parameters:
net - The net to simulate
name - of the temporary file to create
startTime - Time of simualtion start, using TimeNET standard time format ("time
endTime - Time of simulation end, using TimeNET standard time format ("time