diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-05-23 16:49:49 +0300 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-05-23 16:49:49 +0300 |
| commit | bc94c84ee20ea01618241e8a4d32c2a77b4084cc (patch) | |
| tree | 10761eb1d3474c45af6894bdc535b09f6f8e4197 /Software/Visual_Studio/Tango.Emulations | |
| parent | 304735006580cb2f6728bedeb3393dbefc2e14f5 (diff) | |
| download | Tango-bc94c84ee20ea01618241e8a4d32c2a77b4084cc.tar.gz Tango-bc94c84ee20ea01618241e8a4d32c2a77b4084cc.zip | |
Added data processing of BtsrsInError, DancersInError, WindersInError in GUI.
Diffstat (limited to 'Software/Visual_Studio/Tango.Emulations')
| -rw-r--r-- | Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs b/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs index 3543b8b3a..0e00bee3e 100644 --- a/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs +++ b/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs @@ -170,8 +170,22 @@ namespace Tango.Emulations.Emulators MidTankLevel = 2.5, }); } + for (int i = 0; i < 4; i++) + { + if( i == 2) + { + MachineStatus.WindersInError.Add(false); + MachineStatus.DancersInError.Add(true); + MachineStatus.BtsrsInError.Add(true); + } + else { + MachineStatus.WindersInError.Add(false); + MachineStatus.DancersInError.Add(false); + MachineStatus.BtsrsInError.Add(false); + } + } - EventsStates = MachineEventState.GetAllEventsStates(); + EventsStates = MachineEventState.GetAllEventsStates(); _valveStates = new List<ValveState>(); _blower_states = new List<SetBlowerStateRequest>(); |
