Showing 1 changed files with 22 additions and 0 deletions
+22
mfd.xml
... ...
@@ -323,6 +323,17 @@
323 323
        <max>359</max>
324 324
        <wrap>true</wrap>
325 325
       </binding>
326
+      <binding>
327
+        <condition>
328
+          <property>/instrumentation/zkv1000/MFD/status</property>
329
+        </condition>
330
+        <command>nasal</command>
331
+        <script>
332
+          foreach (var c; keys(zkv1000.flightdeck))
333
+            if (zkv1000.flightdeck[c].role == 'PFD')
334
+              zkv1000.flightdeck[c].display.updateHDG();
335
+        </script>
336
+      </binding>
326 337
     </action>
327 338
   </animation>
328 339
 
... ...
@@ -355,6 +366,17 @@
355 366
        <max>16000</max>
356 367
        <wrap>false</wrap>
357 368
       </binding>
369
+      <binding>
370
+        <condition>
371
+          <property>/instrumentation/zkv1000/MFD/status</property>
372
+        </condition>
373
+        <command>nasal</command>
374
+        <script>
375
+          foreach (var c; keys(zkv1000.flightdeck))
376
+            if (zkv1000.flightdeck[c].role == 'PFD')
377
+              zkv1000.flightdeck[c].display.updateALT();
378
+        </script>
379
+      </binding>
358 380
     </action>
359 381
     <shift-action>
360 382
       <binding>