@prefix :        <https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/MfdScreen.ttl#> .
@prefix owl:     <http://www.w3.org/2002/07/owl#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema:  <http://schema.org/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix x3d:     <https://www.web3d.org/specifications/x3d-4.0.xsd#> .
@prefix x3do:    <https://www.web3d.org/specifications/X3dOntology4.0#> .

:X3D a owl:NamedIndividual, x3do:X3D ;
  x3do:hasHead :head ;
  x3do:hasScene :Scene ;
  x3do:profile 'Immersive' ;
  x3do:version '3.0' ;
  x3do:noNamespaceSchemaLocation 'https://www.web3d.org/specifications/x3d-3.0.xsd' .
:head a owl:NamedIndividual, x3do:head ;
  x3do:hasParent :X3D ;
  x3do:hasMeta :meta_1_1, :meta_1_2, :meta_1_3, :meta_1_4, :meta_1_5, :meta_1_6, :meta_1_7, :meta_1_8, :meta_1_9, :meta_1_10, :meta_1_11, :meta_1_12, :meta_1_13 .
:meta_1_1 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'MfdScreen.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'MultiFunctionDisplay (MFD) screen that is inlined to create the cockpit console of a helicopter' ;
  x3do:name 'description' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Doug Miller (original creator), Jane Wu (adapted from the original mfd.wrl created for vrtp demo helicopter)' ;
  x3do:name 'creator' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '19 February 1999' ;
  x3do:name 'created' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '20 October 2019' ;
  x3do:name 'modified' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Del Beilstein' ;
  x3do:name 'contributor' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/MfdScreen.x3d' ;
  x3do:name 'identifier' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'T62.jpg' ;
  x3do:name 'reference' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'M1Abrams.jpg' ;
  x3do:name 'reference' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'MfdScreen.jpg' ;
  x3do:name 'reference' .
:meta_1_11 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '50cal.wav' ;
  x3do:name 'reference' .
:meta_1_12 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit' ;
  x3do:name 'generator' .
:meta_1_13 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "MfdScreen.x3d" .
:meta dcterms:description "MultiFunctionDisplay (MFD) screen that is inlined to create the cockpit console of a helicopter" .
:meta dcterms:creator "Doug Miller (original creator), Jane Wu (adapted from the original mfd.wrl created for vrtp demo helicopter)" .
:meta dcterms:created "19 February 1999" .
:meta dcterms:modified "20 October 2019" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/MfdScreen.x3d" .
:meta dcterms:reference "T62.jpg" .
:meta dcterms:reference "M1Abrams.jpg" .
:meta dcterms:reference "MfdScreen.jpg" .
:meta dcterms:reference "50cal.wav" .
:meta dcterms:generator "X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit" .
:meta dcterms:license "../../license.html" .
:Scene a owl:NamedIndividual, x3do:Scene ;
  x3do:hasParent :X3D ;
  x3do:hasChildren :WorldInfo_2_1, :Viewpoint_2_2, :Group_2_3, :CycleSelector, :FiftyCalOnOffToggle ;
  x3do:hasROUTE :ROUTE_2_6, :ROUTE_2_7, :ROUTE_2_8, :ROUTE_2_9 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'MfdScreen.x3d' .
:Viewpoint_2_2 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Scene ;
  x3do:description 'Close-up view of Multi-FunctionDisplay' ;
  x3do:position ( 0 0 0.3 ) .
:Group_2_3 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Shape_2_3_1, :Transform_2_3_2, :FIFTY_CAL_SOUND, :Transform_2_3_4, :Transform_2_3_5, :Transform_2_3_6, :Transform_2_3_7, :Transform_2_3_8, :Transform_2_3_9, :Transform_2_3_10, :Transform_2_3_11, :Transform_2_3_12, :Transform_2_3_13, :Transform_2_3_14, :Transform_2_3_15, :Transform_2_3_16, :Transform_2_3_17 .
:Shape_2_3_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Group_2_3 ;
  x3do:hasAppearance :GRAY ;
  x3do:hasGeometry :Box_2_3_1_2 .
:GRAY a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_3_1 ;
  x3do:hasMaterial :Material_2_3_1_1_1 ;
  x3do:DEF 'GRAY' .
:Material_2_3_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :GRAY ;
  x3do:diffuseColor ( 0.2 0.2 0.2 ) .
:Box_2_3_1_2 a owl:NamedIndividual, x3do:Box ;
  x3do:hasParent :Shape_2_3_1 ;
  x3do:size ( 0.26 0.21 0.05 ) .
:Transform_2_3_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_3 ;
  x3do:hasChildren :MFD_SCREEN ;
  x3do:translation ( 0.00 0.00 0.03 ) .
:MFD_SCREEN a owl:NamedIndividual, x3do:Switch ;
  x3do:hasParent :Transform_2_3_2 ;
  x3do:hasChildren :Shape_2_3_2_1_1, :Shape_2_3_2_1_2, :Shape_2_3_2_1_3, :Shape_2_3_2_1_4 ;
  x3do:DEF 'MFD_SCREEN' ;
  x3do:whichChoice 3 .
:Shape_2_3_2_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :MFD_SCREEN ;
  x3do:hasAppearance :Appearance_2_3_2_1_1_1 ;
  x3do:hasGeometry :MFD_GEOMETRY .
:Appearance_2_3_2_1_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_3_2_1_1 ;
  x3do:hasMaterial :GREEN_COLOR .
:GREEN_COLOR a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_3_2_1_1_1 ;
  x3do:DEF 'GREEN_COLOR' ;
  x3do:diffuseColor ( 0.0 1.0 0.0 ) .
:MFD_GEOMETRY a owl:NamedIndividual, x3do:IndexedFaceSet ;
  x3do:hasParent :Shape_2_3_2_1_1 ;
  x3do:hasCoord :Coordinate_2_3_2_1_1_2_1 ;
  x3do:DEF 'MFD_GEOMETRY' ;
  x3do:coordIndex ( 0 1 2 3 -1 ) .
:Coordinate_2_3_2_1_1_2_1 a owl:NamedIndividual, x3do:Coordinate ;
  x3do:hasParent :MFD_GEOMETRY ;
  x3do:point ( -0.09 -0.07 0.01 0.09 -0.07 0.01 0.09 0.07 0.01 -0.09 0.07 0.01 ) .
:Shape_2_3_2_1_2 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :MFD_SCREEN ;
  x3do:hasAppearance :Appearance_2_3_2_1_2_1 ;
  x3do:hasGeometry :MFD_GEOMETRY-USE-1 .
:Appearance_2_3_2_1_2_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_3_2_1_2 ;
  x3do:hasMaterial :GREEN_COLOR-USE-1 ;
  x3do:hasTexture :ImageTexture_2_3_2_1_2_1_2 .
:GREEN_COLOR-USE-1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_3_2_1_2_1 ;
  owl:sameAs :GREEN_COLOR . # DEF matching this USE
:ImageTexture_2_3_2_1_2_1_2 a owl:NamedIndividual, x3do:ImageTexture ;
  x3do:hasParent :Appearance_2_3_2_1_2_1 ;
  x3do:url '"T62.jpg" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/T62.jpg"' .
:MFD_GEOMETRY-USE-1 a owl:NamedIndividual, x3do:IndexedFaceSet ;
  x3do:hasParent :Shape_2_3_2_1_2 ;
  owl:sameAs :MFD_GEOMETRY . # DEF matching this USE
:Shape_2_3_2_1_3 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :MFD_SCREEN ;
  x3do:hasAppearance :Appearance_2_3_2_1_3_1 ;
  x3do:hasGeometry :MFD_GEOMETRY-USE-2 .
:Appearance_2_3_2_1_3_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_3_2_1_3 ;
  x3do:hasMaterial :GREEN_COLOR-USE-2 ;
  x3do:hasTexture :ImageTexture_2_3_2_1_3_1_2 .
:GREEN_COLOR-USE-2 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_3_2_1_3_1 ;
  owl:sameAs :GREEN_COLOR . # DEF matching this USE
:ImageTexture_2_3_2_1_3_1_2 a owl:NamedIndividual, x3do:ImageTexture ;
  x3do:hasParent :Appearance_2_3_2_1_3_1 ;
  x3do:url '"M1Abrams.jpg" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/M1Abrams.jpg"' .
:MFD_GEOMETRY-USE-2 a owl:NamedIndividual, x3do:IndexedFaceSet ;
  x3do:hasParent :Shape_2_3_2_1_3 ;
  owl:sameAs :MFD_GEOMETRY . # DEF matching this USE
:Shape_2_3_2_1_4 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :MFD_SCREEN ;
  x3do:hasAppearance :Appearance_2_3_2_1_4_1 ;
  x3do:hasGeometry :MFD_GEOMETRY-USE-3 .
:Appearance_2_3_2_1_4_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_3_2_1_4 ;
  x3do:hasMaterial :GREEN_COLOR-USE-3 ;
  x3do:hasTexture :ImageTexture_2_3_2_1_4_1_2 .
:GREEN_COLOR-USE-3 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_3_2_1_4_1 ;
  owl:sameAs :GREEN_COLOR . # DEF matching this USE
:ImageTexture_2_3_2_1_4_1_2 a owl:NamedIndividual, x3do:ImageTexture ;
  x3do:hasParent :Appearance_2_3_2_1_4_1 ;
  x3do:url '"MfdScreen.jpg" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/MfdScreen.jpg"' .
:MFD_GEOMETRY-USE-3 a owl:NamedIndividual, x3do:IndexedFaceSet ;
  x3do:hasParent :Shape_2_3_2_1_4 ;
  owl:sameAs :MFD_GEOMETRY . # DEF matching this USE
:FIFTY_CAL_SOUND a owl:NamedIndividual, x3do:Switch ;
  x3do:hasParent :Group_2_3 ;
  x3do:hasChildren :Sound_2_3_3_1 ;
  x3do:DEF 'FIFTY_CAL_SOUND' ;
  x3do:whichChoice 0 .
:Sound_2_3_3_1 a owl:NamedIndividual, x3do:Sound ;
  x3do:hasParent :FIFTY_CAL_SOUND ;
  x3do:hasSource :AudioClip_2_3_3_1_1 .
:AudioClip_2_3_3_1_1 a owl:NamedIndividual, x3do:AudioClip ;
  x3do:hasParent :Sound_2_3_3_1 ;
  x3do:description '50 caliber gun' ;
  x3do:loop true ;
  x3do:url '"50cal.wav" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/50cal.wav"' .
:Transform_2_3_4 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_3 ;
  x3do:hasChildren :BUTTON ;
  x3do:translation ( -0.11 -0.05 0.025 ) .
:BUTTON a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_3_4 ;
  x3do:hasAppearance :OFF_WHITE ;
  x3do:hasGeometry :Box_2_3_4_1_2 ;
  x3do:DEF 'BUTTON' .
:OFF_WHITE a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :BUTTON ;
  x3do:hasMaterial :Material_2_3_4_1_1_1 ;
  x3do:DEF 'OFF_WHITE' .
:Material_2_3_4_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :OFF_WHITE ;
  x3do:diffuseColor ( 0.75 0.75 0.75 ) .
:Box_2_3_4_1_2 a owl:NamedIndividual, x3do:Box ;
  x3do:hasParent :BUTTON ;
  x3do:size ( 0.02 0.02 0.01 ) .
:Transform_2_3_5 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_3 ;
  x3do:hasChildren :BUTTON-USE-1 ;
  x3do:translation ( -0.11 -0.015 0.025 ) .
:BUTTON-USE-1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_3_5 ;
  owl:sameAs :BUTTON . # DEF matching this USE
:Transform_2_3_6 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_3 ;
  x3do:hasChildren :BUTTON-USE-2 ;
  x3do:translation ( -0.11 0.02 0.025 ) .
:BUTTON-USE-2 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_3_6 ;
  owl:sameAs :BUTTON . # DEF matching this USE
:Transform_2_3_7 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_3 ;
  x3do:hasChildren :BUTTON-USE-3 ;
  x3do:translation ( -0.11 0.055 0.025 ) .
:BUTTON-USE-3 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_3_7 ;
  owl:sameAs :BUTTON . # DEF matching this USE
:Transform_2_3_8 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_3 ;
  x3do:hasChildren :BUTTON-USE-4 ;
  x3do:translation ( 0.11 -0.05 0.025 ) .
:BUTTON-USE-4 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_3_8 ;
  owl:sameAs :BUTTON . # DEF matching this USE
:Transform_2_3_9 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_3 ;
  x3do:hasChildren :BUTTON-USE-5 ;
  x3do:translation ( 0.11 -0.015 0.025 ) .
:BUTTON-USE-5 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_3_9 ;
  owl:sameAs :BUTTON . # DEF matching this USE
:Transform_2_3_10 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_3 ;
  x3do:hasChildren :BUTTON-USE-6, :RIGHT_BUTTON2 ;
  x3do:translation ( 0.11 0.02 0.025 ) .
:BUTTON-USE-6 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_3_10 ;
  owl:sameAs :BUTTON . # DEF matching this USE
:RIGHT_BUTTON2 a owl:NamedIndividual, x3do:TouchSensor ;
  x3do:hasParent :Transform_2_3_10 ;
  x3do:DEF 'RIGHT_BUTTON2' ;
  x3do:description 'touch to activate' .
:Transform_2_3_11 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_3 ;
  x3do:hasChildren :BUTTON-USE-7, :RIGHT_BUTTON1 ;
  x3do:translation ( 0.11 0.055 0.025 ) .
:BUTTON-USE-7 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_3_11 ;
  owl:sameAs :BUTTON . # DEF matching this USE
:RIGHT_BUTTON1 a owl:NamedIndividual, x3do:TouchSensor ;
  x3do:hasParent :Transform_2_3_11 ;
  x3do:DEF 'RIGHT_BUTTON1' ;
  x3do:description 'touch to activate' .
:Transform_2_3_12 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_3 ;
  x3do:hasChildren :BUTTON-USE-8 ;
  x3do:translation ( -0.065 -0.09 0.025 ) .
:BUTTON-USE-8 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_3_12 ;
  owl:sameAs :BUTTON . # DEF matching this USE
:Transform_2_3_13 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_3 ;
  x3do:hasChildren :BUTTON-USE-9 ;
  x3do:translation ( -0.035 -0.09 0.025 ) .
:BUTTON-USE-9 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_3_13 ;
  owl:sameAs :BUTTON . # DEF matching this USE
:Transform_2_3_14 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_3 ;
  x3do:hasChildren :BUTTON-USE-10 ;
  x3do:translation ( 0.035 -0.09 0.025 ) .
:BUTTON-USE-10 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_3_14 ;
  owl:sameAs :BUTTON . # DEF matching this USE
:Transform_2_3_15 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_3 ;
  x3do:hasChildren :BUTTON-USE-11 ;
  x3do:translation ( 0.065 -0.09 0.025 ) .
:BUTTON-USE-11 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_3_15 ;
  owl:sameAs :BUTTON . # DEF matching this USE
:Transform_2_3_16 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_3 ;
  x3do:hasChildren :KNOB ;
  x3do:rotation ( 1.0 0.0 0.0 1.57 ) ;
  x3do:translation ( -0.11 -0.085 0.025 ) .
:KNOB a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_3_16 ;
  x3do:hasAppearance :Appearance_2_3_16_1_1 ;
  x3do:hasGeometry :Cylinder_2_3_16_1_2 ;
  x3do:DEF 'KNOB' .
:Appearance_2_3_16_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :KNOB ;
  x3do:hasMaterial :GREEN_COLOR-USE-4 .
:GREEN_COLOR-USE-4 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_3_16_1_1 ;
  owl:sameAs :GREEN_COLOR . # DEF matching this USE
:Cylinder_2_3_16_1_2 a owl:NamedIndividual, x3do:Cylinder ;
  x3do:hasParent :KNOB ;
  x3do:height 0.02 ;
  x3do:radius 0.0125 .
:Transform_2_3_17 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_3 ;
  x3do:hasChildren :KNOB-USE-1 ;
  x3do:rotation ( 1.0 0.0 0.0 1.57 ) ;
  x3do:translation ( 0.11 -0.085 0.025 ) .
:KNOB-USE-1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_3_17 ;
  owl:sameAs :KNOB . # DEF matching this USE
:CycleSelector a owl:NamedIndividual, x3do:Script ;
  x3do:hasParent :Scene ;
  x3do:hasField :field_2_4_1, :field_2_4_2, :field_2_4_3 ;
  x3do:DEF 'CycleSelector' ;
  x3do:sourceCode """
ecmascript:
function set_boolean(bool, eventTime) {
 if (bool == false)
  return;
 if (value == 3)
  value = -1;
 value++;
 value_changed = value;
}
""" .
:field_2_4_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :CycleSelector ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'value' ;
  x3do:type 'SFInt32' ;
  x3do:value 0 .
:field_2_4_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :CycleSelector ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'set_boolean' ;
  x3do:type 'SFBool' .
:field_2_4_3 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :CycleSelector ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'value_changed' ;
  x3do:type 'SFInt32' .
:FiftyCalOnOffToggle a owl:NamedIndividual, x3do:Script ;
  x3do:hasParent :Scene ;
  x3do:hasField :field_2_5_1, :field_2_5_2, :field_2_5_3 ;
  x3do:DEF 'FiftyCalOnOffToggle' ;
  x3do:sourceCode """
ecmascript:
function set_boolean(bool, eventTime) {
   if (bool == false)
      return;

   value_changed = value;

   if (value == true)
      value = false;
   else
      value = true;
}
""" .
:field_2_5_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :FiftyCalOnOffToggle ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'value' ;
  x3do:type 'SFBool' ;
  x3do:value false .
:field_2_5_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :FiftyCalOnOffToggle ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'set_boolean' ;
  x3do:type 'SFBool' .
:field_2_5_3 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :FiftyCalOnOffToggle ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'value_changed' ;
  x3do:type 'SFInt32' .
:ROUTE_2_6 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'isActive' ;
  x3do:fromNode 'RIGHT_BUTTON1' ;
  x3do:toField 'set_boolean' ;
  x3do:toNode 'CycleSelector' .
:ROUTE_2_7 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'CycleSelector' ;
  x3do:toField 'set_whichChoice' ;
  x3do:toNode 'MFD_SCREEN' .
:ROUTE_2_8 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'isActive' ;
  x3do:fromNode 'RIGHT_BUTTON2' ;
  x3do:toField 'set_boolean' ;
  x3do:toNode 'FiftyCalOnOffToggle' .
:ROUTE_2_9 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'FiftyCalOnOffToggle' ;
  x3do:toField 'set_whichChoice' ;
  x3do:toNode 'FIFTY_CAL_SOUND' .
