<!DOCTYPE Tree SYSTEM "IPSA.dtd">
<Tree chk="-2037046201" type="Script" onEnd="default" onBackExit="back">
<Header>
<IFile>
<FileName name="BTA_3S_VARIANTE_CALCULATEUR">
</FileName>
<Modif date="18/10/2019" site="Actia" user="E513933">
</Modif>
</IFile>
<ITool exedate="07/10/2019" name="fr.actia.flowchart.editor.model.engineID" revision="7.5.0.201907171442">
</ITool>
</Header>
<precel>
</precel>
<cel>
<Start posc=1 posl=7 destc="3" destl="7" ident=172>
</Start>
<End posc=30 posl=10 ident=177>
</End>
<Act posc=3 posl=7 destc="6" destl="7" ident=188>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="TLCD_CONNECTED_TRACABILITY_TYPE">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="NEW">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TLCD_CONNECTED_TRACABILITY_TYPE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="EST_SECURITAIRE_IN">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="EST_SECURITAIRE_SCREEN">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="EST_SECURITAIRE_IN">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="ECU_FLASH">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="BTA_3S">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="ECU_FLASH">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<FloatNumber>30
</FloatNumber>
</Source>
<Destination>
<NamedFloatVar name="TEMPS_FLASHAGE">
</NamedFloatVar>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Switch posc=13 posl=4 ident=10>
<Comment>ModelName des v�hicules
</Comment>
<Source>
<VehicleData ParamName="ModelName">
</VehicleData>
</Source>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="A88">
</ASCIIString>
</Source>
<TargetCell destc="17" destl="2">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="P21">
</ASCIIString>
</Source>
<TargetCell destc="22" destl="9">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="P2JO">
</ASCIIString>
</Source>
<TargetCell destc="22" destl="7">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="X83_Chine">
</ASCIIString>
</Source>
<TargetCell destc="22" destl="10">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="C84Chine">
</ASCIIString>
</Source>
<TargetCell destc="22" destl="11">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="K0_U">
</ASCIIString>
</Source>
<TargetCell destc="17" destl="1">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="K0">
</ASCIIString>
</Source>
<TargetCell destc="17" destl="1">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="K0_U_">
</ASCIIString>
</Source>
<TargetCell destc="17" destl="1">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="K0Russie_U">
</ASCIIString>
</Source>
<TargetCell destc="17" destl="1">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="K0Russie_U_">
</ASCIIString>
</Source>
<TargetCell destc="17" destl="1">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="K0_">
</ASCIIString>
</Source>
<TargetCell destc="17" destl="1">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="P24">
</ASCIIString>
</Source>
<TargetCell destc="22" destl="9">
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc="22" destl="12">
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<Switch posc=11 posl=9 ident=11>
<Source>
<ECUData ParamName="STATE">
</ECUData>
</Source>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="Degraded">
</ASCIIString>
</Source>
<TargetCell destc="13" destl="4">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="OK">
</ASCIIString>
</Source>
<TargetCell destc="19" destl="14">
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc="19" destl="13">
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<Act posc=19 posl=14 destc="21" destl="14" ident=12>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="DESCRIPTOR">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN_DIAG_MODE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="OUTPUT_DIAG_MODE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<ECUFunctionCall name="ECU_DESCRIPTOR">
<TextBuffer name="IN_DIAG_MODE">
</TextBuffer>
<Destination>
<TextBuffer name="OUTPUT_DIAG_MODE">
</TextBuffer>
</Destination>
</ECUFunctionCall>
</ECUCommunication>
<Execution>
</Execution>
</Act>
<Act posc=21 posl=14 destc="24" destl="13" ident=13>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<TextBuffer name="OUTPUT_DIAG_MODE">
<Position>
<ValPos>8
</ValPos>
</Position>
<Length>5
</Length>
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=19 posl=13 destc="30" destl="10" ident=14>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="ERROR">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=6 posl=7 destc="11" destl="9" ident=18>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="DBX_APP_ECU">
<RestoreAllowance Active="NO">
</RestoreAllowance>
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
</Act>
<Act posc=22 posl=9 destc="28" destl="8" ident=19>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="VAR_E">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<ECUCommunication>
<OpenEcuServiceVariant>
<ASCIIString value="BTA_3S_P2_V1">
</ASCIIString>
</OpenEcuServiceVariant>
</ECUCommunication>
</Act>
<Act posc=22 posl=10 destc="28" destl="8" ident=20>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="VAR_B">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<ECUCommunication>
<OpenEcuServiceVariant>
<ASCIIString value="BTA_3S_X83_V1">
</ASCIIString>
</OpenEcuServiceVariant>
</ECUCommunication>
</Act>
<Act posc=22 posl=11 destc="28" destl="11" ident=21>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="VAR_D">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<ECUCommunication>
<OpenEcuServiceVariant>
<ASCIIString value="BTA_3R_C84C_V1">
</ASCIIString>
</OpenEcuServiceVariant>
</ECUCommunication>
</Act>
<Act posc=22 posl=12 destc="28" destl="11" ident=15>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="VAR_D">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=28 posl=11 destc="30" destl="10" ident=16>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="TLCD_CONNECTED_TRACABILITY_TYPE">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="NEW">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TLCD_CONNECTED_TRACABILITY_TYPE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="EST_SECURITAIRE_IN">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="EST_SECURITAIRE_SCREEN">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="EST_SECURITAIRE_IN">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="ECU_FLASH">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="BTA_3S">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="ECU_FLASH">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<FloatNumber>30
</FloatNumber>
</Source>
<Destination>
<NamedFloatVar name="TEMPS_FLASHAGE">
</NamedFloatVar>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="|SCREEN_TRACABILITE_RW|TLCD_TRACEABILITY_D|">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DATA_TRACABILITE_RW">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=24 posl=13 destyesc=28 destyesl=11 destnoc=28 destnol=8 ident=17>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL" case="SENSITIVE">
<Source>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Source>
<Source>
<ASCIIString value="VAR_D">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=28 posl=8 destc="30" destl="10" ident=22>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="TLCD_CONNECTED_TRACABILITY_TYPE">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="NEW">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TLCD_CONNECTED_TRACABILITY_TYPE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="EST_SECURITAIRE_IN">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="EST_SECURITAIRE_SCREEN">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="EST_SECURITAIRE_IN">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="ECU_FLASH">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="BTA_3S">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="ECU_FLASH">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<FloatNumber>30
</FloatNumber>
</Source>
<Destination>
<NamedFloatVar name="TEMPS_FLASHAGE">
</NamedFloatVar>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="|SCREEN_TRACABILITE_RW|TLCD_TRACEABILITY|">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DATA_TRACABILITE_RW">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=22 posl=7 destc="28" destl="8" ident=24>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="VAR_E">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<ECUCommunication>
<OpenEcuServiceVariant>
<ASCIIString value="BTA_3S_P2JO_V1">
</ASCIIString>
</OpenEcuServiceVariant>
</ECUCommunication>
</Act>
<Act posc=17 posl=1 destc="21" destl="1" ident=23>
<ECUCommunication>
<ExecuteECUService>
<ECUServiceRef ServiceName="RDBLID" SubServiceName="RDBLID_LID_C5">
</ECUServiceRef>
<OutputFrameContent>
<TextBuffer name="REP_C5">
</TextBuffer>
</OutputFrameContent>
</ExecuteECUService>
</ECUCommunication>
</Act>
<Test posc=21 posl=1 destyesc=22 destyesl=8 destnoc=22 destnol=13 ident=25>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL" case="SENSITIVE">
<Source>
<TextBuffer name="REP_C5">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>4
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="62C5">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=22 posl=13 destc="28" destl="11" ident=26>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="VAR_D">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<ECUCommunication>
<OpenEcuServiceVariant>
<ASCIIString value="BTA_3S_K0_V2">
</ASCIIString>
</OpenEcuServiceVariant>
</ECUCommunication>
</Act>
<Act posc=22 posl=8 destc="28" destl="8" ident=27>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="VAR_E">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<ECUCommunication>
<OpenEcuServiceVariant>
<ASCIIString value="BTA_3S_K0_V3">
</ASCIIString>
</OpenEcuServiceVariant>
</ECUCommunication>
</Act>
<Act posc=17 posl=2 destc="21" destl="3" ident=30>
<ECUCommunication>
<ExecuteECUService>
<ECUServiceRef ServiceName="RDBLID" SubServiceName="RDBLID_LID_D3">
</ECUServiceRef>
<OutputFrameContent>
<TextBuffer name="REP_D3">
</TextBuffer>
</OutputFrameContent>
</ExecuteECUService>
</ECUCommunication>
</Act>
<Test posc=21 posl=3 destyesc=24 destyesl=2 destnoc=22 destnol=6 ident=31>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL" case="SENSITIVE">
<Source>
<TextBuffer name="REP_D3">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>4
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="61D3">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=22 posl=6 destc="28" destl="8" ident=32>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="VAR_B">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<ECUCommunication>
<OpenEcuServiceVariant>
<ASCIIString value="BTA_3S_A88_V1">
</ASCIIString>
</OpenEcuServiceVariant>
</ECUCommunication>
</Act>
<Act posc=26 posl=3 destc="28" destl="8" ident=33>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="VAR_E">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<ECUCommunication>
<OpenEcuServiceVariant>
<ASCIIString value="BTA_3S_A88_V2">
</ASCIIString>
</OpenEcuServiceVariant>
</ECUCommunication>
</Act>
<Act posc=24 posl=2 destc="26" destl="1" ident=28>
<ECUCommunication>
<ExecuteECUService>
<ECUServiceRef ServiceName="RDBLID" SubServiceName="RDBLID_LID_C5">
</ECUServiceRef>
<OutputFrameContent>
<TextBuffer name="REP_C5">
</TextBuffer>
</OutputFrameContent>
</ExecuteECUService>
</ECUCommunication>
</Act>
<Test posc=26 posl=1 destyesc=26 destyesl=3 destnoc=29 destnol=1 ident=29>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL" case="SENSITIVE">
<Source>
<TextBuffer name="REP_C5">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>4
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="61C5">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=29 posl=1 destc="28" destl="8" ident=34>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<ASCIIString value="VAR_D">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DBX_APP_ECU">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<ECUCommunication>
<OpenEcuServiceVariant>
<ASCIIString value="BTA_3S_A88_V4">
</ASCIIString>
</OpenEcuServiceVariant>
</ECUCommunication>
</Act>
</cel>
</Tree>
