JS: make the OutputBox the default window, rather than InfoBox

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Remove Input constructor that has an argument for unitString

Use setUnits(unit) to set unitString for an input.

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: pull the unit arguments from two constructors, explicitly call setUnits

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Fixed variable name in graphics box

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Fixed model size when importing

All models were 1/2 the size they should have been.

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: add API for working directly with seconds and discrete 'ticks' to Entity

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: remove the scheduleWaitOneTick() API, use the tick-based API directly

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: precalculate the number of seconds per tick to use multiplication when returning time

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: semantic change for zero-duration waits

Change the semantics of the simWait API, in the case of zero-length waits, we will
now actually still schedule an event to avoid possible priority inversion with
events resolving at the same time.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: provide API to get the internal discrete 'tick' value

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: add a description of the SI unit for each unit type

Using a static method will allow user-defined unit types to also define an SI description.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: remove the DoubleHashTable class

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: update version to 2013-21

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>