<!DOCTYPE Tree SYSTEM "IPSA.dtd">
<Tree chk="1514002802" type="Script">
<Header>
<IFile>
<FileName name="script_telexx_updatesettingsactionpreparation">
</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=15 destc=13 destl=17 ident=22>
<Comment>STCAPI::GetNextUri
</Comment>
<TeleXX_TPM>
<TeleXX_GetNextURI_TPM validityCode="NO">
</TeleXX_GetNextURI_TPM>
</TeleXX_TPM>
</Act>
<End posc=13 posl=36 ident=29>
</End>
<Test posc=13 posl=17 destyesc=13 destyesl=19 destnoc=25 destnol=36 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=17 destl=19>
</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=17 destl=19>
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<Act posc=13 posl=7 destc=13 destl=13 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=25 destc=13 destl=29 ident=38>
<Comment>Demande de Déverouillage - Demandé tout le temps
</Comment>
<TeleXX>
<TeleXX_SetUnlockDemand_TPM>
</TeleXX_SetUnlockDemand_TPM>
</TeleXX>
</Act>
<Test posc=13 posl=29 destyesc=13 destyesl=31 destnoc=25 destnol=36 ident=39>
<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=31 ident=40>
<Source>
<FloatVar name="VMEM">
</FloatVar>
</Source>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>0
</FloatNumber>
</Source>
<TargetCell destc=17 destl=31>
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>1
</FloatNumber>
</Source>
<TargetCell destc=13 destl=36>
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc=17 destl=31>
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<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="TXT">
</ASCIIString>
</Source>
<TargetCell destc=7 destl=13>
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc=21 destl=23>
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<Act posc=7 posl=13 destc=13 destl=13 ident=57>
<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>
</Act>
<Act posc=13 posl=21 destc=13 destl=23 ident=68>
<Comment>Recuperation du contenu du fichier
</Comment>
<MathAndLogic>
<Assignment>
<Source>
<DBX_GetFileContent>
<TextBuffer name="DOWNLOAD_FILE_CODE">
</TextBuffer>
</DBX_GetFileContent>
</Source>
<Destination>
<TextBuffer name="IN_SETTINGS_PARAM_FROM_SERAV">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=13 posl=23 destyesc=13 destyesl=25 destnoc=17 destnol=23 ident=69>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<HexaInt>3
</HexaInt>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Switch posc=17 posl=23 ident=70>
<Source>
<FloatVar name="VMEM">
</FloatVar>
</Source>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>1
</FloatNumber>
</Source>
<TargetCell destc=21 destl=21>
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>2
</FloatNumber>
</Source>
<TargetCell destc=21 destl=23>
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>3
</FloatNumber>
</Source>
<TargetCell destc=21 destl=21>
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>4
</FloatNumber>
</Source>
<TargetCell destc=21 destl=25>
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc=21 destl=21>
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<MsgScreen posc=13 posl=5 destc=13 destl=7 ident=72 EnableBackJumps="DEFAULT" Printable="NO" EscapeBtn="NO" BackBtn="NO" OkBtn="NO" MsgType="INFO" WindowStyle="STD">
<MsgItem>
<LabelContent>
<Paragraph>
<ThesauRequest>@P553-POLUXXPERT
</ThesauRequest>
</Paragraph>
</LabelContent>
</MsgItem>
</MsgScreen>
<Act posc=17 posl=19 destc=25 destl=36 ident=74>
<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=25 posl=36 destc=23 destl=36 ident=75>
<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>
<MsgScreen posc=23 posl=36 destc=21 destl=36 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>
<MsgScreen posc=21 posl=36 destc=17 destl=36 ident=77 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=21 posl=21 destc=23 destl=23 ident=78>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="TELEXX_ERROR_TYPE_FILE_PATH">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TELEXX_ERROR_TYPE_DESCR">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=21 posl=23 destc=23 destl=23 ident=79>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="TELEXX_ERROR_TYPE_FILE_BAD">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TELEXX_ERROR_TYPE_DESCR">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=21 posl=25 destc=23 destl=23 ident=80>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="TELEXX_ERROR_TYPE_FILE_NOT_FOUND">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TELEXX_ERROR_TYPE_DESCR">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=25 posl=23 destc=25 destl=36 ident=81>
<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=31 destc=25 destl=36 ident=82>
<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>
<SubTree posc=23 posl=23 destc=25 destl=23 ident=83 FileName="script_telexx_updateError.s" IsCritical="NO">
<FilePath path="TeleXX_TPM">
</FilePath>
</SubTree>
<Act posc=17 posl=36 destc=13 destl=36 ident=85>
<MathAndLogic>
<Assignment>
<Source>
<StandardValue name="FALSE">
</StandardValue>
</Source>
<Destination>
<NamedFloatVar name="TELEXX_RESULT_PROCEDURE">
</NamedFloatVar>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
</cel>
</Tree>
