<!DOCTYPE Tree SYSTEM "IPSA.dtd">
<Tree chk="625630126" type="Script" onEnd="default" onBackExit="back">
<Header>
<IFile>
<FileName name="script_telexx_updatedownloadtoyotaactionpreparation">
</FileName>
<Modif date="19/08/2019" user="aplot" site="THESAU">
</Modif>
</IFile>
<ITool name="ime2" revision="7.5.0.1" exedate="08/07/2016">
</ITool>
</Header>
<precel>
<TreeInfo posc=7 posl=1 ident=11>
<Comment>Recherche du bon scenario d'update
</Comment>
</TreeInfo>
</precel>
<cel>
<Start posc=13 posl=3 destc=13 destl=5 ident=12>
</Start>
<Act posc=13 posl=7 destc=13 destl=9 ident=21>
<Comment>GetUpdateActionParameters
</Comment>
<TeleXX_TPM>
<TeleXX_GetUpdateActionParameters_TPM>
</TeleXX_GetUpdateActionParameters_TPM>
</TeleXX_TPM>
</Act>
<Act posc=13 posl=15 destc=13 destl=17 ident=22>
<Comment>STCAPI::GetNextUri
</Comment>
<TeleXX_TPM>
<TeleXX_GetNextURI_TPM validityCode="YES">
</TeleXX_GetNextURI_TPM>
</TeleXX_TPM>
</Act>
<End posc=13 posl=37 ident=29>
</End>
<Test posc=13 posl=9 destyesc=13 destyesl=11 destnoc=17 destnol=9 ident=30>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<HexaInt>3
</HexaInt>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Switch posc=13 posl=11 ident=31>
<Source>
<FloatVar name="VMEM">
</FloatVar>
</Source>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>1
</FloatNumber>
</Source>
<TargetCell destc=13 destl=13>
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc=27 destl=33>
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<Test posc=13 posl=17 destyesc=13 destyesl=19 destnoc=27 destnol=33 ident=32>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<HexaInt>3
</HexaInt>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Switch posc=13 posl=19 ident=33>
<Source>
<FloatVar name="VMEM">
</FloatVar>
</Source>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>0
</FloatNumber>
</Source>
<TargetCell destc=27 destl=33>
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>1
</FloatNumber>
</Source>
<TargetCell destc=9 destl=19>
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>2
</FloatNumber>
</Source>
<TargetCell destc=13 destl=21>
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc=27 destl=33>
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<Act posc=27 posl=37 destc=25 destl=37 ident=36>
<Comment>Aquittement négatif Serav
</Comment>
<TeleXX_TPM>
<TeleXX_SetActionAck_TPM>
<actionName>
<TextBuffer name="TELEXX_CURRENT_ACTION_NAME">
</TextBuffer>
</actionName>
<ackCode>
<TextBuffer name="TELEXX_ACK_CODE">
</TextBuffer>
</ackCode>
<ackLevel>
<TextBuffer name="TELEXX_ACK_LEVEL">
</TextBuffer>
</ackLevel>
<ackComment>
<TextBuffer name="TELEXX_ACK_COMMENT">
</TextBuffer>
</ackComment>
</TeleXX_SetActionAck_TPM>
</TeleXX_TPM>
</Act>
<Act posc=13 posl=5 destc=13 destl=7 ident=37>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="TELEXX_CONTENT_INJECTION_RETURN">
</TextBuffer>
</Destination>
</Clear>
<Clear>
<Destination>
<TextBuffer name="TELEXX_CURRENT_ACTION_NAME">
</TextBuffer>
</Destination>
</Clear>
<Clear>
<Destination>
<TextBuffer name="TELEXX_ACK_CODE">
</TextBuffer>
</Destination>
</Clear>
<Clear>
<Destination>
<TextBuffer name="TELEXX_ACK_LEVEL">
</TextBuffer>
</Destination>
</Clear>
<Clear>
<Destination>
<TextBuffer name="TELEXX_ACK_COMMENT">
</TextBuffer>
</Destination>
</Clear>
<Clear>
<Destination>
<TextBuffer name="DOWNLOAD_FILE_CODE">
</TextBuffer>
</Destination>
</Clear>
<Clear>
<Destination>
<TextBuffer name="VALIDITY_CODE_CODE">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="OK">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TELEXX_CONTENT_INJECTION_RETURN">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="UPDATE">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TELEXX_CURRENT_ACTION_NAME">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="CHFFF">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TELEXX_ACK_CODE">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="E">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TELEXX_ACK_LEVEL">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=13 posl=13 destc=13 destl=15 ident=49>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="GET_NEXT_URI_FILE_TYPE">
</TextBuffer>
</Destination>
</Clear>
<Clear>
<Destination>
<TextBuffer name="GET_NEXT_URI_DIRECTORY">
</TextBuffer>
</Destination>
</Clear>
<Clear>
<Destination>
<TextBuffer name="GET_NEXT_URI_FILE_NAME">
</TextBuffer>
</Destination>
</Clear>
<Clear>
<Destination>
<TextBuffer name="GET_NEXT_URI_VALIDITY_CODE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
</Act>
<Switch posc=9 posl=19 ident=50>
<Source>
<TextBuffer name="GET_NEXT_URI_FILE_TYPE">
</TextBuffer>
</Source>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="CUW">
</ASCIIString>
</Source>
<TargetCell destc=9 destl=13>
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc=27 destl=33>
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<Act posc=9 posl=13 destc=13 destl=13 ident=56>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="DOWNLOAD_FILE_CODE">
</TextBuffer>
</Destination>
</Clear>
<EvalExpression>
<Expression value="%%LBT_GET_NEXT_URI_DIRECTORY%%%%ADD%%%%LBT_GET_NEXT_URI_FILE_NAME%%">
</Expression>
<Destination>
<TextBuffer name="DOWNLOAD_FILE_CODE">
</TextBuffer>
</Destination>
</EvalExpression>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="GET_NEXT_URI_VALIDITY_CODE">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="VALIDITY_CODE_CODE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<MsgScreen posc=17 posl=37 destc=13 destl=37 ident=61 IsANode="NO" EnableBackJumps="DEFAULT" Printable="NO" EscapeBtn="NO" BackBtn="NO" OkBtn="YES" MsgType="INFO" WindowStyle="POPUP">
<Comment>Ecran 19 : couper et remettre le contact
</Comment>
<MsgItem>
<LabelContent>
<Paragraph>
<ThesauRequest>@P2138-POLUXXPERT
</ThesauRequest>
</Paragraph>
</LabelContent>
</MsgItem>
</MsgScreen>
<SubTree posc=27 posl=33 destc=27 destl=37 ident=75 FileName="script_telexx_updateError.s" IsCritical="NO">
<FilePath path="TeleXX_TPM">
</FilePath>
</SubTree>
<Act posc=25 posl=37 destc=17 destl=37 ident=76>
<Comment>Création du message d'erreur
</Comment>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="TELEXX_ERROR_TYPE">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="COM">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TELEXX_ERROR_TYPE">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="@P1880-POLUXXPERT">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DOWNLOAD_ERROR">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="@\n">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="SEPARATOR_ERROR_MSG">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<TeleXX_TPM>
<TeleXX_GetMessageFromCode_TPM auto="NO">
<actionName>
<TextBuffer name="TELEXX_CURRENT_ACTION_NAME">
</TextBuffer>
</actionName>
<errorType>
<TextBuffer name="TELEXX_ERROR_TYPE">
</TextBuffer>
</errorType>
<errorCode>
<TextBuffer name="TELEXX_ACK_CODE">
</TextBuffer>
</errorCode>
<errorLevel>
<TextBuffer name="TELEXX_ACK_LEVEL">
</TextBuffer>
</errorLevel>
<errorComment>
<TextBuffer name="TELEXX_ACK_COMMENT">
</TextBuffer>
</errorComment>
<messageResult>
<TextBuffer name="TELEXX_ERROR_MSG_RESULT">
</TextBuffer>
</messageResult>
</TeleXX_GetMessageFromCode_TPM>
</TeleXX_TPM>
<MathAndLogic>
<EvalExpression>
<Expression value="%%LBT_DOWNLOAD_ERROR%%%%ADD%%%%LBT_SEPARATOR_ERROR_MSG%%%%ADD%%%%LBT_TELEXX_ERROR_MSG_RESULT%%">
</Expression>
<Destination>
<TextBuffer name="ERROR_MSG">
</TextBuffer>
</Destination>
</EvalExpression>
</MathAndLogic>
</Act>
<Switch posc=17 posl=9 ident=77>
<Source>
<FloatVar name="VMEM">
</FloatVar>
</Source>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>0
</FloatNumber>
</Source>
<TargetCell destc=27 destl=33>
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>2
</FloatNumber>
</Source>
<TargetCell destc=27 destl=33>
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc=27 destl=33>
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<Act posc=13 posl=31 destc=13 destl=33 ident=80>
<Comment>Demande de Déverouillage - Demandé tout le temps
</Comment>
<TeleXX>
<TeleXX_SetUnlockDemand_TPM>
</TeleXX_SetUnlockDemand_TPM>
</TeleXX>
</Act>
<Test posc=13 posl=33 destyesc=13 destyesl=35 destnoc=27 destnol=33 ident=81>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<HexaInt>3
</HexaInt>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Switch posc=13 posl=35 ident=82>
<Source>
<FloatVar name="VMEM">
</FloatVar>
</Source>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>0
</FloatNumber>
</Source>
<TargetCell destc=27 destl=37>
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>1
</FloatNumber>
</Source>
<TargetCell destc=13 destl=37>
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc=27 destl=37>
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<SubTree posc=13 posl=21 destc=13 destl=23 ident=83 FileName="data_screen_toyota.s" IsCritical="NO">
<FilePath path="Vehicle\gen\TLCH\TOYOTA">
</FilePath>
</SubTree>
<Test posc=13 posl=23 destyesc=13 destyesl=25 destnoc=27 destnol=33 ident=85>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<StandardValue name="TRUE">
</StandardValue>
</Source>
<Source>
<TextBuffer name="TELE_TOYOTA_FULLPROCEDURE">
</TextBuffer>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=13 posl=25 destc=13 destl=27 ident=86>
<Comment>Affichage Au premier plan de l ecran de progression
</Comment>
<TeleXX>
<TeleXX_ShowProgress_TPM>
</TeleXX_ShowProgress_TPM>
</TeleXX>
</Act>
<Act posc=13 posl=29 destc=13 destl=31 ident=90>
<Comment>Affichage Au premier plan de l ecran de progression
</Comment>
<TeleXX>
<TeleXX_ShowProgress_TPM>
</TeleXX_ShowProgress_TPM>
</TeleXX>
</Act>
<SubTree posc=13 posl=27 destc=13 destl=29 ident=91 FileName="informations_and_apc.s" IsCritical="NO">
<FilePath path="Vehicle\gen\TLCH\TOYOTA">
</FilePath>
</SubTree>
</cel>
</Tree>
