private void ObserveOverallState(int timeMs) { EmitterCart.Observe(_master); FocusCart.Observe(_master); TestEmitter.Observe(_master); TestFocus.Observe(_master, timeMs); TestLaser.Observe(_master, timeMs); TestFieldGenerator.Observe(_master, timeMs); TestTemperature.ObserveUpperBound(_master, timeMs); }
/// <summary> /// Creates the test scenario /// </summary> public void Setup() { _master.Simulation.Chamber.EmitterCart.WarpToPosition(1f); EmitterCart = new TestCart(_master.Simulation.Chamber.EmitterCart, "Emitter"); FocusCart = new TestCart(_master.Simulation.Chamber.FocusCart, "Focus"); TestEmitter = new TestEmitter(); TestFocus = new TestFocus(); TestLaser = new TestLaser(); TestFieldGenerator = new TestFieldGenerator(); TestTemperature = new TestTemperature(); }