<!DOCTYPE Tree SYSTEM "IPSA.dtd">
<Tree chk="1295116135" type="Script" onEnd="default" onBackExit="back">
<Header>
<IFile>
<FileName name="BECH_THREAD_GEN">
</FileName>
<Modif date="11/01/2018" site="Actia" user="E377646">
</Modif>
</IFile>
<ITool exedate="08/01/2018" name="fr.actia.flowchart.editor.model.engineID" revision="6.8.0.201711301718">
</ITool>
</Header>
<precel>
</precel>
<cel>
<PartDiag>
<Appl Description="" name="Appl1">
<For>
<DataComparison type="EQUAL" case="SENSITIVE">
<Source>
<GlobalTextBuffer name="BECH_ROUTINE">
</GlobalTextBuffer>
</Source>
<Source>
<ASCIIString value="OPE_BECH_FORCAGE_ALLUMAGE">
</ASCIIString>
</Source>
</DataComparison>
</For>
</Appl>
<Act posc=40 posl=8 destc="41" destl="11" ident=20>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="STATUS">
</TextBuffer>
</Destination>
<Destination>
<TextBuffer name="REPONSE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<ExecuteECUService>
<ECUServiceRef ServiceName="SRBLID" SubServiceName="SRBLID_DF03">
</ECUServiceRef>
<ECUServiceOutputParam ECUServiceParamName="STATPIL">
<TextBuffer name="STATUS">
</TextBuffer>
</ECUServiceOutputParam>
<OutputFrameContent>
<TextBuffer name="REPONSE">
<Position>
<ValPos>1
</ValPos>
</Position>
</TextBuffer>
</OutputFrameContent>
</ExecuteECUService>
</ECUCommunication>
</Act>
</PartDiag>
<Start posc=41 posl=1 destc="41" destl="3" ident=21>
</Start>
<End posc=50 posl=7 ident=23>
</End>
<Act posc=41 posl=5 destc="41" destl="7" ident=24>
<Execution>
<SetTraceLevel Scope="SESSION" Level="WARN">
</SetTraceLevel>
</Execution>
<MathAndLogic>
<Clear>
<Destination>
<GlobalTextBuffer name="BECH_ACCUMULATED_PRIME_TIME">
</GlobalTextBuffer>
</Destination>
</Clear>
</MathAndLogic>
</Act>
<Act posc=43 posl=7 destc="50" destl="7" ident=25>
<Execution>
<RestoreTraceLevel Scope="SESSION">
</RestoreTraceLevel>
</Execution>
</Act>
<Test posc=41 posl=7 destyesc=43 destyesl=7 destnoc=40 destnol=8 ident=26>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<ASCIIString value="TRUE">
</ASCIIString>
</Source>
<Source>
<GlobalTextBuffer name="DBX_MSG_FLAG">
</GlobalTextBuffer>
</Source>
</DataComparison>
</For>
<For>
<DataComparison type="EQUAL">
<Source>
<ASCIIString value="TRUE">
</ASCIIString>
</Source>
<Source>
<GlobalTextBuffer name="DBX_TEMPO_FLAG">
</GlobalTextBuffer>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Test posc=41 posl=11 destyesc=41 destyesl=15 destnoc=43 destnol=11 ident=27>
<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=41 posl=15 ident=28>
<Source>
<TextBuffer name="STATUS">
</TextBuffer>
</Source>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="01">
</ASCIIString>
</Source>
<TargetCell destc="40" destl="17">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="02">
</ASCIIString>
</Source>
<TargetCell destc="45" destl="15">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="03">
</ASCIIString>
</Source>
<TargetCell destc="45" destl="17">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="04">
</ASCIIString>
</Source>
<TargetCell destc="45" destl="19">
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc="45" destl="11">
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<Act posc=40 posl=23 destc="38" destl="23" ident=29>
<Execution>
<SendNotification>
<NavigationNotification>
<NotifID>
<GlobalTextBuffer name="DBX_MSG_TEXT">
</GlobalTextBuffer>
</NotifID>
</NavigationNotification>
</SendNotification>
</Execution>
<MathAndLogic>
<Waitms val="500">
</Waitms>
</MathAndLogic>
</Act>
<Act posc=48 posl=20 destc="50" destl="20" ident=30>
<Execution>
<SendNotification>
<NavigationNotification>
<NotifID>
<TextBuffer name="DBX_TEMPO_NOTIFICATION">
</TextBuffer>
</NotifID>
</NavigationNotification>
</SendNotification>
</Execution>
<MathAndLogic>
<Waitms val="250">
</Waitms>
</MathAndLogic>
</Act>
<Test posc=50 posl=20 destyesc=50 destyesl=18 destnoc=48 destnol=20 ident=53>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<ASCIIString value="TRUE">
</ASCIIString>
</Source>
<Source>
<GlobalTextBuffer name="DBX_TEMPO_FLAG">
</GlobalTextBuffer>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=45 posl=15 destc="48" destl="20" ident=60>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="DBX_TEMPO_NOTIFICATION_OK">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_TEMPO_NOTIFICATION">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=45 posl=19 destc="48" destl="20" ident=61>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="DBX_TEMPO_NOTIFICATION_STOP">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_TEMPO_NOTIFICATION">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=45 posl=17 destc="48" destl="20" ident=77>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="DBX_TEMPO_NOTIFICATION_NOK">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_TEMPO_NOTIFICATION">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=45 posl=13 destc="48" destl="20" ident=78>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="DBX_TEMPO_NOTIFICATION_NACK">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_TEMPO_NOTIFICATION">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=38 posl=23 destyesc=43 destyesl=7 destnoc=38 destnol=21 ident=79>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<ASCIIString value="TRUE">
</ASCIIString>
</Source>
<Source>
<GlobalTextBuffer name="DBX_MSG_FLAG">
</GlobalTextBuffer>
</Source>
</DataComparison>
</For>
<For>
<DataComparison type="EQUAL">
<Source>
<ASCIIString value="TRUE">
</ASCIIString>
</Source>
<Source>
<GlobalTextBuffer name="DBX_TEMPO_FLAG">
</GlobalTextBuffer>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=45 posl=11 destc="48" destl="20" ident=80>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="DBX_TEMPO_NOTIFICATION_ERREUR">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_TEMPO_NOTIFICATION">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=43 posl=11 destyesc=43 destyesl=13 destnoc=45 destnol=11 ident=81>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="REPONSE">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>2
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="7F">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=43 posl=13 destc="45" destl="13" ident=82>
<MathAndLogic>
<Clear>
<Destination>
<GlobalTextBuffer name="RESULT_NACK">
</GlobalTextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<TextBuffer name="REPONSE">
<Position>
<ValPos>5
</ValPos>
</Position>
<Length>2
</Length>
</TextBuffer>
</Source>
<Destination>
<GlobalTextBuffer name="RESULT_NACK">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>2
</Length>
</GlobalTextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=38 posl=21 destc="41" destl="11" ident=95>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="STATUS">
</TextBuffer>
</Destination>
<Destination>
<TextBuffer name="REPONSE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<ExecuteECUService>
<ECUServiceRef ServiceName="SRBLIDST" SubServiceName="SRBLIDST_STATUS">
</ECUServiceRef>
<ECUServiceInputParam ECUServiceParamName="RecordDataIdentifier">
<GlobalTextBuffer name="BECH_DID">
</GlobalTextBuffer>
</ECUServiceInputParam>
<ECUServiceOutputParam ECUServiceParamName="STATPIL">
<TextBuffer name="STATUS">
</TextBuffer>
</ECUServiceOutputParam>
<OutputFrameContent>
<TextBuffer name="REPONSE">
<Position>
<ValPos>1
</ValPos>
</Position>
</TextBuffer>
</OutputFrameContent>
</ExecuteECUService>
</ECUCommunication>
</Act>
<Act posc=40 posl=17 destc="40" destl="19" ident=117>
<Comment>Déclanchement du compteur
</Comment>
<MathAndLogic>
<ChronometerS Number="C0">
<GetChronoValue>
<FloatVar name="V0">
</FloatVar>
</GetChronoValue>
</ChronometerS>
</MathAndLogic>
</Act>
<Test posc=40 posl=19 destyesc=40 destyesl=21 destnoc=45 destnol=21 ident=118>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="INF">
<Source>
<FloatVar name="V0">
</FloatVar>
</Source>
<Source>
<FloatNumber>240
</FloatNumber>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=45 posl=21 destc="48" destl="20" ident=119>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="DBX_TEMPO_NOTIFICATION_TIMEOUT">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_TEMPO_NOTIFICATION">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=41 posl=3 destc="41" destl="5" ident=10>
<Comment>Déclanchement du compteur
</Comment>
<MathAndLogic>
<ChronometerS Number="C0">
<InitChrono>
</InitChrono>
</ChronometerS>
</MathAndLogic>
</Act>
<Act posc=40 posl=21 destc="40" destl="23" ident=11>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="@P22262-POLUXDATA@\n@P52491-POLUXDATA">
</ASCIIString>
</Source>
<Destination>
<GlobalTextBuffer name="DBX_MSG_TEXT">
</GlobalTextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<PartDiag>
<Appl Description="" name="Appl2">
<For>
<DataComparison type="EQUAL" case="SENSITIVE">
<Source>
<GlobalTextBuffer name="BECH_ROUTINE">
</GlobalTextBuffer>
</Source>
<Source>
<ASCIIString value="OPE_BECH_POMPE_DOSEUSE">
</ASCIIString>
</Source>
</DataComparison>
</For>
</Appl>
<Act posc=40 posl=8 destc="41" destl="11" ident=12>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="STATUS">
</TextBuffer>
</Destination>
<Destination>
<TextBuffer name="REPONSE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<ExecuteECUService>
<ECUServiceRef ServiceName="SRBLID" SubServiceName="SRBLID_DF05">
</ECUServiceRef>
<ECUServiceOutputParam ECUServiceParamName="STATPIL">
<TextBuffer name="STATUS">
</TextBuffer>
</ECUServiceOutputParam>
<OutputFrameContent>
<TextBuffer name="REPONSE">
<Position>
<ValPos>1
</ValPos>
</Position>
</TextBuffer>
</OutputFrameContent>
</ExecuteECUService>
</ECUCommunication>
</Act>
</PartDiag>
<Act posc=50 posl=18 destc="50" destl="7" ident=13>
<Comment>Récupération de la valeur des octets 5 et 6 pour le TA DF05
</Comment>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="REPONSE">
<Position>
<ValPos>11
</ValPos>
</Position>
<Length>4
</Length>
</TextBuffer>
</Source>
<Destination>
<GlobalTextBuffer name="BECH_ACCUMULATED_PRIME_TIME">
</GlobalTextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<PartDiag>
<Appl Description="" name="Appl3">
<For>
<DataComparison type="EQUAL" case="SENSITIVE">
<Source>
<GlobalTextBuffer name="BECH_ROUTINE">
</GlobalTextBuffer>
</Source>
<Source>
<ASCIIString value="OPE_BECH_ELECTROVANNE">
</ASCIIString>
</Source>
</DataComparison>
</For>
</Appl>
<Act posc=40 posl=8 destc="41" destl="11" ident=14>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="STATUS">
</TextBuffer>
</Destination>
<Destination>
<TextBuffer name="REPONSE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<ExecuteECUService>
<ECUServiceRef ServiceName="SRBLID" SubServiceName="SRBLID_DF06">
</ECUServiceRef>
<ECUServiceOutputParam ECUServiceParamName="STATPIL">
<TextBuffer name="STATUS">
</TextBuffer>
</ECUServiceOutputParam>
<OutputFrameContent>
<TextBuffer name="REPONSE">
<Position>
<ValPos>1
</ValPos>
</Position>
</TextBuffer>
</OutputFrameContent>
</ExecuteECUService>
</ECUCommunication>
</Act>
</PartDiag>
<PartDiag>
<Appl Description="" name="Appl4">
<For>
<DataComparison type="EQUAL" case="SENSITIVE">
<Source>
<GlobalTextBuffer name="BECH_ROUTINE">
</GlobalTextBuffer>
</Source>
<Source>
<ASCIIString value="OPE_BECH_POMPE_A_EAU">
</ASCIIString>
</Source>
</DataComparison>
</For>
</Appl>
<Act posc=40 posl=8 destc="41" destl="11" ident=15>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="STATUS">
</TextBuffer>
</Destination>
<Destination>
<TextBuffer name="REPONSE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<ExecuteECUService>
<ECUServiceRef ServiceName="SRBLID" SubServiceName="SRBLID_DF07">
</ECUServiceRef>
<ECUServiceOutputParam ECUServiceParamName="STATPIL">
<TextBuffer name="STATUS">
</TextBuffer>
</ECUServiceOutputParam>
<OutputFrameContent>
<TextBuffer name="REPONSE">
<Position>
<ValPos>1
</ValPos>
</Position>
</TextBuffer>
</OutputFrameContent>
</ExecuteECUService>
</ECUCommunication>
</Act>
</PartDiag>
</cel>
</Tree>
