diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.Emulations')
| -rw-r--r-- | Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs b/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs index 7562668d5..cf3f9224c 100644 --- a/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs +++ b/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs @@ -236,12 +236,29 @@ namespace Tango.Emulations.Emulators tunnel.CurrentValue = 108.5; tunnel.SetPoint = 170; } + + var dryerZone1 = _heater_states.FirstOrDefault(x => x.HeaterType == HeaterType.EDryerHeater1); + if (dryerZone1 != null) + { + dryerZone1.IsRampingUp = false; + dryerZone1.CurrentValue = 0; + dryerZone1.SetPoint = 200; + } + + var dryerZone2 = _heater_states.FirstOrDefault(x => x.HeaterType == HeaterType.EDryerHeater2); + if (dryerZone2 != null) + { + dryerZone2.IsRampingUp = false; + dryerZone2.CurrentValue = 0; + dryerZone2.SetPoint = 200; + } + var dryerZone3 = _heater_states.FirstOrDefault(x => x.HeaterType == HeaterType.EDryerHeater3); if (dryerZone3 != null) { dryerZone3.IsRampingUp = false; - dryerZone3.CurrentValue = 200.8; - dryerZone3.SetPoint = 170; + dryerZone3.CurrentValue = 0; + dryerZone3.SetPoint = 200; } //DryerZone3 |
