[Go back to index]

Asobo\NAVCOM\ADF.xml

Source XML
<ModelBehaviors> <Include RelativeFile="Navcomsystem.xml"/> <!-- ####### --> <!-- Presets --> <!-- ADF AS87 --> <Template Name="ASOBO_INSTRUMENT_ADF_Template"> <UseTemplate Name="ASOBO_ADF_AS87_Template"/> </Template> <Template Name="ASOBO_ADF_AS87_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_GT_Helper_Suffix_ID_Appender"> <TEMPLATE_TO_CALL>ASOBO_ADF_AS87_SubTemplate</TEMPLATE_TO_CALL> </UseTemplate> </Template> <Template Name="ASOBO_ADF_AS87_SubTemplate"> <Parameters Type="Default"> <ANIM_LAG>400</ANIM_LAG> <EMISSIVE_POTENTIOMETER>1</EMISSIVE_POTENTIOMETER> <BUTTON_EMISSIVE_FACTOR>1</BUTTON_EMISSIVE_FACTOR> <ANIM_NEVER_FAILS>True</ANIM_NEVER_FAILS> <Condition Check="CIRCUIT_ADF"> <FAILURE>(A:CIRCUIT ON:#CIRCUIT_ADF#, Bool)</FAILURE> </Condition> <NODE_ID_ADF_VOLUME>ADF_Knob_Volume#SUFFIX_ID#</NODE_ID_ADF_VOLUME> <ANIM_NAME_ADF_VOLUME>ADF_Knob_Volume#SUFFIX_ID#</ANIM_NAME_ADF_VOLUME> <NODE_ID_PUSH_ADF>ADF_Push_ADF#SUFFIX_ID#</NODE_ID_PUSH_ADF> <ANIM_NAME_PUSH_ADF>ADF_Push_ADF#SUFFIX_ID#</ANIM_NAME_PUSH_ADF> <NODE_ID_PUSH_BFO>ADF_Push_BFO#SUFFIX_ID#</NODE_ID_PUSH_BFO> <ANIM_NAME_PUSH_BFO>ADF_Push_BFO#SUFFIX_ID#</ANIM_NAME_PUSH_BFO> <NODE_ID_PUSH_FRQ>ADF_Push_FRQ#SUFFIX_ID#</NODE_ID_PUSH_FRQ> <ANIM_NAME_PUSH_FRQ>ADF_Push_FRQ#SUFFIX_ID#</ANIM_NAME_PUSH_FRQ> <NODE_ID_PUSH_FLT>ADF_Push_FLT#SUFFIX_ID#</NODE_ID_PUSH_FLT> <ANIM_NAME_PUSH_FLT>ADF_Push_FLT#SUFFIX_ID#</ANIM_NAME_PUSH_FLT> <NODE_ID_PUSH_SET_RESET>ADF_Push_SetReset#SUFFIX_ID#</NODE_ID_PUSH_SET_RESET> <ANIM_NAME_PUSH_SET_RESET>ADF_Push_SetReset#SUFFIX_ID#</ANIM_NAME_PUSH_SET_RESET> <NODE_ID_FRAME>ADF_Frame#SUFFIX_ID#</NODE_ID_FRAME> <NODE_ID_SCREEN>ADF_Screen#SUFFIX_ID#</NODE_ID_SCREEN> <NODE_ID_100_KHZ>ADF_Knob_Frequency_MHz#SUFFIX_ID#</NODE_ID_100_KHZ> <ANIM_NAME_100_KHZ>ADF_Knob_Frequency_MHz#SUFFIX_ID#</ANIM_NAME_100_KHZ> <NODE_ID_1_10_KHZ>ADF_Knob_Frequency_KHz#SUFFIX_ID#</NODE_ID_1_10_KHZ> <ANIM_NAME_1_10_KHZ>ADF_Knob_Frequency_KHz#SUFFIX_ID#</ANIM_NAME_1_10_KHZ> <ANIM_NAME_1_10_KHZ_PUSH>ADF_Knob_Frequency_KHz_Push#SUFFIX_ID#</ANIM_NAME_1_10_KHZ_PUSH> </Parameters> <UseTemplate Name="ASOBO_Button_ADF_ID_Template"> <BUTTON_ID>ADF_ANT_MODE_TOGGLE</BUTTON_ID> <HTML_EVENT>adf_AntAdf</HTML_EVENT> <NODE_ID>#NODE_ID_PUSH_ADF#</NODE_ID> <ANIM_NAME>#ANIM_NAME_PUSH_ADF#</ANIM_NAME> </UseTemplate> <UseTemplate Name="ASOBO_Button_ADF_ID_Template"> <BUTTON_ID>BFO</BUTTON_ID> <HTML_EVENT>adf_bfo</HTML_EVENT> <NODE_ID>#NODE_ID_PUSH_BFO#</NODE_ID> <ANIM_NAME>#ANIM_NAME_PUSH_BFO#</ANIM_NAME> </UseTemplate> <UseTemplate Name="ASOBO_Button_ADF_ID_Template"> <BUTTON_ID>FRQ</BUTTON_ID> <HTML_EVENT>adf_frqTransfert</HTML_EVENT> <NODE_ID>#NODE_ID_PUSH_FRQ#</NODE_ID> <ANIM_NAME>#ANIM_NAME_PUSH_FRQ#</ANIM_NAME> </UseTemplate> <UseTemplate Name="ASOBO_Button_ADF_ID_Template"> <BUTTON_ID>FLTET</BUTTON_ID> <HTML_EVENT>adf_FltEt</HTML_EVENT> <NODE_ID>#NODE_ID_PUSH_FLT#</NODE_ID> <ANIM_NAME>#ANIM_NAME_PUSH_FLT#</ANIM_NAME> </UseTemplate> <UseTemplate Name="ASOBO_Button_ADF_ID_Template"> <BUTTON_ID>SETRESET</BUTTON_ID> <HTML_EVENT>adf_SetRst</HTML_EVENT> <NODE_ID>#NODE_ID_PUSH_SET_RESET#</NODE_ID> <ANIM_NAME>#ANIM_NAME_PUSH_SET_RESET#</ANIM_NAME> </UseTemplate> <UseTemplate Name="ASOBO_ADF_Knob_Volume_Template"> <NODE_ID>#NODE_ID_ADF_VOLUME#</NODE_ID> <ANIM_NAME>#ANIM_NAME_ADF_VOLUME#</ANIM_NAME> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#NODE_ID_FRAME#</NODE_ID> <EMISSIVE_CODE>(A:LIGHT POTENTIOMETER:#EMISSIVE_POTENTIOMETER#, percent over 100)</EMISSIVE_CODE> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#NODE_ID_SCREEN#</NODE_ID> <EMISSIVE_CODE>0.5</EMISSIVE_CODE> </UseTemplate> <Component ID="ADF_Frequency_Knobs#SUFFIX_ID#"> <UseTemplate Name="ASOBO_NAVCOM_Alternative_Base_Template"> <WWISE_EVENT>adf_frequency_outer_knob</WWISE_EVENT> <COUNT>36</COUNT> <THRESHOLD_INPUT>0.0005</THRESHOLD_INPUT> <THRESHOLD_MOUSE>0.01</THRESHOLD_MOUSE> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <TT_DESCRIPTION_ID>@TT_Package.ADF_KNOB_FREQUENCY_PARAM_KHZ_ACTION</TT_DESCRIPTION_ID> <TT_DESCRIPTION_INDEX>100</TT_DESCRIPTION_INDEX> <TOOLTIP_TITLE>@TT_Package.ADF_KNOB_FREQUENCY_KHZ_TITLE</TOOLTIP_TITLE> <KNOB_ID>ADF_Freq_100_Khz</KNOB_ID> <ANIM_NAME>#ANIM_NAME_100_KHZ#</ANIM_NAME> <NODE_ID>#NODE_ID_100_KHZ#</NODE_ID> <FORMAT_VALUE>'%d' @sprintf</FORMAT_VALUE> <GET_TT_VALUE_STATE>(A:ADF STANDBY FREQUENCY:#ID#, Khz) s0 100 / int 10 % l0 1000 / int 10 % 10 * +</GET_TT_VALUE_STATE> <EVENT_CW>(&gt;K:ADF_100_INC)</EVENT_CW> <EVENT_CCW>(&gt;K:ADF_100_DEC)</EVENT_CCW> <IS_INFINITE>True</IS_INFINITE> </UseTemplate> <Component ID="#NODE_ID_1_10_KHZ#" Node="#NODE_ID_1_10_KHZ#"> <Parameters Type="Override"> <BTN_ID_EXTERNAL>ADF_Freq_Increment</BTN_ID_EXTERNAL> <VAR_NAME>XMLVAR_ADF_Frequency_10_Khz</VAR_NAME> <VAR_TYPE>L</VAR_TYPE> <FORMAT_VALUE>'%d' @sprintf</FORMAT_VALUE> </Parameters> <UseTemplate Name="ASOBO_NAVCOM_Alternative_Base_Push_Event_Only_Template"> <BTN_ID>#BTN_ID_EXTERNAL#</BTN_ID> <GET_STATE_EXTERNAL>(#VAR_TYPE#:#VAR_NAME#) sp0</GET_STATE_EXTERNAL> <SIM_STATE_IS_ON_EXTERNAL>l0</SIM_STATE_IS_ON_EXTERNAL> <SET_STATE_ON>1 (&gt;#VAR_TYPE#:#VAR_NAME#)</SET_STATE_ON> <TT_VALUE_ON>'10 Khz'</TT_VALUE_ON> <SET_STATE_OFF>0 (&gt;#VAR_TYPE#:#VAR_NAME#)</SET_STATE_OFF> <TT_VALUE_OFF>'1 Khz'</TT_VALUE_OFF> <TT_DESCRIPTION_ID>@TT_Package.ADF_KNOB_FREQUENCY_INCREMENT_ACTION</TT_DESCRIPTION_ID> <TT_DESCRIPTION_INDEX>100</TT_DESCRIPTION_INDEX> </UseTemplate> <UseTemplate Name="ASOBO_NAVCOM_Alternative_Base_Template"> <KNOB_ID>ADF_Freq_1_10_Khz</KNOB_ID> <BTN_EXTERNAL_BINDING_TO_CALL>_Toggle</BTN_EXTERNAL_BINDING_TO_CALL> <CREATE_COMPONENT>False</CREATE_COMPONENT> <WWISE_EVENT>adf_frequency_inner_knob</WWISE_EVENT> <WWISE_EVENT_1>ADF_knob_push_button_on</WWISE_EVENT_1> <WWISE_EVENT_2>ADF_knob_push_button_off</WWISE_EVENT_2> <NORMALIZED_TIME_1>0.1</NORMALIZED_TIME_1> <NORMALIZED_TIME_2>0.1</NORMALIZED_TIME_2> <COUNT>36</COUNT> <THRESHOLD_X_INPUT>0.1</THRESHOLD_X_INPUT> <THRESHOLD_X_MOUSE>0.005</THRESHOLD_X_MOUSE> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <NODE_ID>#NODE_ID_1_10_KHZ#</NODE_ID> <KNOB_TYPE>Infinite_Pull</KNOB_TYPE> <TEMPLATE_VARIANT/> <ANIM_CODE>(#VAR_TYPE#:#VAR_NAME#) 100 *</ANIM_CODE> <ANIM_NAME_KNOB>#ANIM_NAME_1_10_KHZ#</ANIM_NAME_KNOB> <ANIM_NAME_PULL>#ANIM_NAME_1_10_KHZ_PUSH#</ANIM_NAME_PULL> <TT_DESCRIPTION_ID>@TT_Package.ADF_KNOB_FREQUENCY_1_10_KHZ_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.ADF_KNOB_FREQUENCY_KHZ_TITLE</TOOLTIP_TITLE> <EVENT_CW>(#VAR_TYPE#:#VAR_NAME#) if{ (&gt;K:ADF_10_INC) } els{ (&gt;K:ADF_1_INC) }</EVENT_CW> <EVENT_CCW>(#VAR_TYPE#:#VAR_NAME#) if{ (&gt;K:ADF_10_DEC) } els{ (&gt;K:ADF_1_DEC) }</EVENT_CCW> <GET_TT_VALUE_STATE>(A:ADF STANDBY FREQUENCY:#ID#, Khz) sp0 (#VAR_TYPE#:#VAR_NAME#) if{ l0 10 / int 10 % } els{ l0 int 10 % }</GET_TT_VALUE_STATE> <EXTRA_INTERACTION>_LeftSingle</EXTRA_INTERACTION> <IS_INFINITE>True</IS_INFINITE> <COUNT>36</COUNT> </UseTemplate> </Component> </Component> </Template> <!-- ADF AS300 --> <Template Name="ASOBO_ADF_AS300_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_GT_Helper_Suffix_ID_Appender"> <TEMPLATE_TO_CALL>ASOBO_ADF_AS300_SubTemplate</TEMPLATE_TO_CALL> </UseTemplate> </Template> <Template Name="ASOBO_ADF_AS300_SubTemplate"> <Parameters Type="Default"> <NODE_ID_SCREEN>ADF_Screen</NODE_ID_SCREEN> <NODE_ID_100_KHZ>ADF_Knob_Frequency_MHz#SUFFIX_ID#</NODE_ID_100_KHZ> <ANIM_NAME_100_KHZ>ADF_Knob_Frequency_MHz#SUFFIX_ID#</ANIM_NAME_100_KHZ> <NODE_ID_10_KHZ>ADF_Knob_Frequency_KHz#SUFFIX_ID#</NODE_ID_10_KHZ> <ANIM_NAME_10_KHZ>ADF_Knob_Frequency_KHz#SUFFIX_ID#</ANIM_NAME_10_KHZ> <NODE_ID_1_KHZ>ADF_Knob_Frequency_Hz#SUFFIX_ID#</NODE_ID_1_KHZ> <ANIM_NAME_1_KHZ>ADF_Knob_Frequency_Hz#SUFFIX_ID#</ANIM_NAME_1_KHZ> <NODE_ID_ADF_VOLUME>ADF_Knob_Volume#SUFFIX_ID#</NODE_ID_ADF_VOLUME> <ANIM_NAME_ADF_VOLUME>ADF_Knob_Volume#SUFFIX_ID#</ANIM_NAME_ADF_VOLUME> <NODE_ID_ADF_MODE>ADF_Knob_Mode#SUFFIX_ID#</NODE_ID_ADF_MODE> <ANIM_NAME_ADF_MODE>ADF_Knob_Mode#SUFFIX_ID#</ANIM_NAME_ADF_MODE> </Parameters> <Component ID="ADF_Frequency_Knobs#SUFFIX_ID#"> <Parameters Type="Override"> <WWISE_EVENT>adf_frequency_knob</WWISE_EVENT> <COUNT>36</COUNT> <THRESHOLD_INPUT>0.0005</THRESHOLD_INPUT> <THRESHOLD_MOUSE>0.01</THRESHOLD_MOUSE> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <FORMAT_VALUE>'%d' @sprintf</FORMAT_VALUE> <GET_TT_VALUE_100_KHZ>(A:ADF ACTIVE FREQUENCY:#ID#, Khz) s0 100 / int 10 % l0 1000 / int 10 % 10 * +</GET_TT_VALUE_100_KHZ> <GET_TT_VALUE_10_KHZ>(A:ADF ACTIVE FREQUENCY:#ID#, Khz) 10 / int 10 %</GET_TT_VALUE_10_KHZ> <GET_TT_VALUE_1_KHZ>(A:ADF ACTIVE FREQUENCY:#ID#, Khz) int 10 %</GET_TT_VALUE_1_KHZ> </Parameters> <Loop> <Setup> <Param>CUR_ID</Param> <From>0</From> <Inc>1</Inc> <To>2</To> </Setup> <Do> <Parameters Type="Override"> <ID_POS Process="Int">10 #CUR_ID# pow</ID_POS> </Parameters> <Parameters Type="Default"> <TT_DESCRIPTION_ID>@TT_Package.ADF_KNOB_FREQUENCY_PARAM_KHZ_ACTION</TT_DESCRIPTION_ID> <TT_DESCRIPTION_INDEX>#ID_POS#</TT_DESCRIPTION_INDEX> <TOOLTIP_TITLE>@TT_Package.ADF_KNOB_FREQUENCY_KHZ_TITLE</TOOLTIP_TITLE> </Parameters> <UseTemplate Name="ASOBO_NAVCOM_Alternative_Base_Template"> <KNOB_ID>ADF_Freq_#ID_POS#_Khz</KNOB_ID> <ANIM_NAME Process="Param">ANIM_NAME_#ID_POS#_KHZ</ANIM_NAME> <NODE_ID Process="Param">NODE_ID_#ID_POS#_KHZ</NODE_ID> <GET_TT_VALUE_STATE Process="Param">GET_TT_VALUE_#ID_POS#_KHZ</GET_TT_VALUE_STATE> <EVENT_CW>(&gt;K:ADF_#ID_POS#_INC)</EVENT_CW> <EVENT_CCW>(&gt;K:ADF_#ID_POS#_DEC)</EVENT_CCW> <IS_INFINITE>True</IS_INFINITE> </UseTemplate> </Do> </Loop> </Component> <UseTemplate Name="ASOBO_ADF_Knob_Volume_Template"> <NODE_ID>#NODE_ID_ADF_VOLUME#</NODE_ID> <ANIM_NAME>#ANIM_NAME_ADF_VOLUME#</ANIM_NAME> </UseTemplate> <UseTemplate Name="ASOBO_ADF_Knob_Mode_Template"> <NODE_ID>#NODE_ID_ADF_MODE#</NODE_ID> <ANIM_NAME>#ANIM_NAME_ADF_MODE#</ANIM_NAME> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#NODE_ID_SCREEN#</NODE_ID> <EMISSIVE_CODE>1</EMISSIVE_CODE> <FAILURE>(A:ADF VOLUME:#ID#, Percent) 0 &gt; (A:CIRCUIT GENERAL PANEL ON, Bool) and</FAILURE> </UseTemplate> </Template> <!-- ########## --> <!-- Components --> <Template Name="ASOBO_Button_ADF_ID_Template"> <Parameters Type="Default"> <PART_ID>ADF_Push_#BUTTON_ID#</PART_ID> <WWISE_EVENT_1>ADF_push_button_on</WWISE_EVENT_1> <WWISE_EVENT_2>ADF_push_button_off</WWISE_EVENT_2> <NORMALIZED_TIME_1>0.1</NORMALIZED_TIME_1> <NORMALIZED_TIME_2>0.5</NORMALIZED_TIME_2> <TT_DESCRIPTION_ID>@TT_Package.ADF_PUSH_#BUTTON_ID#_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.ADF_PUSH_#BUTTON_ID#_TITLE</TOOLTIP_TITLE> </Parameters> <UseTemplate Name="ASOBO_NAVCOM_Alternative_Base_Template"> <BTN_ID>ADF_#BUTTON_ID#</BTN_ID> <SET_STATE_EXTERNAL>(&gt;H:#HTML_EVENT#)</SET_STATE_EXTERNAL> <EMISSIVE_CODE>(A:LIGHT POTENTIOMETER:#EMISSIVE_POTENTIOMETER#, percent over 100) #BUTTON_EMISSIVE_FACTOR# *</EMISSIVE_CODE> </UseTemplate> </Template> <Template Name="ASOBO_ADF_Knob_Volume_Template"> <Parameters Type="Default"> <WWISE_EVENT>adf_volume_knob</WWISE_EVENT> <COUNT>50</COUNT> <THRESHOLD_INPUT>0.000025</THRESHOLD_INPUT> <THRESHOLD_MOUSE>0.0025</THRESHOLD_MOUSE> </Parameters> <Parameters Type="Override"> <EVENT_CW>(&gt;K:ADF_VOLUME_INC)</EVENT_CW> <EVENT_CCW>(&gt;K:ADF_VOLUME_DEC)</EVENT_CCW> </Parameters> <Parameters Type="Override"> <Condition NotEmpty="CIRCUIT_ADF"> <EVENT_CW>#EVENT_CW# (A:ADF VOLUME:1, Percent) 0 &gt; (A:CIRCUIT SWITCH ON:#CIRCUIT_ADF#, Bool) != if{ #CIRCUIT_ADF# (&gt;K:ELECTRICAL_CIRCUIT_TOGGLE) }</EVENT_CW> <EVENT_CCW>#EVENT_CCW# (A:ADF VOLUME:1, Percent) 0 &gt; (A:CIRCUIT SWITCH ON:#CIRCUIT_ADF#, Bool) != if{ #CIRCUIT_ADF# (&gt;K:ELECTRICAL_CIRCUIT_TOGGLE) }</EVENT_CCW> <COMP_INIT_CODE>(A:ADF VOLUME:1, Percent) 0 == (A:CIRCUIT SWITCH ON:#CIRCUIT_ADF#, Bool) and if{ #CIRCUIT_ADF# (&gt;K:ELECTRICAL_CIRCUIT_TOGGLE) }</COMP_INIT_CODE> </Condition> </Parameters> <Parameters Type="Default"> <TT_DESCRIPTION_ID>@TT_Package.ADF_KNOB_RECEIVERVOLUME_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.ADF_KNOB_RECEIVERVOLUME_TITLE</TOOLTIP_TITLE> </Parameters> <UseTemplate Name="ASOBO_NAVCOM_Alternative_Base_Template"> <KNOB_ID>ADF_Volume</KNOB_ID> <GET_TT_VALUE_STATE>(A:ADF VOLUME:1, percent)</GET_TT_VALUE_STATE> <ANIM_CODE>(A:ADF VOLUME:1, percent)</ANIM_CODE> <IS_INFINITE>False</IS_INFINITE> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> </UseTemplate> </Template> <Template Name="ASOBO_ADF_Knob_Mode_Template"> <Parameters Type="Default"> <WWISE_EVENT>adf_mode_knob</WWISE_EVENT> <ANIM_LAG>600</ANIM_LAG> <COUNT>3</COUNT> <POS_BFO>0</POS_BFO> <POS_REC>1</POS_REC> <POS_ADF>2</POS_ADF> <POS_TEST>3</POS_TEST> <VAR_TYPE>L</VAR_TYPE> <VAR_NAME>XMLVAR_ADF_Mode</VAR_NAME> <INPUT_EVENT_ID_SOURCE>NAVCOM</INPUT_EVENT_ID_SOURCE> </Parameters> <Parameters Type="Override"> <KNOB_ID>ADF_Mode</KNOB_ID> <ENUM_VAL_BFO>0</ENUM_VAL_BFO> <ENUM_VAL_REC>1</ENUM_VAL_REC> <ENUM_VAL_ADF>2</ENUM_VAL_ADF> <ENUM_VAL_TEST>3</ENUM_VAL_TEST> </Parameters> <Parameters Type="Default"> <TT_DESCRIPTION_ID>@TT_Package.ADF_KNOB_MODE_ACTION_SET</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.ADF_KNOB_MODE_TITLE</TOOLTIP_TITLE> <INIT_POS>#POS_ADF#</INIT_POS> </Parameters> <UseTemplate Name="ASOBO_NAVCOM_Alternative_Base_Template"> <Condition NotEmpty="INIT_POS"> <COMP_INIT_CODE>#INIT_POS# (&gt;#VAR_TYPE#:#VAR_NAME#)</COMP_INIT_CODE> </Condition> <USE_BTN_IE>True</USE_BTN_IE> <NUM_STATES>4</NUM_STATES> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <SWITCH_DIRECTION>Horizontal</SWITCH_DIRECTION> <IS_INFINITE>False</IS_INFINITE> <GET_STATE_EXTERNAL>(#VAR_TYPE#:#VAR_NAME#) sp0</GET_STATE_EXTERNAL> <ENUM_VAL_TO_POS_EXTERNAL> l0 #ENUM_VAL_BFO# == if{ #POS_BFO# sp1 g2 } l0 #ENUM_VAL_REC# == if{ #POS_REC# sp1 g2 } l0 #ENUM_VAL_ADF# == if{ #POS_ADF# sp1 g2 } l0 #ENUM_VAL_TEST# == if{ #POS_TEST# sp1 g2 } :2 l1 </ENUM_VAL_TO_POS_EXTERNAL> <BTN_ID>#KNOB_ID#</BTN_ID> <!-- POS_BFO --> <TT_VALUE_#POS_BFO#>@TT_Package.GT_STATE_BFO</TT_VALUE_#POS_BFO#> <SET_STATE_#POS_BFO#>#ENUM_VAL_BFO# (&gt;#VAR_TYPE#:#VAR_NAME#)</SET_STATE_#POS_BFO#> <STR_STATE_#POS_BFO#>BFO</STR_STATE_#POS_BFO#> <CODE_POS_#POS_BFO#>(&gt;B:#INPUT_EVENT_ID_SOURCE#_#KNOB_ID#_BFO)</CODE_POS_#POS_BFO#> <STATE#POS_BFO#_TEST>(B:#INPUT_EVENT_ID_SOURCE#_#KNOB_ID#) #POS_BFO# ==</STATE#POS_BFO#_TEST> <!-- POS_REC --> <TT_VALUE_#POS_REC#>@TT_Package.GT_STATE_REC</TT_VALUE_#POS_REC#> <SET_STATE_#POS_REC#>#ENUM_VAL_REC# (&gt;#VAR_TYPE#:#VAR_NAME#)</SET_STATE_#POS_REC#> <STR_STATE_#POS_REC#>REC</STR_STATE_#POS_REC#> <CODE_POS_#POS_REC#>(&gt;B:#INPUT_EVENT_ID_SOURCE#_#KNOB_ID#_REC)</CODE_POS_#POS_REC#> <STATE#POS_REC#_TEST>(B:#INPUT_EVENT_ID_SOURCE#_#KNOB_ID#) #POS_REC# ==</STATE#POS_REC#_TEST> <!-- POS_ADF --> <TT_VALUE_#POS_ADF#>@TT_Package.GT_STATE_ADF</TT_VALUE_#POS_ADF#> <SET_STATE_#POS_ADF#>#ENUM_VAL_ADF# (&gt;#VAR_TYPE#:#VAR_NAME#)</SET_STATE_#POS_ADF#> <STR_STATE_#POS_ADF#>ADF</STR_STATE_#POS_ADF#> <CODE_POS_#POS_ADF#>(&gt;B:#INPUT_EVENT_ID_SOURCE#_#KNOB_ID#_ADF)</CODE_POS_#POS_ADF#> <STATE#POS_ADF#_TEST>(B:#INPUT_EVENT_ID_SOURCE#_#KNOB_ID#) #POS_ADF# ==</STATE#POS_ADF#_TEST> <!-- POS_TEST --> <TT_VALUE_#POS_TEST#>@TT_Package.GT_STATE_TEST</TT_VALUE_#POS_TEST#> <SET_STATE_#POS_TEST#>#ENUM_VAL_TEST# (&gt;#VAR_TYPE#:#VAR_NAME#)</SET_STATE_#POS_TEST#> <STR_STATE_#POS_TEST#>TEST</STR_STATE_#POS_TEST#> <CODE_POS_#POS_TEST#>(&gt;B:#INPUT_EVENT_ID_SOURCE#_#KNOB_ID#_TEST)</CODE_POS_#POS_TEST#> <STATE#POS_TEST#_TEST>(B:#INPUT_EVENT_ID_SOURCE#_#KNOB_ID#) #POS_TEST# ==</STATE#POS_TEST#_TEST> </UseTemplate> </Template> </ModelBehaviors>

Includes

Templates

Template list
  • ASOBO_INSTRUMENT_ADF_Template

    Definition from XML
    <Template Name="ASOBO_INSTRUMENT_ADF_Template"> <UseTemplate Name="ASOBO_ADF_AS87_Template"/> </Template>

    Templates used:

  • ASOBO_ADF_AS87_Template

    Definition from XML
    <Template Name="ASOBO_ADF_AS87_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_GT_Helper_Suffix_ID_Appender"> <TEMPLATE_TO_CALL>ASOBO_ADF_AS87_SubTemplate</TEMPLATE_TO_CALL> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • ID

    Templates used:

  • ASOBO_ADF_AS87_SubTemplate

    Definition from XML
    <Template Name="ASOBO_ADF_AS87_SubTemplate"> <Parameters Type="Default"> <ANIM_LAG>400</ANIM_LAG> <EMISSIVE_POTENTIOMETER>1</EMISSIVE_POTENTIOMETER> <BUTTON_EMISSIVE_FACTOR>1</BUTTON_EMISSIVE_FACTOR> <ANIM_NEVER_FAILS>True</ANIM_NEVER_FAILS> <Condition Check="CIRCUIT_ADF"> <FAILURE>(A:CIRCUIT ON:#CIRCUIT_ADF#, Bool)</FAILURE> </Condition> <NODE_ID_ADF_VOLUME>ADF_Knob_Volume#SUFFIX_ID#</NODE_ID_ADF_VOLUME> <ANIM_NAME_ADF_VOLUME>ADF_Knob_Volume#SUFFIX_ID#</ANIM_NAME_ADF_VOLUME> <NODE_ID_PUSH_ADF>ADF_Push_ADF#SUFFIX_ID#</NODE_ID_PUSH_ADF> <ANIM_NAME_PUSH_ADF>ADF_Push_ADF#SUFFIX_ID#</ANIM_NAME_PUSH_ADF> <NODE_ID_PUSH_BFO>ADF_Push_BFO#SUFFIX_ID#</NODE_ID_PUSH_BFO> <ANIM_NAME_PUSH_BFO>ADF_Push_BFO#SUFFIX_ID#</ANIM_NAME_PUSH_BFO> <NODE_ID_PUSH_FRQ>ADF_Push_FRQ#SUFFIX_ID#</NODE_ID_PUSH_FRQ> <ANIM_NAME_PUSH_FRQ>ADF_Push_FRQ#SUFFIX_ID#</ANIM_NAME_PUSH_FRQ> <NODE_ID_PUSH_FLT>ADF_Push_FLT#SUFFIX_ID#</NODE_ID_PUSH_FLT> <ANIM_NAME_PUSH_FLT>ADF_Push_FLT#SUFFIX_ID#</ANIM_NAME_PUSH_FLT> <NODE_ID_PUSH_SET_RESET>ADF_Push_SetReset#SUFFIX_ID#</NODE_ID_PUSH_SET_RESET> <ANIM_NAME_PUSH_SET_RESET>ADF_Push_SetReset#SUFFIX_ID#</ANIM_NAME_PUSH_SET_RESET> <NODE_ID_FRAME>ADF_Frame#SUFFIX_ID#</NODE_ID_FRAME> <NODE_ID_SCREEN>ADF_Screen#SUFFIX_ID#</NODE_ID_SCREEN> <NODE_ID_100_KHZ>ADF_Knob_Frequency_MHz#SUFFIX_ID#</NODE_ID_100_KHZ> <ANIM_NAME_100_KHZ>ADF_Knob_Frequency_MHz#SUFFIX_ID#</ANIM_NAME_100_KHZ> <NODE_ID_1_10_KHZ>ADF_Knob_Frequency_KHz#SUFFIX_ID#</NODE_ID_1_10_KHZ> <ANIM_NAME_1_10_KHZ>ADF_Knob_Frequency_KHz#SUFFIX_ID#</ANIM_NAME_1_10_KHZ> <ANIM_NAME_1_10_KHZ_PUSH>ADF_Knob_Frequency_KHz_Push#SUFFIX_ID#</ANIM_NAME_1_10_KHZ_PUSH> </Parameters> <UseTemplate Name="ASOBO_Button_ADF_ID_Template"> <BUTTON_ID>ADF_ANT_MODE_TOGGLE</BUTTON_ID> <HTML_EVENT>adf_AntAdf</HTML_EVENT> <NODE_ID>#NODE_ID_PUSH_ADF#</NODE_ID> <ANIM_NAME>#ANIM_NAME_PUSH_ADF#</ANIM_NAME> </UseTemplate> <UseTemplate Name="ASOBO_Button_ADF_ID_Template"> <BUTTON_ID>BFO</BUTTON_ID> <HTML_EVENT>adf_bfo</HTML_EVENT> <NODE_ID>#NODE_ID_PUSH_BFO#</NODE_ID> <ANIM_NAME>#ANIM_NAME_PUSH_BFO#</ANIM_NAME> </UseTemplate> <UseTemplate Name="ASOBO_Button_ADF_ID_Template"> <BUTTON_ID>FRQ</BUTTON_ID> <HTML_EVENT>adf_frqTransfert</HTML_EVENT> <NODE_ID>#NODE_ID_PUSH_FRQ#</NODE_ID> <ANIM_NAME>#ANIM_NAME_PUSH_FRQ#</ANIM_NAME> </UseTemplate> <UseTemplate Name="ASOBO_Button_ADF_ID_Template"> <BUTTON_ID>FLTET</BUTTON_ID> <HTML_EVENT>adf_FltEt</HTML_EVENT> <NODE_ID>#NODE_ID_PUSH_FLT#</NODE_ID> <ANIM_NAME>#ANIM_NAME_PUSH_FLT#</ANIM_NAME> </UseTemplate> <UseTemplate Name="ASOBO_Button_ADF_ID_Template"> <BUTTON_ID>SETRESET</BUTTON_ID> <HTML_EVENT>adf_SetRst</HTML_EVENT> <NODE_ID>#NODE_ID_PUSH_SET_RESET#</NODE_ID> <ANIM_NAME>#ANIM_NAME_PUSH_SET_RESET#</ANIM_NAME> </UseTemplate> <UseTemplate Name="ASOBO_ADF_Knob_Volume_Template"> <NODE_ID>#NODE_ID_ADF_VOLUME#</NODE_ID> <ANIM_NAME>#ANIM_NAME_ADF_VOLUME#</ANIM_NAME> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#NODE_ID_FRAME#</NODE_ID> <EMISSIVE_CODE>(A:LIGHT POTENTIOMETER:#EMISSIVE_POTENTIOMETER#, percent over 100)</EMISSIVE_CODE> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#NODE_ID_SCREEN#</NODE_ID> <EMISSIVE_CODE>0.5</EMISSIVE_CODE> </UseTemplate> <Component ID="ADF_Frequency_Knobs#SUFFIX_ID#"> <UseTemplate Name="ASOBO_NAVCOM_Alternative_Base_Template"> <WWISE_EVENT>adf_frequency_outer_knob</WWISE_EVENT> <COUNT>36</COUNT> <THRESHOLD_INPUT>0.0005</THRESHOLD_INPUT> <THRESHOLD_MOUSE>0.01</THRESHOLD_MOUSE> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <TT_DESCRIPTION_ID>@TT_Package.ADF_KNOB_FREQUENCY_PARAM_KHZ_ACTION</TT_DESCRIPTION_ID> <TT_DESCRIPTION_INDEX>100</TT_DESCRIPTION_INDEX> <TOOLTIP_TITLE>@TT_Package.ADF_KNOB_FREQUENCY_KHZ_TITLE</TOOLTIP_TITLE> <KNOB_ID>ADF_Freq_100_Khz</KNOB_ID> <ANIM_NAME>#ANIM_NAME_100_KHZ#</ANIM_NAME> <NODE_ID>#NODE_ID_100_KHZ#</NODE_ID> <FORMAT_VALUE>&apos;%d&apos; @sprintf</FORMAT_VALUE> <GET_TT_VALUE_STATE>(A:ADF STANDBY FREQUENCY:#ID#, Khz) s0 100 / int 10 % l0 1000 / int 10 % 10 * +</GET_TT_VALUE_STATE> <EVENT_CW>(&gt;K:ADF_100_INC)</EVENT_CW> <EVENT_CCW>(&gt;K:ADF_100_DEC)</EVENT_CCW> <IS_INFINITE>True</IS_INFINITE> </UseTemplate> <Component ID="#NODE_ID_1_10_KHZ#" Node="#NODE_ID_1_10_KHZ#"> <Parameters Type="Override"> <BTN_ID_EXTERNAL>ADF_Freq_Increment</BTN_ID_EXTERNAL> <VAR_NAME>XMLVAR_ADF_Frequency_10_Khz</VAR_NAME> <VAR_TYPE>L</VAR_TYPE> <FORMAT_VALUE>&apos;%d&apos; @sprintf</FORMAT_VALUE> </Parameters> <UseTemplate Name="ASOBO_NAVCOM_Alternative_Base_Push_Event_Only_Template"> <BTN_ID>#BTN_ID_EXTERNAL#</BTN_ID> <GET_STATE_EXTERNAL>(#VAR_TYPE#:#VAR_NAME#) sp0</GET_STATE_EXTERNAL> <SIM_STATE_IS_ON_EXTERNAL>l0</SIM_STATE_IS_ON_EXTERNAL> <SET_STATE_ON>1 (&gt;#VAR_TYPE#:#VAR_NAME#)</SET_STATE_ON> <TT_VALUE_ON>&apos;10 Khz&apos;</TT_VALUE_ON> <SET_STATE_OFF>0 (&gt;#VAR_TYPE#:#VAR_NAME#)</SET_STATE_OFF> <TT_VALUE_OFF>&apos;1 Khz&apos;</TT_VALUE_OFF> <TT_DESCRIPTION_ID>@TT_Package.ADF_KNOB_FREQUENCY_INCREMENT_ACTION</TT_DESCRIPTION_ID> <TT_DESCRIPTION_INDEX>100</TT_DESCRIPTION_INDEX> </UseTemplate> <UseTemplate Name="ASOBO_NAVCOM_Alternative_Base_Template"> <KNOB_ID>ADF_Freq_1_10_Khz</KNOB_ID> <BTN_EXTERNAL_BINDING_TO_CALL>_Toggle</BTN_EXTERNAL_BINDING_TO_CALL> <CREATE_COMPONENT>False</CREATE_COMPONENT> <WWISE_EVENT>adf_frequency_inner_knob</WWISE_EVENT> <WWISE_EVENT_1>ADF_knob_push_button_on</WWISE_EVENT_1> <WWISE_EVENT_2>ADF_knob_push_button_off</WWISE_EVENT_2> <NORMALIZED_TIME_1>0.1</NORMALIZED_TIME_1> <NORMALIZED_TIME_2>0.1</NORMALIZED_TIME_2> <COUNT>36</COUNT> <THRESHOLD_X_INPUT>0.1</THRESHOLD_X_INPUT> <THRESHOLD_X_MOUSE>0.005</THRESHOLD_X_MOUSE> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <NODE_ID>#NODE_ID_1_10_KHZ#</NODE_ID> <KNOB_TYPE>Infinite_Pull</KNOB_TYPE> <TEMPLATE_VARIANT/> <ANIM_CODE>(#VAR_TYPE#:#VAR_NAME#) 100 *</ANIM_CODE> <ANIM_NAME_KNOB>#ANIM_NAME_1_10_KHZ#</ANIM_NAME_KNOB> <ANIM_NAME_PULL>#ANIM_NAME_1_10_KHZ_PUSH#</ANIM_NAME_PULL> <TT_DESCRIPTION_ID>@TT_Package.ADF_KNOB_FREQUENCY_1_10_KHZ_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.ADF_KNOB_FREQUENCY_KHZ_TITLE</TOOLTIP_TITLE> <EVENT_CW>(#VAR_TYPE#:#VAR_NAME#) if{ (&gt;K:ADF_10_INC) } els{ (&gt;K:ADF_1_INC) }</EVENT_CW> <EVENT_CCW>(#VAR_TYPE#:#VAR_NAME#) if{ (&gt;K:ADF_10_DEC) } els{ (&gt;K:ADF_1_DEC) }</EVENT_CCW> <GET_TT_VALUE_STATE>(A:ADF STANDBY FREQUENCY:#ID#, Khz) sp0 (#VAR_TYPE#:#VAR_NAME#) if{ l0 10 / int 10 % } els{ l0 int 10 % }</GET_TT_VALUE_STATE> <EXTRA_INTERACTION>_LeftSingle</EXTRA_INTERACTION> <IS_INFINITE>True</IS_INFINITE> <COUNT>36</COUNT> </UseTemplate> </Component> </Component> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • ANIM_LAG
      • EMISSIVE_POTENTIOMETER
      • BUTTON_EMISSIVE_FACTOR
      • ANIM_NEVER_FAILS
      • NODE_ID_ADF_VOLUME (using SUFFIX_ID)
      • ANIM_NAME_ADF_VOLUME (using SUFFIX_ID)
      • NODE_ID_PUSH_ADF (using SUFFIX_ID)
      • ANIM_NAME_PUSH_ADF (using SUFFIX_ID)
      • NODE_ID_PUSH_BFO (using SUFFIX_ID)
      • ANIM_NAME_PUSH_BFO (using SUFFIX_ID)
      • NODE_ID_PUSH_FRQ (using SUFFIX_ID)
      • ANIM_NAME_PUSH_FRQ (using SUFFIX_ID)
      • NODE_ID_PUSH_FLT (using SUFFIX_ID)
      • ANIM_NAME_PUSH_FLT (using SUFFIX_ID)
      • NODE_ID_PUSH_SET_RESET (using SUFFIX_ID)
      • ANIM_NAME_PUSH_SET_RESET (using SUFFIX_ID)
      • NODE_ID_FRAME (using SUFFIX_ID)
      • NODE_ID_SCREEN (using SUFFIX_ID)
      • NODE_ID_100_KHZ (using SUFFIX_ID)
      • ANIM_NAME_100_KHZ (using SUFFIX_ID)
      • NODE_ID_1_10_KHZ (using SUFFIX_ID)
      • ANIM_NAME_1_10_KHZ (using SUFFIX_ID)
      • ANIM_NAME_1_10_KHZ_PUSH (using SUFFIX_ID)

      Condition: Check(CIRCUIT_ADF)

      • Case: True

        Parameters set:

        • FAILURE (using CIRCUIT_ADF)

    Parameters read:

    • SUFFIX_ID

    Components:

    • ADF_Frequency_Knobs#SUFFIX_ID#

      Parameters read:

      • NODE_ID_1_10_KHZ

      Components:

      • #NODE_ID_1_10_KHZ# (Node: #NODE_ID_1_10_KHZ#)

        Parameters set:

        • BTN_ID_EXTERNAL
        • VAR_NAME
        • VAR_TYPE
        • FORMAT_VALUE

        Templates used:

        • ASOBO_NAVCOM_Alternative_Base_Push_Event_Only_Template

          Parameters set:

          • BTN_ID (using BTN_ID_EXTERNAL)
          • GET_STATE_EXTERNAL (using VAR_TYPE, VAR_NAME)
          • SIM_STATE_IS_ON_EXTERNAL
          • SET_STATE_ON (using VAR_TYPE, VAR_NAME)
          • TT_VALUE_ON
          • SET_STATE_OFF (using VAR_TYPE, VAR_NAME)
          • TT_VALUE_OFF
          • TT_DESCRIPTION_ID
          • TT_DESCRIPTION_INDEX
        • ASOBO_NAVCOM_Alternative_Base_Template

          Parameters set:

          • KNOB_ID
          • BTN_EXTERNAL_BINDING_TO_CALL
          • CREATE_COMPONENT
          • WWISE_EVENT
          • WWISE_EVENT_1
          • WWISE_EVENT_2
          • NORMALIZED_TIME_1
          • NORMALIZED_TIME_2
          • COUNT
          • THRESHOLD_X_INPUT
          • THRESHOLD_X_MOUSE
          • INTERACTION_TYPE
          • NODE_ID (using NODE_ID_1_10_KHZ)
          • KNOB_TYPE
          • TEMPLATE_VARIANT
          • ANIM_CODE (using VAR_TYPE, VAR_NAME)
          • ANIM_NAME_KNOB (using ANIM_NAME_1_10_KHZ)
          • ANIM_NAME_PULL (using ANIM_NAME_1_10_KHZ_PUSH)
          • TT_DESCRIPTION_ID
          • TOOLTIP_TITLE
          • EVENT_CW (using VAR_TYPE, VAR_NAME)
          • EVENT_CCW (using VAR_TYPE, VAR_NAME)
          • GET_TT_VALUE_STATE (using ID, VAR_TYPE, VAR_NAME)
          • EXTRA_INTERACTION
          • IS_INFINITE

      Templates used:

      • ASOBO_NAVCOM_Alternative_Base_Template

        Parameters set:

        • WWISE_EVENT
        • COUNT
        • THRESHOLD_INPUT
        • THRESHOLD_MOUSE
        • INTERACTION_TYPE
        • TT_DESCRIPTION_ID
        • TT_DESCRIPTION_INDEX
        • TOOLTIP_TITLE
        • KNOB_ID
        • ANIM_NAME (using ANIM_NAME_100_KHZ)
        • NODE_ID (using NODE_ID_100_KHZ)
        • FORMAT_VALUE
        • GET_TT_VALUE_STATE (using ID)
        • EVENT_CW
        • EVENT_CCW
        • IS_INFINITE

    Templates used:

  • ASOBO_ADF_AS300_Template

    Definition from XML
    <Template Name="ASOBO_ADF_AS300_Template"> <Parameters Type="Default"> <ID>1</ID> </Parameters> <UseTemplate Name="ASOBO_GT_Helper_Suffix_ID_Appender"> <TEMPLATE_TO_CALL>ASOBO_ADF_AS300_SubTemplate</TEMPLATE_TO_CALL> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • ID

    Templates used:

  • ASOBO_ADF_AS300_SubTemplate

    Definition from XML
    <Template Name="ASOBO_ADF_AS300_SubTemplate"> <Parameters Type="Default"> <NODE_ID_SCREEN>ADF_Screen</NODE_ID_SCREEN> <NODE_ID_100_KHZ>ADF_Knob_Frequency_MHz#SUFFIX_ID#</NODE_ID_100_KHZ> <ANIM_NAME_100_KHZ>ADF_Knob_Frequency_MHz#SUFFIX_ID#</ANIM_NAME_100_KHZ> <NODE_ID_10_KHZ>ADF_Knob_Frequency_KHz#SUFFIX_ID#</NODE_ID_10_KHZ> <ANIM_NAME_10_KHZ>ADF_Knob_Frequency_KHz#SUFFIX_ID#</ANIM_NAME_10_KHZ> <NODE_ID_1_KHZ>ADF_Knob_Frequency_Hz#SUFFIX_ID#</NODE_ID_1_KHZ> <ANIM_NAME_1_KHZ>ADF_Knob_Frequency_Hz#SUFFIX_ID#</ANIM_NAME_1_KHZ> <NODE_ID_ADF_VOLUME>ADF_Knob_Volume#SUFFIX_ID#</NODE_ID_ADF_VOLUME> <ANIM_NAME_ADF_VOLUME>ADF_Knob_Volume#SUFFIX_ID#</ANIM_NAME_ADF_VOLUME> <NODE_ID_ADF_MODE>ADF_Knob_Mode#SUFFIX_ID#</NODE_ID_ADF_MODE> <ANIM_NAME_ADF_MODE>ADF_Knob_Mode#SUFFIX_ID#</ANIM_NAME_ADF_MODE> </Parameters> <Component ID="ADF_Frequency_Knobs#SUFFIX_ID#"> <Parameters Type="Override"> <WWISE_EVENT>adf_frequency_knob</WWISE_EVENT> <COUNT>36</COUNT> <THRESHOLD_INPUT>0.0005</THRESHOLD_INPUT> <THRESHOLD_MOUSE>0.01</THRESHOLD_MOUSE> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <FORMAT_VALUE>&apos;%d&apos; @sprintf</FORMAT_VALUE> <GET_TT_VALUE_100_KHZ>(A:ADF ACTIVE FREQUENCY:#ID#, Khz) s0 100 / int 10 % l0 1000 / int 10 % 10 * +</GET_TT_VALUE_100_KHZ> <GET_TT_VALUE_10_KHZ>(A:ADF ACTIVE FREQUENCY:#ID#, Khz) 10 / int 10 %</GET_TT_VALUE_10_KHZ> <GET_TT_VALUE_1_KHZ>(A:ADF ACTIVE FREQUENCY:#ID#, Khz) int 10 %</GET_TT_VALUE_1_KHZ> </Parameters> <Loop> <Setup> <Param>CUR_ID</Param> <From>0</From> <Inc>1</Inc> <To>2</To> </Setup> <Do> <Parameters Type="Override"> <ID_POS Process="Int">10 #CUR_ID# pow</ID_POS> </Parameters> <Parameters Type="Default"> <TT_DESCRIPTION_ID>@TT_Package.ADF_KNOB_FREQUENCY_PARAM_KHZ_ACTION</TT_DESCRIPTION_ID> <TT_DESCRIPTION_INDEX>#ID_POS#</TT_DESCRIPTION_INDEX> <TOOLTIP_TITLE>@TT_Package.ADF_KNOB_FREQUENCY_KHZ_TITLE</TOOLTIP_TITLE> </Parameters> <UseTemplate Name="ASOBO_NAVCOM_Alternative_Base_Template"> <KNOB_ID>ADF_Freq_#ID_POS#_Khz</KNOB_ID> <ANIM_NAME Process="Param">ANIM_NAME_#ID_POS#_KHZ</ANIM_NAME> <NODE_ID Process="Param">NODE_ID_#ID_POS#_KHZ</NODE_ID> <GET_TT_VALUE_STATE Process="Param">GET_TT_VALUE_#ID_POS#_KHZ</GET_TT_VALUE_STATE> <EVENT_CW>(&gt;K:ADF_#ID_POS#_INC)</EVENT_CW> <EVENT_CCW>(&gt;K:ADF_#ID_POS#_DEC)</EVENT_CCW> <IS_INFINITE>True</IS_INFINITE> </UseTemplate> </Do> </Loop> </Component> <UseTemplate Name="ASOBO_ADF_Knob_Volume_Template"> <NODE_ID>#NODE_ID_ADF_VOLUME#</NODE_ID> <ANIM_NAME>#ANIM_NAME_ADF_VOLUME#</ANIM_NAME> </UseTemplate> <UseTemplate Name="ASOBO_ADF_Knob_Mode_Template"> <NODE_ID>#NODE_ID_ADF_MODE#</NODE_ID> <ANIM_NAME>#ANIM_NAME_ADF_MODE#</ANIM_NAME> </UseTemplate> <UseTemplate Name="ASOBO_GT_Component_Emissive_Gauge"> <NODE_ID>#NODE_ID_SCREEN#</NODE_ID> <EMISSIVE_CODE>1</EMISSIVE_CODE> <FAILURE>(A:ADF VOLUME:#ID#, Percent) 0 &gt; (A:CIRCUIT GENERAL PANEL ON, Bool) and</FAILURE> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • NODE_ID_SCREEN
      • NODE_ID_100_KHZ (using SUFFIX_ID)
      • ANIM_NAME_100_KHZ (using SUFFIX_ID)
      • NODE_ID_10_KHZ (using SUFFIX_ID)
      • ANIM_NAME_10_KHZ (using SUFFIX_ID)
      • NODE_ID_1_KHZ (using SUFFIX_ID)
      • ANIM_NAME_1_KHZ (using SUFFIX_ID)
      • NODE_ID_ADF_VOLUME (using SUFFIX_ID)
      • ANIM_NAME_ADF_VOLUME (using SUFFIX_ID)
      • NODE_ID_ADF_MODE (using SUFFIX_ID)
      • ANIM_NAME_ADF_MODE (using SUFFIX_ID)

    Parameters read:

    • SUFFIX_ID

    Components:

    • ADF_Frequency_Knobs#SUFFIX_ID#

      Parameters set:

      • WWISE_EVENT
      • COUNT
      • THRESHOLD_INPUT
      • THRESHOLD_MOUSE
      • INTERACTION_TYPE
      • FORMAT_VALUE
      • GET_TT_VALUE_100_KHZ (using ID)
      • GET_TT_VALUE_10_KHZ (using ID)
      • GET_TT_VALUE_1_KHZ (using ID)
      • CUR_ID
      • ID_POS (using CUR_ID)
      • TT_DESCRIPTION_ID
      • TT_DESCRIPTION_INDEX (using ID_POS)
      • TOOLTIP_TITLE

      Templates used:

      • ASOBO_NAVCOM_Alternative_Base_Template

        Parameters set:

        • KNOB_ID (using ID_POS)
        • ANIM_NAME (using ID_POS)
        • NODE_ID (using ID_POS)
        • GET_TT_VALUE_STATE (using ID_POS)
        • EVENT_CW (using ID_POS)
        • EVENT_CCW (using ID_POS)
        • IS_INFINITE

    Templates used:

  • ASOBO_Button_ADF_ID_Template

    Definition from XML
    <Template Name="ASOBO_Button_ADF_ID_Template"> <Parameters Type="Default"> <PART_ID>ADF_Push_#BUTTON_ID#</PART_ID> <WWISE_EVENT_1>ADF_push_button_on</WWISE_EVENT_1> <WWISE_EVENT_2>ADF_push_button_off</WWISE_EVENT_2> <NORMALIZED_TIME_1>0.1</NORMALIZED_TIME_1> <NORMALIZED_TIME_2>0.5</NORMALIZED_TIME_2> <TT_DESCRIPTION_ID>@TT_Package.ADF_PUSH_#BUTTON_ID#_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.ADF_PUSH_#BUTTON_ID#_TITLE</TOOLTIP_TITLE> </Parameters> <UseTemplate Name="ASOBO_NAVCOM_Alternative_Base_Template"> <BTN_ID>ADF_#BUTTON_ID#</BTN_ID> <SET_STATE_EXTERNAL>(&gt;H:#HTML_EVENT#)</SET_STATE_EXTERNAL> <EMISSIVE_CODE>(A:LIGHT POTENTIOMETER:#EMISSIVE_POTENTIOMETER#, percent over 100) #BUTTON_EMISSIVE_FACTOR# *</EMISSIVE_CODE> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • PART_ID (using BUTTON_ID)
      • WWISE_EVENT_1
      • WWISE_EVENT_2
      • NORMALIZED_TIME_1
      • NORMALIZED_TIME_2
      • TT_DESCRIPTION_ID (using BUTTON_ID)
      • TOOLTIP_TITLE (using BUTTON_ID)

    Templates used:

  • ASOBO_ADF_Knob_Volume_Template

    Definition from XML
    <Template Name="ASOBO_ADF_Knob_Volume_Template"> <Parameters Type="Default"> <WWISE_EVENT>adf_volume_knob</WWISE_EVENT> <COUNT>50</COUNT> <THRESHOLD_INPUT>0.000025</THRESHOLD_INPUT> <THRESHOLD_MOUSE>0.0025</THRESHOLD_MOUSE> </Parameters> <Parameters Type="Override"> <EVENT_CW>(&gt;K:ADF_VOLUME_INC)</EVENT_CW> <EVENT_CCW>(&gt;K:ADF_VOLUME_DEC)</EVENT_CCW> </Parameters> <Parameters Type="Override"> <Condition NotEmpty="CIRCUIT_ADF"> <EVENT_CW>#EVENT_CW# (A:ADF VOLUME:1, Percent) 0 &gt; (A:CIRCUIT SWITCH ON:#CIRCUIT_ADF#, Bool) != if{ #CIRCUIT_ADF# (&gt;K:ELECTRICAL_CIRCUIT_TOGGLE) }</EVENT_CW> <EVENT_CCW>#EVENT_CCW# (A:ADF VOLUME:1, Percent) 0 &gt; (A:CIRCUIT SWITCH ON:#CIRCUIT_ADF#, Bool) != if{ #CIRCUIT_ADF# (&gt;K:ELECTRICAL_CIRCUIT_TOGGLE) }</EVENT_CCW> <COMP_INIT_CODE>(A:ADF VOLUME:1, Percent) 0 == (A:CIRCUIT SWITCH ON:#CIRCUIT_ADF#, Bool) and if{ #CIRCUIT_ADF# (&gt;K:ELECTRICAL_CIRCUIT_TOGGLE) }</COMP_INIT_CODE> </Condition> </Parameters> <Parameters Type="Default"> <TT_DESCRIPTION_ID>@TT_Package.ADF_KNOB_RECEIVERVOLUME_ACTION</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.ADF_KNOB_RECEIVERVOLUME_TITLE</TOOLTIP_TITLE> </Parameters> <UseTemplate Name="ASOBO_NAVCOM_Alternative_Base_Template"> <KNOB_ID>ADF_Volume</KNOB_ID> <GET_TT_VALUE_STATE>(A:ADF VOLUME:1, percent)</GET_TT_VALUE_STATE> <ANIM_CODE>(A:ADF VOLUME:1, percent)</ANIM_CODE> <IS_INFINITE>False</IS_INFINITE> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • WWISE_EVENT
      • COUNT
      • THRESHOLD_INPUT
      • THRESHOLD_MOUSE
    • Override

      Parameters set:

      • EVENT_CW
      • EVENT_CCW
    • Override

      Condition: NotEmpty(CIRCUIT_ADF)

      • Case: True

        Parameters set:

        • EVENT_CW (using EVENT_CW, CIRCUIT_ADF)
        • EVENT_CCW (using EVENT_CCW, CIRCUIT_ADF)
        • COMP_INIT_CODE (using CIRCUIT_ADF)
    • Default

      Parameters set:

      • TT_DESCRIPTION_ID
      • TOOLTIP_TITLE

    Templates used:

  • ASOBO_ADF_Knob_Mode_Template

    Definition from XML
    <Template Name="ASOBO_ADF_Knob_Mode_Template"> <Parameters Type="Default"> <WWISE_EVENT>adf_mode_knob</WWISE_EVENT> <ANIM_LAG>600</ANIM_LAG> <COUNT>3</COUNT> <POS_BFO>0</POS_BFO> <POS_REC>1</POS_REC> <POS_ADF>2</POS_ADF> <POS_TEST>3</POS_TEST> <VAR_TYPE>L</VAR_TYPE> <VAR_NAME>XMLVAR_ADF_Mode</VAR_NAME> <INPUT_EVENT_ID_SOURCE>NAVCOM</INPUT_EVENT_ID_SOURCE> </Parameters> <Parameters Type="Override"> <KNOB_ID>ADF_Mode</KNOB_ID> <ENUM_VAL_BFO>0</ENUM_VAL_BFO> <ENUM_VAL_REC>1</ENUM_VAL_REC> <ENUM_VAL_ADF>2</ENUM_VAL_ADF> <ENUM_VAL_TEST>3</ENUM_VAL_TEST> </Parameters> <Parameters Type="Default"> <TT_DESCRIPTION_ID>@TT_Package.ADF_KNOB_MODE_ACTION_SET</TT_DESCRIPTION_ID> <TOOLTIP_TITLE>@TT_Package.ADF_KNOB_MODE_TITLE</TOOLTIP_TITLE> <INIT_POS>#POS_ADF#</INIT_POS> </Parameters> <UseTemplate Name="ASOBO_NAVCOM_Alternative_Base_Template"> <Condition NotEmpty="INIT_POS"> <COMP_INIT_CODE>#INIT_POS# (&gt;#VAR_TYPE#:#VAR_NAME#)</COMP_INIT_CODE> </Condition> <USE_BTN_IE>True</USE_BTN_IE> <NUM_STATES>4</NUM_STATES> <INTERACTION_TYPE>Knob</INTERACTION_TYPE> <SWITCH_DIRECTION>Horizontal</SWITCH_DIRECTION> <IS_INFINITE>False</IS_INFINITE> <GET_STATE_EXTERNAL>(#VAR_TYPE#:#VAR_NAME#) sp0</GET_STATE_EXTERNAL> <ENUM_VAL_TO_POS_EXTERNAL> l0 #ENUM_VAL_BFO# == if{ #POS_BFO# sp1 g2 } l0 #ENUM_VAL_REC# == if{ #POS_REC# sp1 g2 } l0 #ENUM_VAL_ADF# == if{ #POS_ADF# sp1 g2 } l0 #ENUM_VAL_TEST# == if{ #POS_TEST# sp1 g2 } :2 l1 </ENUM_VAL_TO_POS_EXTERNAL> <BTN_ID>#KNOB_ID#</BTN_ID> <TT_VALUE_#POS_BFO#>@TT_Package.GT_STATE_BFO</TT_VALUE_#POS_BFO#> <SET_STATE_#POS_BFO#>#ENUM_VAL_BFO# (&gt;#VAR_TYPE#:#VAR_NAME#)</SET_STATE_#POS_BFO#> <STR_STATE_#POS_BFO#>BFO</STR_STATE_#POS_BFO#> <CODE_POS_#POS_BFO#>(&gt;B:#INPUT_EVENT_ID_SOURCE#_#KNOB_ID#_BFO)</CODE_POS_#POS_BFO#> <STATE#POS_BFO#_TEST>(B:#INPUT_EVENT_ID_SOURCE#_#KNOB_ID#) #POS_BFO# ==</STATE#POS_BFO#_TEST> <TT_VALUE_#POS_REC#>@TT_Package.GT_STATE_REC</TT_VALUE_#POS_REC#> <SET_STATE_#POS_REC#>#ENUM_VAL_REC# (&gt;#VAR_TYPE#:#VAR_NAME#)</SET_STATE_#POS_REC#> <STR_STATE_#POS_REC#>REC</STR_STATE_#POS_REC#> <CODE_POS_#POS_REC#>(&gt;B:#INPUT_EVENT_ID_SOURCE#_#KNOB_ID#_REC)</CODE_POS_#POS_REC#> <STATE#POS_REC#_TEST>(B:#INPUT_EVENT_ID_SOURCE#_#KNOB_ID#) #POS_REC# ==</STATE#POS_REC#_TEST> <TT_VALUE_#POS_ADF#>@TT_Package.GT_STATE_ADF</TT_VALUE_#POS_ADF#> <SET_STATE_#POS_ADF#>#ENUM_VAL_ADF# (&gt;#VAR_TYPE#:#VAR_NAME#)</SET_STATE_#POS_ADF#> <STR_STATE_#POS_ADF#>ADF</STR_STATE_#POS_ADF#> <CODE_POS_#POS_ADF#>(&gt;B:#INPUT_EVENT_ID_SOURCE#_#KNOB_ID#_ADF)</CODE_POS_#POS_ADF#> <STATE#POS_ADF#_TEST>(B:#INPUT_EVENT_ID_SOURCE#_#KNOB_ID#) #POS_ADF# ==</STATE#POS_ADF#_TEST> <TT_VALUE_#POS_TEST#>@TT_Package.GT_STATE_TEST</TT_VALUE_#POS_TEST#> <SET_STATE_#POS_TEST#>#ENUM_VAL_TEST# (&gt;#VAR_TYPE#:#VAR_NAME#)</SET_STATE_#POS_TEST#> <STR_STATE_#POS_TEST#>TEST</STR_STATE_#POS_TEST#> <CODE_POS_#POS_TEST#>(&gt;B:#INPUT_EVENT_ID_SOURCE#_#KNOB_ID#_TEST)</CODE_POS_#POS_TEST#> <STATE#POS_TEST#_TEST>(B:#INPUT_EVENT_ID_SOURCE#_#KNOB_ID#) #POS_TEST# ==</STATE#POS_TEST#_TEST> </UseTemplate> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • WWISE_EVENT
      • ANIM_LAG
      • COUNT
      • POS_BFO
      • POS_REC
      • POS_ADF
      • POS_TEST
      • VAR_TYPE
      • VAR_NAME
      • INPUT_EVENT_ID_SOURCE
    • Override

      Parameters set:

      • KNOB_ID
      • ENUM_VAL_BFO
      • ENUM_VAL_REC
      • ENUM_VAL_ADF
      • ENUM_VAL_TEST
    • Default

      Parameters set:

      • TT_DESCRIPTION_ID
      • TOOLTIP_TITLE
      • INIT_POS (using POS_ADF)

    Templates used:

    • ASOBO_NAVCOM_Alternative_Base_Template

      Parameters set:

      • USE_BTN_IE
      • NUM_STATES
      • INTERACTION_TYPE
      • SWITCH_DIRECTION
      • IS_INFINITE
      • GET_STATE_EXTERNAL (using VAR_TYPE, VAR_NAME)
      • ENUM_VAL_TO_POS_EXTERNAL (using ENUM_VAL_BFO, POS_BFO, ENUM_VAL_REC, POS_REC, ENUM_VAL_ADF, POS_ADF, ENUM_VAL_TEST, POS_TEST)
      • BTN_ID (using KNOB_ID)
      • TT_VALUE_#POS_BFO#
      • SET_STATE_#POS_BFO# (using ENUM_VAL_BFO, VAR_TYPE, VAR_NAME)
      • STR_STATE_#POS_BFO#
      • CODE_POS_#POS_BFO# (using INPUT_EVENT_ID_SOURCE, KNOB_ID)
      • STATE#POS_BFO#_TEST (using INPUT_EVENT_ID_SOURCE, KNOB_ID, POS_BFO)
      • TT_VALUE_#POS_REC#
      • SET_STATE_#POS_REC# (using ENUM_VAL_REC, VAR_TYPE, VAR_NAME)
      • STR_STATE_#POS_REC#
      • CODE_POS_#POS_REC# (using INPUT_EVENT_ID_SOURCE, KNOB_ID)
      • STATE#POS_REC#_TEST (using INPUT_EVENT_ID_SOURCE, KNOB_ID, POS_REC)
      • TT_VALUE_#POS_ADF#
      • SET_STATE_#POS_ADF# (using ENUM_VAL_ADF, VAR_TYPE, VAR_NAME)
      • STR_STATE_#POS_ADF#
      • CODE_POS_#POS_ADF# (using INPUT_EVENT_ID_SOURCE, KNOB_ID)
      • STATE#POS_ADF#_TEST (using INPUT_EVENT_ID_SOURCE, KNOB_ID, POS_ADF)
      • TT_VALUE_#POS_TEST#
      • SET_STATE_#POS_TEST# (using ENUM_VAL_TEST, VAR_TYPE, VAR_NAME)
      • STR_STATE_#POS_TEST#
      • CODE_POS_#POS_TEST# (using INPUT_EVENT_ID_SOURCE, KNOB_ID)
      • STATE#POS_TEST#_TEST (using INPUT_EVENT_ID_SOURCE, KNOB_ID, POS_TEST)

      Condition: NotEmpty(INIT_POS)

      • Case: True

        Parameters set:

        • COMP_INIT_CODE (using INIT_POS, VAR_TYPE, VAR_NAME)