<!DOCTYPE Tree SYSTEM "IPSA.dtd">
<Tree chk="-1524978783" type="Script" onEnd="default" onBackExit="back">
<Header>
<IFile>
<FileName name="PADDITIVATION_SAUVER_VOL_gen">
</FileName>
<Modif date="29/01/2018" site="Actia" user="E484052">
</Modif>
</IFile>
<ITool exedate="15/01/2018" name="fr.actia.flowchart.editor.model.engineID" revision="6.8.0.201711301718">
</ITool>
</Header>
<precel>
</precel>
<cel>
<Start posc=1 posl=1 destc="1" destl="2" ident=10>
<Comment>Ré-écriture du volume d'additif dans le réservoir d'additif
</Comment>
<Comment>$Rev: $
</Comment>
</Start>
<End posc=21 posl=9 ident=21>
<Comment>Fin de gamme
</Comment>
</End>
<Act posc=1 posl=4 destc="1" destl="6" ident=37>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="$SERVICE$RDBLID$SERVICEUNIT$RDBLID_LID_D4_1">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN_DIAG_MODE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="OUT_DIAG_MODE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<ECUFunctionCall name="APPGEN">
<TextBuffer name="IN_DIAG_MODE">
</TextBuffer>
<Destination>
<TextBuffer name="OUT_DIAG_MODE">
</TextBuffer>
</Destination>
</ECUFunctionCall>
</ECUCommunication>
</Act>
<Test posc=1 posl=6 destyesc=1 destyesl=8 destnoc=15 destnol=6 ident=39>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUT_DIAG_MODE">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>6
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="ES|00|">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=1 posl=8 destc="1" destl="10" ident=40>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="STRING_TO_CONVERT">
</TextBuffer>
</Destination>
</Clear>
<Clear>
<Destination>
<TextBuffer name="CODAGE_TYPE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="OUT_DIAG_MODE">
<Position>
<ValPos>19
</ValPos>
</Position>
<Length>2
</Length>
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="STRING_TO_CONVERT">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="HEX_TO_DEC">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="CODAGE_TYPE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<MsgScreen posc=15 posl=6 destc="21" destl="9" ident=41 EnableBackJumps="DEFAULT" Printable="NO" EscapeBtn="NO" BackBtn="YES" OkBtn="YES" MsgType="INFO" WindowStyle="STD">
<MsgItem>
<LabelContent>
<Paragraph>
<ThesauRequest>@P32748-POLUXDATA
</ThesauRequest>
</Paragraph>
</LabelContent>
</MsgItem>
</MsgScreen>
<SubTree posc=1 posl=10 destc="1" destl="12" ident=42 FileName="conversion.s" IsCritical="NO">
<FilePath path="Vehicle\gen">
</FilePath>
</SubTree>
<Act posc=1 posl=12 destc="1" destl="14" ident=45>
<MathAndLogic>
<Clear>
<Destination>
<Buffer>
<Number>0
</Number>
</Buffer>
</Destination>
<Destination>
<FloatVar name="V1">
</FloatVar>
</Destination>
</Clear>
<Assignment>
<Source>
<TextBuffer name="CONVERTED_DATA">
</TextBuffer>
</Source>
<Destination>
<Buffer>
<Number>0
</Number>
</Buffer>
</Destination>
</Assignment>
<Conversion>
<TextToFloat InputFormat="DecimalCodedASCII">
<Buffer>
<Number>0
</Number>
</Buffer>
<FloatVariable>
<FloatVar name="V1">
</FloatVar>
</FloatVariable>
</TextToFloat>
</Conversion>
<Multiplication>
<Source>
<FloatVar name="V1">
</FloatVar>
</Source>
<Source>
<FloatNumber>20000
</FloatNumber>
</Source>
<Destination>
<FloatVar name="V1">
</FloatVar>
</Destination>
</Multiplication>
</MathAndLogic>
</Act>
<Act posc=1 posl=14 destc="1" destl="16" ident=46>
<MathAndLogic>
<Conversion>
<HexaToDecimalCodedASCIIEx>
<FloatVar name="V1">
</FloatVar>
<Buffer>
<Number>1
</Number>
</Buffer>
</HexaToDecimalCodedASCIIEx>
</Conversion>
<Assignment>
<Source>
<Buffer>
<Number>1
</Number>
</Buffer>
</Source>
<Destination>
<TextBuffer name="STRING_TO_CONVERT">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="DEC_TO_HEX">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="CODAGE_TYPE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<SubTree posc=1 posl=16 destc="1" destl="26" ident=47 FileName="conversion.s" IsCritical="NO">
<FilePath path="Vehicle\gen">
</FilePath>
</SubTree>
<Act posc=1 posl=26 destc="1" destl="28" ident=48>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="CONVERTED_DATA">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="PADDING_BUFFER_IN">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="0">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="PADDING_CHARACTER">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<FloatNumber>6
</FloatNumber>
</Source>
<Destination>
<NamedFloatVar name="PADDING_BUFFER_OUT_LENGTH">
</NamedFloatVar>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<SubTree posc=1 posl=28 destc="1" destl="30" ident=59 FileName="padding.s" IsCritical="NO">
<FilePath path="Vehicle\gen">
</FilePath>
</SubTree>
<Act posc=1 posl=33 destc="21" destl="9" ident=60>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="PADDING_BUFFER_OUT">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="VOLUME">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>6
</Length>
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=1 posl=30 destyesc=1 destyesl=33 destnoc=15 destnol=6 ident=61>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<HexaInt>03
</HexaInt>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Switch posc=1 posl=2 ident=62>
<Source>
<ECUData ParamName="C">
</ECUData>
</Source>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="PADDGO">
</ASCIIString>
</Source>
<TargetCell destc="1" destl="4">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="PADDGO_E5">
</ASCIIString>
</Source>
<TargetCell destc="5" destl="4">
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="PADDGO_TI_E6">
</ASCIIString>
</Source>
<TargetCell destc="5" destl="4">
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc="1" destl="4">
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<Act posc=5 posl=4 destc="5" destl="6" ident=63>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="$SERVICE$RDBLID$SERVICEUNIT$RDBLID_LID_DB">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN_DIAG_MODE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="OUT_DIAG_MODE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<ECUCommunication>
<ECUFunctionCall name="APPGEN">
<TextBuffer name="IN_DIAG_MODE">
</TextBuffer>
<Destination>
<TextBuffer name="OUT_DIAG_MODE">
</TextBuffer>
</Destination>
</ECUFunctionCall>
</ECUCommunication>
</Act>
<Test posc=5 posl=6 destyesc=5 destyesl=8 destnoc=15 destnol=6 ident=64>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUT_DIAG_MODE">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>6
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="ES|00|">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=5 posl=8 destc="5" destl="10" ident=65>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="STRING_TO_CONVERT">
</TextBuffer>
</Destination>
</Clear>
<Clear>
<Destination>
<TextBuffer name="CODAGE_TYPE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="OUT_DIAG_MODE">
<Position>
<ValPos>21
</ValPos>
</Position>
<Length>2
</Length>
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="STRING_TO_CONVERT">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="HEX_TO_DEC">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="CODAGE_TYPE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<SubTree posc=5 posl=10 destc="5" destl="12" ident=66 FileName="conversion.s" IsCritical="NO">
<FilePath path="Vehicle\gen">
</FilePath>
</SubTree>
<Act posc=5 posl=12 destc="5" destl="14" ident=67>
<MathAndLogic>
<Clear>
<Destination>
<Buffer>
<Number>0
</Number>
</Buffer>
</Destination>
<Destination>
<FloatVar name="V2">
</FloatVar>
</Destination>
</Clear>
<Assignment>
<Source>
<TextBuffer name="CONVERTED_DATA">
</TextBuffer>
</Source>
<Destination>
<Buffer>
<Number>0
</Number>
</Buffer>
</Destination>
</Assignment>
<Conversion>
<TextToFloat InputFormat="DecimalCodedASCII">
<Buffer>
<Number>0
</Number>
</Buffer>
<FloatVariable>
<FloatVar name="V2">
</FloatVar>
</FloatVariable>
</TextToFloat>
</Conversion>
<Multiplication>
<Source>
<FloatVar name="V2">
</FloatVar>
</Source>
<Source>
<FloatNumber>10000
</FloatNumber>
</Source>
<Destination>
<FloatVar name="V2">
</FloatVar>
</Destination>
</Multiplication>
</MathAndLogic>
</Act>
<Act posc=5 posl=14 destc="5" destl="16" ident=68>
<MathAndLogic>
<Conversion>
<HexaToDecimalCodedASCIIEx>
<FloatVar name="V2">
</FloatVar>
<Buffer>
<Number>1
</Number>
</Buffer>
</HexaToDecimalCodedASCIIEx>
</Conversion>
<Assignment>
<Source>
<Buffer>
<Number>1
</Number>
</Buffer>
</Source>
<Destination>
<TextBuffer name="STRING_TO_CONVERT">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="DEC_TO_HEX">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="CODAGE_TYPE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<SubTree posc=5 posl=16 destc="5" destl="18" ident=69 FileName="conversion.s" IsCritical="NO">
<FilePath path="Vehicle\gen">
</FilePath>
</SubTree>
<Act posc=5 posl=26 destc="5" destl="28" ident=72>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="CONVERTED_DATA">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="PADDING_BUFFER_IN">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="0">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="PADDING_CHARACTER">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<FloatNumber>6
</FloatNumber>
</Source>
<Destination>
<NamedFloatVar name="PADDING_BUFFER_OUT_LENGTH">
</NamedFloatVar>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<SubTree posc=5 posl=28 destc="5" destl="30" ident=73 FileName="padding.s" IsCritical="NO">
<FilePath path="Vehicle\gen">
</FilePath>
</SubTree>
<Test posc=5 posl=30 destyesc=5 destyesl=33 destnoc=15 destnol=6 ident=74>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<HexaInt>03
</HexaInt>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=5 posl=33 destc="21" destl="9" ident=75>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="PADDING_BUFFER_OUT">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="VOLUME">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>6
</Length>
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=5 posl=22 destyesc=7 destyesl=22 destnoc=5 destnol=26 ident=79>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="SUP">
<Source>
<FloatVar name="VMEM">
</FloatVar>
</Source>
<Source>
<FloatNumber>6
</FloatNumber>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=5 posl=20 destc="5" destl="22" ident=80>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="CONVERTED_DATA">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="TEST">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=9 posl=26 destc="9" destl="28" ident=84>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="CONVERTED_DATA">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="PADDING_BUFFER_IN">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="0">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="PADDING_CHARACTER">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<FloatNumber>8
</FloatNumber>
</Source>
<Destination>
<NamedFloatVar name="PADDING_BUFFER_OUT_LENGTH">
</NamedFloatVar>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<SubTree posc=9 posl=28 destc="9" destl="30" ident=85 FileName="padding.s" IsCritical="NO">
<FilePath path="Vehicle\gen">
</FilePath>
</SubTree>
<Test posc=9 posl=30 destyesc=9 destyesl=33 destnoc=15 destnol=6 ident=86>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<HexaInt>03
</HexaInt>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=9 posl=33 destc="21" destl="9" ident=87>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="PADDING_BUFFER_OUT">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="VOLUME">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>8
</Length>
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=5 posl=18 destyesc=9 destyesl=26 destnoc=5 destnol=20 ident=89>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="IS_DCM35">
</TextBuffer>
</Source>
<Source>
<ASCIIString value="I_am_DCM35">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=7 posl=22 destc="21" destl="9" ident=90>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="CONVERTED_DATA">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>6
</Length>
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="VOLUME">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>6
</Length>
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
</cel>
</Tree>
