[Go back to index]

Asobo\Generic\Visibility.xml

Source XML
<ModelBehaviors> <!-- ####################################################################### --> <!-- ######################### Visibility Templates ######################## --> <!-- ####################################################################### --> <!-- Visibility parameter, driven by simvar. Required parameter: VISIBILITY_SIMVAR VISIBILITY_SIMVAR_UNITS --> <Template Name = "ASOBO_GT_Visibility_Sim"> <DefaultTemplateParameters> <VISIBILITY_SIMVAR_SCALE>1</VISIBILITY_SIMVAR_SCALE> <VISIBILITY_SIMVAR_BIAS>0</VISIBILITY_SIMVAR_BIAS> </DefaultTemplateParameters> <Visibility> <Parameter> <Sim> <Variable>#VISIBILITY_SIMVAR#</Variable> <Units>#VISIBILITY_SIMVAR_UNITS#</Units> <Scale>#VISIBILITY_SIMVAR_SCALE#</Scale> <Bias>#VISIBILITY_SIMVAR_BIAS#</Bias> </Sim> </Parameter> </Visibility> </Template> <!-- Visibility parameter, driven by code. Required parameter: VISIBILITY_CODE --> <Template Name = "ASOBO_GT_Visibility_Code"> <DefaultTemplateParameters> <ONCE>False</ONCE> </DefaultTemplateParameters> <Visibility Once="#ONCE#"> <Parameter> <Code>#VISIBILITY_CODE#</Code> </Parameter> </Visibility> </Template> <!-- Visibility parameter, driven by code. Required parameter: VISIBILITY_CODE --> <Template Name = "ASOBO_GT_Visibility"> <Condition Check="VISIBILITY_SIMVAR"> <True> <UseTemplate Name="ASOBO_GT_Visibility_Sim"> </UseTemplate> </True> <False> <UseTemplate Name="ASOBO_GT_Visibility_Code"> </UseTemplate> </False> </Condition> </Template> </ModelBehaviors>

Templates

Template list
  • ASOBO_GT_Visibility_Sim

    Definition from XML
    <Template Name="ASOBO_GT_Visibility_Sim"> <DefaultTemplateParameters> <VISIBILITY_SIMVAR_SCALE>1</VISIBILITY_SIMVAR_SCALE> <VISIBILITY_SIMVAR_BIAS>0</VISIBILITY_SIMVAR_BIAS> </DefaultTemplateParameters> <Visibility> <Parameter> <Sim> <Variable>#VISIBILITY_SIMVAR#</Variable> <Units>#VISIBILITY_SIMVAR_UNITS#</Units> <Scale>#VISIBILITY_SIMVAR_SCALE#</Scale> <Bias>#VISIBILITY_SIMVAR_BIAS#</Bias> </Sim> </Parameter> </Visibility> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • VISIBILITY_SIMVAR_SCALE
      • VISIBILITY_SIMVAR_BIAS

    Parameters read:

    • VISIBILITY_SIMVAR
    • VISIBILITY_SIMVAR_UNITS
    • VISIBILITY_SIMVAR_SCALE
    • VISIBILITY_SIMVAR_BIAS
  • ASOBO_GT_Visibility_Code

    Definition from XML
    <Template Name="ASOBO_GT_Visibility_Code"> <DefaultTemplateParameters> <ONCE>False</ONCE> </DefaultTemplateParameters> <Visibility Once="#ONCE#"> <Parameter> <Code>#VISIBILITY_CODE#</Code> </Parameter> </Visibility> </Template>

    Parameters initialization:

    • Default

      Parameters set:

      • ONCE

    Parameters read:

    • ONCE
    • VISIBILITY_CODE
  • ASOBO_GT_Visibility

    Definition from XML
    <Template Name="ASOBO_GT_Visibility"> <Condition Check="VISIBILITY_SIMVAR"> <True> <UseTemplate Name="ASOBO_GT_Visibility_Sim"/> </True> <False> <UseTemplate Name="ASOBO_GT_Visibility_Code"/> </False> </Condition> </Template>

    Condition: Check(VISIBILITY_SIMVAR)