<!DOCTYPE Tree SYSTEM "IPSA.dtd">
<Tree chk="1693900950" type="Script">
<Header>
<IFile>
<FileName name="script_telexx_updatespeedlimiteraction">
</FileName>
<Modif date="11/04/2012" user="rfanfell" site="THESAU">
</Modif>
</IFile>
<ITool name="ime2" revision="7.3.1.0" exedate="17/02/2010">
</ITool>
</Header>
<precel>
<TreeInfo posc=7 posl=1 ident=11>
<Comment>Recherche du bon scenario d'update SPEED_LIMITER
</Comment>
</TreeInfo>
</precel>
<cel>
<Start posc=13 posl=3 destc=13 destl=5 ident=12>
</Start>
<Act posc=13 posl=5 destc=13 destl=7 ident=37>
<MathAndLogic>
<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>
<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=15 destc=13 destl=17 ident=68>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="$RAWVALUE$">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN_SPEED_LIMITER_START">
</TextBuffer>
</Destination>
</Assignment>
<EvalExpression>
<Expression value="%%LBT_IN_SPEED_LIMITER_START%%%%ADD%%%%LBT_IN_SPEED_LIMITER_PARAM_FROM_SERAV%%">
</Expression>
<Destination>
<TextBuffer name="IN_SPEED_LIMITER">
</TextBuffer>
</Destination>
</EvalExpression>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="OUTPUT_SPEED_LIMITER">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<ECUFunctionCall name="APPGEN_RAW">
<TextBuffer name="IN_SPEED_LIMITER">
</TextBuffer>
<Destination>
<TextBuffer name="OUTPUT_SPEED_LIMITER">
</TextBuffer>
</Destination>
</ECUFunctionCall>
</ECUCommunication>
</Act>
<Act posc=13 posl=25 destc=13 destl=27 ident=69>
<Comment>Aquittement positif Serav
</Comment>
<MathAndLogic>
<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>
<Assignment>
<Source>
<ASCIIString value="UPDATE">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TELEXX_CURRENT_ACTION_NAME">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="000000">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TELEXX_ACK_CODE">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="I">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TELEXX_ACK_LEVEL">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<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>
<Test posc=13 posl=17 destyesc=13 destyesl=21 destnoc=29 destnol=21 ident=71>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<StandardValue name="SUCCESS">
</StandardValue>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Test posc=13 posl=21 destyesc=13 destyesl=25 destnoc=17 destnol=21 ident=72>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUTPUT_SPEED_LIMITER">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>6
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="ES|00|">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<SubTree posc=25 posl=21 destc=29 destl=21 ident=73 FileName="script_telexx_updateError.s" IsCritical="NO">
<FilePath path="TeleXX_TPM">
</FilePath>
</SubTree>
<Act posc=29 posl=21 destc=33 destl=31 ident=74>
<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>
<End posc=13 posl=35 ident=77>
</End>
<Test posc=17 posl=21 destyesc=17 destyesl=23 destnoc=21 destnol=21 ident=78>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUTPUT_SPEED_LIMITER">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>5
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="ES|01">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Test posc=21 posl=21 destyesc=21 destyesl=23 destnoc=25 destnol=21 ident=79>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUTPUT_SPEED_LIMITER">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>6
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="ES|02|">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=17 posl=23 destc=25 destl=21 ident=80>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="TELEXX_ERROR_TYPE_COMM_ERROR">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TELEXX_ERROR_TYPE_DESCR">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=21 posl=23 destc=21 destl=25 ident=81>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="TELEXX_ERROR_TYPE_NACK_SPEED_LIMITER">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TELEXX_ERROR_TYPE_DESCR">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=13 posl=27 destyesc=13 destyesl=29 destnoc=17 destnol=29 ident=87>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<StandardValue name="SUCCESS">
</StandardValue>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Switch posc=13 posl=29 ident=88>
<Source>
<FloatVar name="VMEM">
</FloatVar>
</Source>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>0
</FloatNumber>
</Source>
<TargetCell destc=17 destl=29>
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>1
</FloatNumber>
</Source>
<TargetCell destc=13 destl=33>
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc=13 destl=33>
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<Act posc=13 posl=7 destc=13 destl=9 ident=92>
<TeleXX_TPM>
<AppToECUData>
<ECUGroupName>
<TextBuffer name="SPEED_LIMITER_FAMILY">
</TextBuffer>
</ECUGroupName>
<ECUName>
<TextBuffer name="SPEED_LIMITER_ECU">
</TextBuffer>
</ECUName>
</AppToECUData>
</TeleXX_TPM>
</Act>
<Act posc=13 posl=9 destc=13 destl=11 ident=94>
<ECUCommunication>
<OpenECU>
<ECUIdEx>
<ECUGroupName>
<TextBuffer name="SPEED_LIMITER_FAMILY">
</TextBuffer>
</ECUGroupName>
<ECUName>
<TextBuffer name="SPEED_LIMITER_ECU">
</TextBuffer>
</ECUName>
</ECUIdEx>
</OpenECU>
</ECUCommunication>
</Act>
<Test posc=13 posl=11 destyesc=13 destyesl=15 destnoc=17 destnol=15 ident=95>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="DIFFERENT">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<FloatNumber>9
</FloatNumber>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=17 posl=15 destc=25 destl=21 ident=100>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="TELEXX_ERROR_TYPE_COMM_ERROR">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TELEXX_ERROR_TYPE_DESCR">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=21 posl=25 destc=21 destl=27 ident=101>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="OUTPUT_SPEED_LIMITER">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="TKN_IN_STRING">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="RAWDATA">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TKN_IN_MNEMO">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<SubTree posc=21 posl=27 destc=21 destl=29 ident=102 FileName="script_tokenizer.s" IsCritical="NO">
<FilePath path="util">
</FilePath>
</SubTree>
<Act posc=21 posl=29 destc=25 destl=21 ident=103>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="TKN_OUT_VALUE">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="TELEXX_ACK_COMMENT">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=33 posl=31 destc=15 destl=31 ident=104>
<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>
</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>
<Assignment>
<Source>
<TextBuffer name="TELEXX_ERROR_MSG_RESULT">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="ERROR_MSG">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=17 posl=29 destc=15 destl=31 ident=107>
<Comment>Création du message d'erreur
</Comment>
<TeleXX_TPM>
<TeleXX_GetMessageFromCode_TPM auto="YES">
<messageResult>
<TextBuffer name="TELEXX_ERROR_MSG_RESULT">
</TextBuffer>
</messageResult>
</TeleXX_GetMessageFromCode_TPM>
</TeleXX_TPM>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="TELEXX_ERROR_MSG_RESULT">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="ERROR_MSG">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=13 posl=33 destc=13 destl=35 ident=108>
<Comment>Affichage Au premier plan de l ecran de progression
</Comment>
<TeleXX>
<TeleXX_ShowProgress_TPM>
</TeleXX_ShowProgress_TPM>
</TeleXX>
</Act>
<Act posc=15 posl=31 destc=13 destl=33 ident=109>
<Comment>TELEXX_RESULT_PROCEDURE FALSE
</Comment>
<MathAndLogic>
<Assignment>
<Source>
<StandardValue name="FALSE">
</StandardValue>
</Source>
<Destination>
<NamedFloatVar name="TELEXX_RESULT_PROCEDURE">
</NamedFloatVar>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
</cel>
</Tree>
