<!DOCTYPE Tree SYSTEM "IPSA.dtd">
<Tree chk="330271529" type="Script" onEnd="default" onBackExit="back">
<Header>
<IFile>
<FileName name="BECH_VARIANTE_CALCULATEUR">
</FileName>
<Modif date="25/07/2018" site="Actia" user="E486956">
</Modif>
</IFile>
<ITool exedate="09/07/2018" name="fr.actia.flowchart.editor.model.engineID" revision="7.1.0.201805251350">
</ITool>
</Header>
<precel>
</precel>
<cel>
<Start posc=5 posl=2 destc="7" destl="2" ident=10>
<Comment>Menu de gestion de variantes
</Comment>
</Start>
<Test posc=7 posl=2 destyesc=14 destyesl=3 destnoc=7 destnol=4 ident=11>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<ECUData ParamName="STATE">
</ECUData>
</Source>
<Source>
<ASCIIString value="Degraded">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=7 posl=4 destc="9" destl="4" ident=12>
<Comment>Recupération de la variante en mode reconnu
</Comment>
<MathAndLogic>
<Clear>
<Destination>
<GlobalTextBuffer name="VAR_BECH">
</GlobalTextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="DESCRIPTOR">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN_DIAG_MODE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="OUTPUT_DIAG_MODE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<ECUFunctionCall name="ECU_DESCRIPTOR">
<TextBuffer name="IN_DIAG_MODE">
</TextBuffer>
<Destination>
<TextBuffer name="OUTPUT_DIAG_MODE">
</TextBuffer>
</Destination>
</ECUFunctionCall>
</ECUCommunication>
<Execution>
</Execution>
</Act>
<Switch posc=9 posl=4 ident=14>
<Comment>Test de la variante en mode reconnu
</Comment>
<Source>
<TextBuffer name="OUTPUT_DIAG_MODE">
<Position>
<ValPos>4
</ValPos>
</Position>
<Length>5
</Length>
</TextBuffer>
</Source>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="VAR_B">
</ASCIIString>
</Source>
<TargetCell destc="14" destl="3">
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc="14" destl="3">
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<Act posc=14 posl=3 destc="17" destl="6" ident=15>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="B">
</ASCIIString>
</Source>
<Destination>
<GlobalTextBuffer name="VAR_BECH">
</GlobalTextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<End posc=17 posl=6 ident=17>
</End>
</cel>
</Tree>
