<AddinTemplates
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:noNamespaceSchemaLocation="../../Infrastructure/Schemas/AnalysisTemplatesSchema.xsd"
>
    <ComponentTemplates>
        <ComponentTemplate Shareable="true" Replaceable="false" Required="false" Image="model" Id="AQWAModelCellTemplate" RefreshAfterPartialUpdate="true" >
            <CreateCommand>Ansys.AQWA.Commands.CreateModelCell, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</CreateCommand>
            <UpdateCommand>Ansys.AQWA.Commands.UpdateModel, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</UpdateCommand>
            <RefreshCommand>Ansys.AQWA.Commands.RefreshModelCommand, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</RefreshCommand>
            <ResetCommand>Ansys.AQWA.Commands.NewModel, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</ResetCommand>
            <DuplicateCommand>Ansys.AQWA.Commands.CloneModel, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</DuplicateCommand>
            <StatusQuery>Ansys.AQWA.Commands.GetAqwaModelState, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</StatusQuery>
            <CanUseTransferQuery>Ansys.AQWA.Commands.GetModelCanUseTransfer, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</CanUseTransferQuery>
            <SourcesChangedCommand>Ansys.AQWA.Commands.ModelSourcesChanged, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</SourcesChangedCommand>
            <DeletingContainerCommand>Ansys.AQWA.Commands.DeletingContainerCommand, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</DeletingContainerCommand>
            <ComponentPropertyDataQuery>Ansys.AQWA.DataModel.GetModelProperties, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</ComponentPropertyDataQuery>

            <InputLists>
                <InputList>
                    <MandatoryInput>Geometry</MandatoryInput>
                </InputList>
              <InputList>
                <MandatoryInput MaxNumberOfInputs="1">GeneratedMeshOutputForAQWAModelProvider</MandatoryInput>
              </InputList>
            </InputLists>
          <EquivalentInputLists>
            <EquivalentInputList>
              <EquivalentInput>Geometry</EquivalentInput>
              <EquivalentInput>GeneratedMeshOutputForAQWAModelProvider</EquivalentInput>
            </EquivalentInputList>
          </EquivalentInputLists>
          <OutputList>
                <Output>AqwaModel</Output>
            </OutputList>

        </ComponentTemplate>
        <ComponentTemplate Shareable="false" Replaceable="true" Required="false" Image="setup" Id="AQWASetupHDCellTemplate">
            <CreateCommand>Ansys.AQWA.Commands.CreateSetupCell, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</CreateCommand>
            <UpdateCommand>Ansys.AQWA.Commands.UpdateSetup, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</UpdateCommand>
            <RefreshCommand>Ansys.AQWA.Commands.RefreshSetupCommand, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</RefreshCommand>
            <ResetCommand>Ansys.AQWA.Commands.NewModel, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</ResetCommand>
            <DuplicateCommand>Ansys.AQWA.Commands.CloneSetup, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</DuplicateCommand>
            <StatusQuery>Ansys.AQWA.Commands.GetSetupState, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</StatusQuery>
            <CanUseTransferQuery>Ansys.AQWA.Commands.GetSolutionCanUseTransfer, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</CanUseTransferQuery>
            <DeletingContainerCommand>Ansys.AQWA.Commands.DeletingContainerCommand, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</DeletingContainerCommand>
            <ComponentPropertyDataQuery>Ansys.AQWA.DataModel.GetSetupProperties, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</ComponentPropertyDataQuery>

            <InputLists>
                <InputList>
                    <MandatoryInput>AqwaModel</MandatoryInput>
                </InputList>
            </InputLists>
            <OutputList>
                <Output>AqwaSetup</Output>
            </OutputList>

        </ComponentTemplate>
        <ComponentTemplate Shareable="false" Replaceable="true" Required="false" Image="solution" Id="AQWAAnalysisCellTemplate">
            <CreateCommand>Ansys.AQWA.Commands.CreateAnalysisCell, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</CreateCommand>
            <UpdateCommand>Ansys.AQWA.Commands.UpdateSolution, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</UpdateCommand>
            <ResetCommand>Ansys.AQWA.Commands.ResetSolution, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</ResetCommand>
            <DuplicateCommand>Ansys.AQWA.Commands.CloneSolution, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</DuplicateCommand>
            <StatusQuery>Ansys.AQWA.Commands.GetAnalysisState, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</StatusQuery>
            <CanUseTransferQuery>Ansys.AQWA.Commands.GetSolutionCanUseTransfer, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</CanUseTransferQuery>
            <DeletingContainerCommand>Ansys.AQWA.Commands.DeletingContainerCommand, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</DeletingContainerCommand>
            <ComponentPropertyDataQuery>Ansys.AQWA.DataModel.GetSolutionProperties, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</ComponentPropertyDataQuery>

            <InputLists>
                <InputList>
                    <MandatoryInput>AqwaSetup</MandatoryInput>
                </InputList>
            </InputLists>
            <OutputList>
              <Output>ExternalDataSetupForAqwa</Output>
              <Output>AqwaSolution</Output>
            </OutputList>

        </ComponentTemplate>
        <ComponentTemplate Shareable="false" Replaceable="true" Required="false" Image="results" Id="AQWAResultsCellTemplate">
            <CreateCommand>Ansys.AQWA.Commands.CreateResultsCell, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</CreateCommand>
            <UpdateCommand>Ansys.AQWA.Commands.UpdateResults, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</UpdateCommand>
            <RefreshCommand>Ansys.AQWA.Commands.RefreshResultsCommand, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</RefreshCommand>
            <ResetCommand>Ansys.AQWA.Commands.NewModel, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</ResetCommand>
            <DuplicateCommand>Ansys.AQWA.Commands.CloneResults, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</DuplicateCommand>
            <StatusQuery>Ansys.AQWA.Commands.GetResultsState, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</StatusQuery>
            <CanUseTransferQuery>Ansys.AQWA.Commands.GetSolutionCanUseTransfer, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</CanUseTransferQuery>
            <DeletingContainerCommand>Ansys.AQWA.Commands.DeletingContainerCommand, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</DeletingContainerCommand>
            <ComponentPropertyDataQuery>Ansys.AQWA.DataModel.GetResultsProperties, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</ComponentPropertyDataQuery>

            <InputLists>
                <InputList>
                    <MandatoryInput>AqwaSolution</MandatoryInput>
                </InputList>
            </InputLists>
            <OutputList>
                <Output>AqwaResults</Output>
            </OutputList>

        </ComponentTemplate>
        <ComponentTemplate Shareable="false" Replaceable="false" Required="false" Image="setup" Id="AQWASetupTHCellTemplate">
            <CreateCommand>Ansys.AQWA.Commands.CreateSetupTHCell, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</CreateCommand>
            <UpdateCommand>Ansys.AQWA.Commands.UpdateSetup, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</UpdateCommand>
            <ResetCommand>Ansys.AQWA.Commands.NewModel, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</ResetCommand>
            <RefreshCommand>Ansys.AQWA.Commands.RefreshSetupCommand, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</RefreshCommand>
            <DuplicateCommand>Ansys.AQWA.Commands.CloneSetup, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</DuplicateCommand>
            <StatusQuery>Ansys.AQWA.Commands.GetSetupState, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</StatusQuery>
            <CanUseTransferQuery>Ansys.AQWA.Commands.GetSolutionCanUseTransfer, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</CanUseTransferQuery>
            <ComponentPropertyDataQuery>Ansys.AQWA.DataModel.GetSetupProperties, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</ComponentPropertyDataQuery>
            <SourcesChangedCommand>Ansys.AQWA.Commands.SetupSourcesChangedCommand, Ans.AQWA.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</SourcesChangedCommand>

            <InputLists>
                <!-- Remove the common sources attribute when we allow linking without a shared model -->
                <InputList>
                    <MandatoryInput>AqwaModel</MandatoryInput>
                    <MandatoryInput CommonSources="AqwaModel">AqwaSolution</MandatoryInput>
                </InputList>
                <InputList>
                    <MandatoryInput>AqwaModel</MandatoryInput>
                </InputList>
            </InputLists>
            <OutputList>
                <Output>AqwaSetup</Output>
            </OutputList>

        </ComponentTemplate>
    </ComponentTemplates>

    <!-- The Mesh Component template MUST be first in this list in order for the license capabilites -->
    <SystemTemplates>
        <SystemTemplate Id="HydrodynamicDiffractionSystemTemplate">
            <ExternalComponent Caption="Geometry" ComponentTemplateId="GeometryCellTemplate"/>
            <InternalComponent Caption="Model" ComponentTemplateId="AQWAModelCellTemplate"/>
            <InternalComponent Caption="Setup" ComponentTemplateId="AQWASetupHDCellTemplate"/>
            <InternalComponent Caption="Solution" ComponentTemplateId="AQWAAnalysisCellTemplate"/>
            <InternalComponent Caption="Results" ComponentTemplateId="AQWAResultsCellTemplate"/>
        </SystemTemplate>
        <SystemTemplate Id="HydrodynamicResponseSystemTemplate">
            <ExternalComponent Caption="Geometry" ComponentTemplateId="GeometryCellTemplate"/>
            <InternalComponent Caption="Model" ComponentTemplateId="AQWAModelCellTemplate"/>
            <InternalComponent Caption="Setup" ComponentTemplateId="AQWASetupTHCellTemplate"/>
            <InternalComponent Caption="Solution" ComponentTemplateId="AQWAAnalysisCellTemplate"/>
            <InternalComponent Caption="Results" ComponentTemplateId="AQWAResultsCellTemplate"/>
        </SystemTemplate>
    </SystemTemplates>

    <Systems>
        <!-- Note that the Caption attribute on all SystemType and Component nodes must be included in the .ts file so that they can be correctly translated. -->
        <System Caption="Hydrodynamic Diffraction" Id="Hydrodynamic Diffraction (AQWA)" Image="Hydrodynamic" SystemTemplateId="HydrodynamicDiffractionSystemTemplate" Abbreviation="AQW" ToolboxGroup="Analysis Systems" ValidationCode="10126">
            <Property Name="AnalysisType">Hydrodynamic Diffraction</Property>
            <Property Name="PhysicsType">Modal</Property>
            <Property Name="SolverType">AQWA</Property>
            <Property Name="SystemTypeName">Hydrodynamic Diffraction</Property>
            <Property Name="AnalysisTypeDisplayString">Hydrodynamic Diffraction</Property>
            <Property Name="PhysicsTypeDisplayString">Modal</Property>
            <Property Name="SolverTypeDisplayString">AQWA</Property>

        </System>
        <System Caption="Hydrodynamic Response" Id="Hydrodynamic Response (AQWA)" Image="Diffraction_Radiation" SystemTemplateId="HydrodynamicResponseSystemTemplate" Abbreviation="AQW" ToolboxGroup="Analysis Systems" ValidationCode="10126">
            <Property Name="AnalysisType">Hydrodynamic Response</Property>
            <Property Name="PhysicsType">Transient</Property>
            <Property Name="SolverType">AQWA</Property>
            <Property Name="SystemTypeName">Hydrodynamic Response</Property>
            <Property Name="AnalysisTypeDisplayString">Hydrodynamic Response</Property>
            <Property Name="PhysicsTypeDisplayString">Transient</Property>
            <Property Name="SolverTypeDisplayString">AQWA</Property>

        </System>
    </Systems>

    <HelpIds>
        <SidebarHelpIds>
            <SidebarHelpId SystemId="Hydrodynamic Diffraction (AQWA)">wb2sb_hdiffAN</SidebarHelpId>
            <SidebarHelpId SystemId="Hydrodynamic Response (AQWA)">wb2sb_htrAN</SidebarHelpId>
        </SidebarHelpIds>
        <Tooltips>
            <Tooltip SystemId="Hydrodynamic Diffraction (AQWA)">Hydrodynamic Diffraction analysis using Aqwa solver</Tooltip>
            <Tooltip SystemId="Hydrodynamic Response (AQWA)">Hydrodynamic Response analysis using Aqwa solver</Tooltip>
        </Tooltips>
        <QuickHelpIdList>
            <QuickHelpIds ContainerName="Model">
                <QuickHelpId State="Unfulfilled">wb2qh_modelcomp_aqwa_unf</QuickHelpId>
                <QuickHelpId State="OutOfDate">wb2qh_modelcomp_aqwa_rr</QuickHelpId>
                <QuickHelpId State="Incomplete">wb2qh_modelcomp_aqwa_ur</QuickHelpId>
            </QuickHelpIds>
            <QuickHelpIds ContainerName="Setup">
                <QuickHelpId State="Unfulfilled">wb2qh_setupcomp_aqwa_unf</QuickHelpId>
                <QuickHelpId State="OutOfDate">wb2qh_setupcomp_aqwa_rr</QuickHelpId>
                <QuickHelpId State="Incomplete">wb2qh_setupcomp_aqwa_ur</QuickHelpId>
            </QuickHelpIds>
            <QuickHelpIds ContainerName="Solution">
                <QuickHelpId State="Unfulfilled">wb2qh_solucomp_aqwa_unf</QuickHelpId>
                <QuickHelpId State="Incomplete">wb2qh_solucomp_aqwa_ur</QuickHelpId>
            </QuickHelpIds>
        </QuickHelpIdList>
    </HelpIds>
</AddinTemplates>
