@@ -62,29 +62,40 @@ inline QMap<std::string, QList<std::vector<GUI_FIELD>>> controlMap{
6262
6363inline std::vector<ValveInfo> valves = {{GUI_FIELD ::GSE_VENT ,
6464 {0.234569 , 0.668 },
65- ValveButton::Orientation::Vertical},
65+ ValveButton::Orientation::Vertical,
66+ false },
6667 {GUI_FIELD ::GSE_FILLING_N2O ,
6768 {0.23 , 0.45 },
68- ValveButton::Orientation::Horizontal},
69+ ValveButton::Orientation::Horizontal, false },
6970
7071 {GUI_FIELD ::HOPPER_N2O_VENT ,
7172 {0.50665 , 0.318 },
72- ValveButton::Orientation::Horizontal},
73+ ValveButton::Orientation::Horizontal, false },
7374 {GUI_FIELD ::HOPPER_ETH_VENT ,
7475 {0.785838 , 0.318 },
75- ValveButton::Orientation::Horizontal},
76+ ValveButton::Orientation::Horizontal, false },
7677 {GUI_FIELD ::HOPPER_N2_SOL ,
7778 {0.645736 , 0.124315 },
78- ValveButton::Orientation::Horizontal},
79+ ValveButton::Orientation::Horizontal, false },
80+
7981 {GUI_FIELD ::HOPPER_N2O_SOL ,
8082 {0.585838 , 0.638 },
81- ValveButton::Orientation::Vertical},
83+ ValveButton::Orientation::Vertical, false },
84+ {GUI_FIELD ::HOPPER_N2O_MAIN ,
85+ {0.585838 , 0.57 },
86+ ValveButton::Orientation::Vertical, true },
87+
88+
8289 {GUI_FIELD ::HOPPER_ETH_SOL ,
8390 {0.703604 , 0.638 },
84- ValveButton::Orientation::Vertical},
91+ ValveButton::Orientation::Vertical, false },
92+ {GUI_FIELD ::HOPPER_ETH_MAIN ,
93+ {0.703604 , 0.57 },
94+ ValveButton::Orientation::Vertical, true },
95+
8596 {GUI_FIELD ::HOPPER_IGNITER ,
8697 {0.5 , 0.85 },
87- ValveButton::Orientation::Vertical}};
98+ ValveButton::Orientation::Vertical, false }};
8899
89100inline QList<std::vector<GUI_FIELD >> gseValvesMap{
90101 {GUI_FIELD ::GSE_GQN_NC1 , GUI_FIELD ::GSE_GQN_NC2 , GSE_GQN_NC5 , GSE_GPN_NC ,
@@ -113,28 +124,28 @@ inline std::vector<ValveInfo> gseValves = {
113124 // LOX quadrant
114125 {GUI_FIELD ::GSE_GFO_NCC ,
115126 {0.186 , 0.35 },
116- ValveButton::Orientation::Horizontal},
127+ ValveButton::Orientation::Horizontal, false },
117128 {GUI_FIELD ::GSE_GDO_NCC ,
118129 {0.186 , 0.247 },
119- ValveButton::Orientation::Horizontal},
130+ ValveButton::Orientation::Horizontal, false },
120131
121132 // Ethanol quadrant
122- {GUI_FIELD ::GSE_GFE_NC , {0.7 , 0.382 }, ValveButton::Orientation::Horizontal},
123- {GUI_FIELD ::GSE_PUMP , {0.575 , 0.382 }, ValveButton::Orientation::Horizontal},
133+ {GUI_FIELD ::GSE_GFE_NC , {0.7 , 0.382 }, ValveButton::Orientation::Horizontal, false },
134+ {GUI_FIELD ::GSE_PUMP , {0.575 , 0.382 }, ValveButton::Orientation::Horizontal, false },
124135
125136 // N2 quadrant
126- {GUI_FIELD ::GSE_GPN_NC , {0.15 , 0.58 }, ValveButton::Orientation::Horizontal},
127- {GUI_FIELD ::GSE_GPA_NC , {0.15 , 0.7 }, ValveButton::Orientation::Horizontal},
128- {GUI_FIELD ::GSE_GVN_NC , {0.7 , 0.565 }, ValveButton::Orientation::Horizontal},
137+ {GUI_FIELD ::GSE_GPN_NC , {0.15 , 0.58 }, ValveButton::Orientation::Horizontal, false },
138+ {GUI_FIELD ::GSE_GPA_NC , {0.15 , 0.7 }, ValveButton::Orientation::Horizontal, false },
139+ {GUI_FIELD ::GSE_GVN_NC , {0.7 , 0.565 }, ValveButton::Orientation::Horizontal, false },
129140
130141 // Air valves
131142
132- {GUI_FIELD ::GSE_GQN_NC1 , {0.515 , 0.08 }, ValveButton::Orientation::Vertical},
133- {GUI_FIELD ::GSE_GQN_NC2 , {0.585 , 0.08 }, ValveButton::Orientation::Vertical},
134- {GUI_FIELD ::GSE_GQN_NC3 , {0.655 , 0.08 }, ValveButton::Orientation::Vertical},
135- {GUI_FIELD ::GSE_GQN_NC4 , {0.725 , 0.08 }, ValveButton::Orientation::Vertical},
136- {GUI_FIELD ::GSE_GQN_NC5 , {0.78 , 0.08 }, ValveButton::Orientation::Vertical},
137- {GUI_FIELD ::GSE_GQN_NC5 , {0.78 , 0.08 }, ValveButton::Orientation::Vertical},
143+ {GUI_FIELD ::GSE_GQN_NC1 , {0.515 , 0.08 }, ValveButton::Orientation::Vertical, false },
144+ {GUI_FIELD ::GSE_GQN_NC2 , {0.585 , 0.08 }, ValveButton::Orientation::Vertical, false },
145+ {GUI_FIELD ::GSE_GQN_NC3 , {0.655 , 0.08 }, ValveButton::Orientation::Vertical, false },
146+ {GUI_FIELD ::GSE_GQN_NC4 , {0.725 , 0.08 }, ValveButton::Orientation::Vertical, false },
147+ {GUI_FIELD ::GSE_GQN_NC5 , {0.78 , 0.08 }, ValveButton::Orientation::Vertical, false },
148+ {GUI_FIELD ::GSE_GQN_NC5 , {0.78 , 0.08 }, ValveButton::Orientation::Vertical, false },
138149
139150};
140151
@@ -243,19 +254,19 @@ inline QMap<std::string, QList<std::vector<GUI_FIELD>>> gseControlMap{
243254inline std::vector<ValveInfo> valves = {
244255 /* {GUI_FIELD::GSE_VENT, {0.24, 0.668},
245256 ValveButton::Orientation::Horizontal},*/
246- {GUI_FIELD ::VENT_N2 , {0.55 , -0.005 }, ValveButton::Orientation::Horizontal},
247- {GUI_FIELD ::MAIN_LOX , {0.487 , 0.75 }, ValveButton::Orientation::Vertical},
248- {GUI_FIELD ::MAIN_FUEL , {0.4 , 0.78 }, ValveButton::Orientation::Vertical},
257+ {GUI_FIELD ::VENT_N2 , {0.55 , -0.005 }, ValveButton::Orientation::Horizontal, false },
258+ {GUI_FIELD ::MAIN_LOX , {0.487 , 0.75 }, ValveButton::Orientation::Vertical, false },
259+ {GUI_FIELD ::MAIN_FUEL , {0.4 , 0.78 }, ValveButton::Orientation::Vertical, false },
249260 {GUI_FIELD ::VENT_FUEL ,
250261 {0.386 , 0.249 },
251- ValveButton::Orientation::Horizontal},
252- {GUI_FIELD ::VENT_LOX , {0.625 , 0.498 }, ValveButton::Orientation::Horizontal},
262+ ValveButton::Orientation::Horizontal, false },
263+ {GUI_FIELD ::VENT_LOX , {0.625 , 0.498 }, ValveButton::Orientation::Horizontal, false },
253264 {GUI_FIELD ::PRESSURE_VALVE_FUEL ,
254265 {0.513 , 0.225 },
255- ValveButton::Orientation::Vertical},
266+ ValveButton::Orientation::Vertical, false },
256267 {GUI_FIELD ::PRESSURE_VALVE_LOX ,
257268 {0.572 , 0.33 },
258- ValveButton::Orientation::Vertical},
269+ ValveButton::Orientation::Vertical, false },
259270};
260271
261272inline std::vector<LabelInfo> labels = {
@@ -286,28 +297,28 @@ inline std::vector<ValveInfo> gseValves = {
286297 // LOX quadrant
287298 {GUI_FIELD ::GSE_GFO_NCC ,
288299 {0.186 , 0.35 },
289- ValveButton::Orientation::Horizontal},
300+ ValveButton::Orientation::Horizontal, false },
290301 {GUI_FIELD ::GSE_GDO_NCC ,
291302 {0.186 , 0.247 },
292- ValveButton::Orientation::Horizontal},
303+ ValveButton::Orientation::Horizontal, false },
293304
294305 // Ethanol quadrant
295- {GUI_FIELD ::GSE_GFE_NC , {0.7 , 0.382 }, ValveButton::Orientation::Horizontal},
296- {GUI_FIELD ::GSE_PUMP , {0.575 , 0.382 }, ValveButton::Orientation::Horizontal},
306+ {GUI_FIELD ::GSE_GFE_NC , {0.7 , 0.382 }, ValveButton::Orientation::Horizontal, false },
307+ {GUI_FIELD ::GSE_PUMP , {0.575 , 0.382 }, ValveButton::Orientation::Horizontal, false },
297308
298309 // N2 quadrant
299- {GUI_FIELD ::GSE_GPN_NC , {0.15 , 0.58 }, ValveButton::Orientation::Horizontal},
300- {GUI_FIELD ::GSE_GPA_NC , {0.15 , 0.7 }, ValveButton::Orientation::Horizontal},
301- {GUI_FIELD ::GSE_GVN_NC , {0.7 , 0.565 }, ValveButton::Orientation::Horizontal},
310+ {GUI_FIELD ::GSE_GPN_NC , {0.15 , 0.58 }, ValveButton::Orientation::Horizontal, false },
311+ {GUI_FIELD ::GSE_GPA_NC , {0.15 , 0.7 }, ValveButton::Orientation::Horizontal, false },
312+ {GUI_FIELD ::GSE_GVN_NC , {0.7 , 0.565 }, ValveButton::Orientation::Horizontal, false },
302313
303314 // Air valves
304315
305- {GUI_FIELD ::GSE_GQN_NC1 , {0.515 , 0.08 }, ValveButton::Orientation::Vertical},
306- {GUI_FIELD ::GSE_GQN_NC2 , {0.585 , 0.08 }, ValveButton::Orientation::Vertical},
307- {GUI_FIELD ::GSE_GQN_NC3 , {0.655 , 0.08 }, ValveButton::Orientation::Vertical},
308- {GUI_FIELD ::GSE_GQN_NC4 , {0.725 , 0.08 }, ValveButton::Orientation::Vertical},
309- {GUI_FIELD ::GSE_GQN_NC5 , {0.78 , 0.08 }, ValveButton::Orientation::Vertical},
310- {GUI_FIELD ::GSE_GQN_NC5 , {0.78 , 0.08 }, ValveButton::Orientation::Vertical},
316+ {GUI_FIELD ::GSE_GQN_NC1 , {0.515 , 0.08 }, ValveButton::Orientation::Vertical, false },
317+ {GUI_FIELD ::GSE_GQN_NC2 , {0.585 , 0.08 }, ValveButton::Orientation::Vertical, false },
318+ {GUI_FIELD ::GSE_GQN_NC3 , {0.655 , 0.08 }, ValveButton::Orientation::Vertical, false },
319+ {GUI_FIELD ::GSE_GQN_NC4 , {0.725 , 0.08 }, ValveButton::Orientation::Vertical, false },
320+ {GUI_FIELD ::GSE_GQN_NC5 , {0.78 , 0.08 }, ValveButton::Orientation::Vertical, false },
321+ {GUI_FIELD ::GSE_GQN_NC5 , {0.78 , 0.08 }, ValveButton::Orientation::Vertical, false },
311322
312323};
313324
0 commit comments