<!DOCTYPE Tree SYSTEM "IPSA.dtd">
<Tree chk="-2035467336" type="Script">
<Header>
<IFile>
<FileName name="script_telexx_updatesettingsaction">
</FileName>
<Modif date="13/06/2011" user="eprechac" site="THESAU">
</Modif>
</IFile>
<ITool name="ime2" revision="7.3.1.0" exedate="27/01/2010">
</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=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=7 destc=13 destl=9 ident=68>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="$SERVICE$SERAV$SERVICEUNIT$SETTINGS$PARAMS$PARAM_IN|">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN_SETTINGS_START">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="|$">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN_SETTINGS_END">
</TextBuffer>
</Destination>
</Assignment>
<EvalExpression>
<Expression value="%%LBT_IN_SETTINGS_START%%%%ADD%%%%LBT_IN_SETTINGS_PARAM_FROM_SERAV%%%%ADD%%%%LBT_IN_SETTINGS_END%%">
</Expression>
<Destination>
<TextBuffer name="IN_SETTINGS">
</TextBuffer>
</Destination>
</EvalExpression>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="OUTPUT_SETTINGS">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<ECUFunctionCall name="APPGEN">
<TextBuffer name="IN_SETTINGS">
</TextBuffer>
<Destination>
<TextBuffer name="OUTPUT_SETTINGS">
</TextBuffer>
</Destination>
</ECUFunctionCall>
</ECUCommunication>
</Act>
<Act posc=13 posl=17 destc=13 destl=19 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>
<MsgScreen posc=13 posl=23 destc=13 destl=25 ident=70 EnableBackJumps="DEFAULT" Printable="NO" EscapeBtn="NO" BackBtn="YES" OkBtn="YES" MsgType="INFO" WindowStyle="STD">
<MsgItem>
<LabelContent>
<Paragraph>
<FreeText>
<Text>Opération effectuée avec succès
</Text>
</FreeText>
</Paragraph>
</LabelContent>
</MsgItem>
</MsgScreen>
<Test posc=13 posl=9 destyesc=13 destyesl=13 destnoc=29 destnol=13 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=13 destyesc=13 destyesl=17 destnoc=17 destnol=13 ident=72>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUTPUT_SETTINGS">
<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=13 destc=29 destl=13 ident=73 FileName="script_telexx_updateError.s" IsCritical="NO">
<FilePath path="TeleXX_TPM">
</FilePath>
</SubTree>
<Act posc=29 posl=13 destc=33 destl=13 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>
<Act posc=33 posl=13 destc=17 destl=25 ident=75>
<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>
<MsgScreen posc=17 posl=25 destc=15 destl=25 ident=76 EnableBackJumps="DEFAULT" Printable="NO" EscapeBtn="NO" BackBtn="NO" OkBtn="YES" MsgType="INFO" WindowStyle="STD">
<Comment>Ecran 7 : Echec de l'écriture des données de configuration
</Comment>
<MsgItem>
<LabelContent>
<Paragraph>
<FreeText>
<Text>Echec de l'écriture des données de configuration
</Text>
</FreeText>
</Paragraph>
</LabelContent>
</MsgItem>
<MsgItem>
<LabelContent>
<Paragraph>
<FreeText>
<Text>
</Text>
<TextBuffer name="ERROR_MSG">
</TextBuffer>
</FreeText>
</Paragraph>
</LabelContent>
</MsgItem>
</MsgScreen>
<End posc=13 posl=27 ident=77>
</End>
<Test posc=17 posl=13 destyesc=17 destyesl=15 destnoc=21 destnol=13 ident=78>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUTPUT_SETTINGS">
<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=13 destyesc=21 destyesl=15 destnoc=25 destnol=13 ident=79>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUTPUT_SETTINGS">
<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=15 destc=25 destl=13 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=15 destc=21 destl=17 ident=81>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="TELEXX_ERROR_TYPE_NACK">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TELEXX_ERROR_TYPE_DESCR">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=13 posl=19 destyesc=13 destyesl=21 destnoc=17 destnol=21 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=21 ident=88>
<Source>
<FloatVar name="VMEM">
</FloatVar>
</Source>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>0
</FloatNumber>
</Source>
<TargetCell destc=17 destl=21>
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>1
</FloatNumber>
</Source>
<TargetCell destc=13 destl=23>
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc=13 destl=23>
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<Act posc=17 posl=21 destc=17 destl=23 ident=89>
<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=21 posl=17 destc=21 destl=19 ident=93>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="OUTPUT_SETTINGS">
</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=19 destc=25 destl=19 ident=97 FileName="script_tokenizer.s" IsCritical="NO">
<FilePath path="util">
</FilePath>
</SubTree>
<Act posc=25 posl=19 destc=25 destl=13 ident=98>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="TKN_OUT_VALUE">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="TELEXX_ACK_COMMENT">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<MsgScreen posc=13 posl=25 destc=13 destl=27 ident=99 EnableBackJumps="DEFAULT" Printable="NO" EscapeBtn="NO" BackBtn="NO" OkBtn="NO" MsgType="INFO" WindowStyle="STD">
<Comment>Veuillez patientez
</Comment>
<MsgItem>
<LabelContent>
<Paragraph>
<ThesauRequest>@P553-POLUXXPERT
</ThesauRequest>
</Paragraph>
</LabelContent>
</MsgItem>
</MsgScreen>
<Act posc=17 posl=23 destc=17 destl=25 ident=100>
<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=15 posl=25 destc=13 destl=25 ident=102>
<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>
