diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2024-06-20 11:46:02 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2024-06-20 11:46:02 +0300 |
| commit | 0460a54eb73a3943a9d363e7cce38b8d9009bc4b (patch) | |
| tree | 6e0423ffa358d6a562764f99d110df1623f47a1a /Software/Visual_Studio/Tango.Emulations/Emulators | |
| parent | 7b0ed51c91baf1257fce45699221a0f1a096ce72 (diff) | |
| download | Tango-0460a54eb73a3943a9d363e7cce38b8d9009bc4b.tar.gz Tango-0460a54eb73a3943a9d363e7cce38b8d9009bc4b.zip | |
Jerrycan change impl.
Diffstat (limited to 'Software/Visual_Studio/Tango.Emulations/Emulators')
| -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 |
