<!DOCTYPE Tree SYSTEM "IPSA.dtd">
<Tree chk="-495766096" type="Script" onEnd="default" onBackExit="back">
<Header>
<IFile>
<FileName name="script_configurationunite">
</FileName>
<Modif date="12/03/2020" user="mmaarouf" site="THESAU">
</Modif>
</IFile>
<ITool name="ime2" revision="7.3.1.0" exedate="20/08/2019">
</ITool>
</Header>
<precel>
<TreeInfo posc=1 posl=1 ident=10>
<Comment>Ecran de configuration des unites
</Comment>
</TreeInfo>
</precel>
<cel>
<Start posc=1 posl=3 destc=5 destl=3 ident=11>
</Start>
<Act posc=5 posl=3 destc=5 destl=5 ident=12>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="OldUniteDistance">
</TextBuffer>
</Destination>
</Clear>
<Assignment>
<Source>
<GlobalTextBuffer name="UniteDistance">
</GlobalTextBuffer>
</Source>
<Destination>
<TextBuffer name="OldUniteDistance">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<ContextManipulator>
<AC_Context>
<AC_ContextParam Param="TempUnit">
</AC_ContextParam>
</AC_Context>
<GetContextData DataType="Text">
<Destination>
<GlobalTextBuffer name="UniteTemperature">
</GlobalTextBuffer>
</Destination>
</GetContextData>
</ContextManipulator>
<ContextManipulator>
<AC_Context>
<AC_ContextParam Param="MileageUnit">
</AC_ContextParam>
</AC_Context>
<GetContextData DataType="Text">
<Destination>
<TextBuffer name="OldUniteDistance">
</TextBuffer>
</Destination>
</GetContextData>
</ContextManipulator>
</Act>
<PartDiag>
<Appl Description=TO-BE-FILLED>
<For>
<DataComparison type="DIFFERENT">
<Source>
<GlobalTextBuffer name="UniteTemperature">
</GlobalTextBuffer>
</Source>
<Source>
<ASCIIString value="F">
</ASCIIString>
</Source>
</DataComparison>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OldUniteDistance">
</TextBuffer>
</Source>
<Source>
<ASCIIString value="miles">
</ASCIIString>
</Source>
</DataComparison>
</For>
</Appl>
<InputScreen posc=5 posl=5 destc=5 destl=7 ident=14 IsANode="NO" EnableBackJumps="NO" Printable="NO" EscapeBtn="NO">
<ScreenTitle>
<LabelContent>
<Paragraph>
<ThesauRef code="12" thesauName="VEHMNT">
</ThesauRef>
</Paragraph>
</LabelContent>
</ScreenTitle>
<GroupOfInputItems>
<LabelContent>
<Paragraph>
<ThesauRef code="11" thesauName="VEHMNT">
</ThesauRef>
</Paragraph>
</LabelContent>
<InputItem>
<LabelContent>
<Paragraph>
<ThesauRef code="13" thesauName="VEHMNT">
</ThesauRef>
</Paragraph>
</LabelContent>
<ComboBox>
<ComboItem IsSelected="YES">
<Source>
<TextBuffer name="OldUniteDistance">
</TextBuffer>
</Source>
</ComboItem>
<ComboItem IsSelected="NO">
<Source>
<ASCIIString value="km">
</ASCIIString>
</Source>
</ComboItem>
<Destination>
<GlobalTextBuffer name="UniteDistance">
</GlobalTextBuffer>
</Destination>
</ComboBox>
</InputItem>
<InputItem>
<LabelContent>
<Paragraph>
<ThesauRequest>@P101-VEHMNT
</ThesauRequest>
</Paragraph>
</LabelContent>
<ComboBox>
<ComboItem IsSelected="YES">
<Source>
<ASCIIString value="°C">
</ASCIIString>
</Source>
</ComboItem>
<ComboItem IsSelected="NO">
<Source>
<ASCIIString value="°F">
</ASCIIString>
</Source>
</ComboItem>
<Destination>
<GlobalTextBuffer name="UniteTemperature">
</GlobalTextBuffer>
</Destination>
</ComboBox>
</InputItem>
</GroupOfInputItems>
</InputScreen>
</PartDiag>
<Act posc=5 posl=10 destc=5 destl=12 ident=15>
<MathAndLogic>
<SetIniValue FileName="CheckUpClim.ini" SectionName="Units" KeyName="Distance">
<FilePath path="..\..\dtwr\cfg">
</FilePath>
<Source>
<GlobalTextBuffer name="UniteDistance">
</GlobalTextBuffer>
</Source>
</SetIniValue>
<SetIniValue FileName="CheckUpClim.ini" SectionName="Units" KeyName="Temperature">
<FilePath path="..\..\dtwr\cfg">
</FilePath>
<Source>
<AC_ContextAccessor>
<AC_ContextParam Param="TempUnit">
</AC_ContextParam>
</AC_ContextAccessor>
</Source>
</SetIniValue>
</MathAndLogic>
<ContextManipulator>
<AC_Context>
<AC_ContextParam Param="MileageUnit">
</AC_ContextParam>
</AC_Context>
<SetContextData DataType="Text">
<Source>
<GlobalTextBuffer name="UniteDistance">
</GlobalTextBuffer>
</Source>
</SetContextData>
</ContextManipulator>
</Act>
<End posc=5 posl=14 ident=16>
</End>
<PartDiag>
<Appl Description=TO-BE-FILLED>
<For>
<DataComparison type="EQUAL">
<Source>
<GlobalTextBuffer name="UniteTemperature">
</GlobalTextBuffer>
</Source>
<Source>
<ASCIIString value="F">
</ASCIIString>
</Source>
</DataComparison>
<DataComparison type="DIFFERENT">
<Source>
<TextBuffer name="OldUniteDistance">
</TextBuffer>
</Source>
<Source>
<ASCIIString value="miles">
</ASCIIString>
</Source>
</DataComparison>
</For>
</Appl>
<InputScreen posc=5 posl=5 destc=5 destl=7 ident=17 IsANode="NO" EnableBackJumps="NO" Printable="NO" EscapeBtn="NO">
<ScreenTitle>
<LabelContent>
<Paragraph>
<ThesauRef code="12" thesauName="VEHMNT">
</ThesauRef>
</Paragraph>
</LabelContent>
</ScreenTitle>
<GroupOfInputItems>
<LabelContent>
<Paragraph>
<ThesauRef code="11" thesauName="VEHMNT">
</ThesauRef>
</Paragraph>
</LabelContent>
<InputItem>
<LabelContent>
<Paragraph>
<ThesauRef code="13" thesauName="VEHMNT">
</ThesauRef>
</Paragraph>
</LabelContent>
<ComboBox>
<ComboItem IsSelected="YES">
<Source>
<TextBuffer name="OldUniteDistance">
</TextBuffer>
</Source>
</ComboItem>
<ComboItem IsSelected="NO">
<Source>
<ASCIIString value="miles">
</ASCIIString>
</Source>
</ComboItem>
<Destination>
<GlobalTextBuffer name="UniteDistance">
</GlobalTextBuffer>
</Destination>
</ComboBox>
</InputItem>
<InputItem>
<LabelContent>
<Paragraph>
<ThesauRequest>@P101-VEHMNT
</ThesauRequest>
</Paragraph>
</LabelContent>
<ComboBox>
<ComboItem IsSelected="YES">
<Source>
<ASCIIString value="°F">
</ASCIIString>
</Source>
</ComboItem>
<ComboItem IsSelected="NO">
<Source>
<ASCIIString value="°C">
</ASCIIString>
</Source>
</ComboItem>
<Destination>
<GlobalTextBuffer name="UniteTemperature">
</GlobalTextBuffer>
</Destination>
</ComboBox>
</InputItem>
</GroupOfInputItems>
</InputScreen>
</PartDiag>
<PartDiag>
<Appl Description=TO-BE-FILLED>
<For>
<DataComparison type="EQUAL">
<Source>
<GlobalTextBuffer name="UniteTemperature">
</GlobalTextBuffer>
</Source>
<Source>
<ASCIIString value="F">
</ASCIIString>
</Source>
</DataComparison>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OldUniteDistance">
</TextBuffer>
</Source>
<Source>
<ASCIIString value="miles">
</ASCIIString>
</Source>
</DataComparison>
</For>
</Appl>
<InputScreen posc=5 posl=5 destc=5 destl=7 ident=18 IsANode="NO" EnableBackJumps="NO" Printable="NO" EscapeBtn="NO">
<ScreenTitle>
<LabelContent>
<Paragraph>
<ThesauRef code="12" thesauName="VEHMNT">
</ThesauRef>
</Paragraph>
</LabelContent>
</ScreenTitle>
<GroupOfInputItems>
<LabelContent>
<Paragraph>
<ThesauRef code="11" thesauName="VEHMNT">
</ThesauRef>
</Paragraph>
</LabelContent>
<InputItem>
<LabelContent>
<Paragraph>
<ThesauRef code="13" thesauName="VEHMNT">
</ThesauRef>
</Paragraph>
</LabelContent>
<ComboBox>
<ComboItem IsSelected="YES">
<Source>
<TextBuffer name="OldUniteDistance">
</TextBuffer>
</Source>
</ComboItem>
<ComboItem IsSelected="NO">
<Source>
<ASCIIString value="km">
</ASCIIString>
</Source>
</ComboItem>
<Destination>
<GlobalTextBuffer name="UniteDistance">
</GlobalTextBuffer>
</Destination>
</ComboBox>
</InputItem>
<InputItem>
<LabelContent>
<Paragraph>
<ThesauRequest>@P101-VEHMNT
</ThesauRequest>
</Paragraph>
</LabelContent>
<ComboBox>
<ComboItem IsSelected="YES">
<Source>
<ASCIIString value="°F">
</ASCIIString>
</Source>
</ComboItem>
<ComboItem IsSelected="NO">
<Source>
<ASCIIString value="°C">
</ASCIIString>
</Source>
</ComboItem>
<Destination>
<GlobalTextBuffer name="UniteTemperature">
</GlobalTextBuffer>
</Destination>
</ComboBox>
</InputItem>
</GroupOfInputItems>
</InputScreen>
</PartDiag>
<PartDiag>
<Appl Description=TO-BE-FILLED>
<For>
<DataComparison type="DIFFERENT">
<Source>
<GlobalTextBuffer name="UniteTemperature">
</GlobalTextBuffer>
</Source>
<Source>
<ASCIIString value="F">
</ASCIIString>
</Source>
</DataComparison>
<DataComparison type="DIFFERENT">
<Source>
<TextBuffer name="OldUniteDistance">
</TextBuffer>
</Source>
<Source>
<ASCIIString value="miles">
</ASCIIString>
</Source>
</DataComparison>
</For>
</Appl>
<InputScreen posc=5 posl=5 destc=5 destl=7 ident=20 IsANode="NO" EnableBackJumps="NO" Printable="NO" EscapeBtn="NO">
<ScreenTitle>
<LabelContent>
<Paragraph>
<ThesauRef code="12" thesauName="VEHMNT">
</ThesauRef>
</Paragraph>
</LabelContent>
</ScreenTitle>
<GroupOfInputItems>
<LabelContent>
<Paragraph>
<ThesauRef code="11" thesauName="VEHMNT">
</ThesauRef>
</Paragraph>
</LabelContent>
<InputItem>
<LabelContent>
<Paragraph>
<ThesauRef code="13" thesauName="VEHMNT">
</ThesauRef>
</Paragraph>
</LabelContent>
<ComboBox>
<ComboItem IsSelected="YES">
<Source>
<TextBuffer name="OldUniteDistance">
</TextBuffer>
</Source>
</ComboItem>
<ComboItem IsSelected="NO">
<Source>
<ASCIIString value="miles">
</ASCIIString>
</Source>
</ComboItem>
<Destination>
<GlobalTextBuffer name="UniteDistance">
</GlobalTextBuffer>
</Destination>
</ComboBox>
</InputItem>
<InputItem>
<LabelContent>
<Paragraph>
<ThesauRequest>@P101-VEHMNT
</ThesauRequest>
</Paragraph>
</LabelContent>
<ComboBox>
<ComboItem IsSelected="YES">
<Source>
<ASCIIString value="°C">
</ASCIIString>
</Source>
</ComboItem>
<ComboItem IsSelected="NO">
<Source>
<ASCIIString value="°F">
</ASCIIString>
</Source>
</ComboItem>
<Destination>
<GlobalTextBuffer name="UniteTemperature">
</GlobalTextBuffer>
</Destination>
</ComboBox>
</InputItem>
</GroupOfInputItems>
</InputScreen>
</PartDiag>
<PartDiag>
<Appl Description=TO-BE-FILLED>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OldUniteDistance">
</TextBuffer>
</Source>
<Source>
<ASCIIString value="miles">
</ASCIIString>
</Source>
</DataComparison>
<DataComparison type="EQUAL">
<Source>
<ASCIIString value="km">
</ASCIIString>
</Source>
<Source>
<GlobalTextBuffer name="UniteDistance">
</GlobalTextBuffer>
</Source>
</DataComparison>
<NOT>
<descr>KmReadFromECU
</descr>
</NOT>
</For>
</Appl>
<Act posc=5 posl=12 destc=7 destl=13 ident=21>
<MathAndLogic>
<EvalExpression>
<Expression value="%%GVF_G33%%%%MULT%%1.6093">
</Expression>
<Destination>
<GlobalFloatVar name="G33">
</GlobalFloatVar>
</Destination>
</EvalExpression>
</MathAndLogic>
<MathAndLogic>
<Round SignificantDigits="0">
<FloatVariable>
<GlobalFloatVar name="G33">
</GlobalFloatVar>
</FloatVariable>
</Round>
</MathAndLogic>
</Act>
</PartDiag>
<PartDiag>
<Appl Description=TO-BE-FILLED>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OldUniteDistance">
</TextBuffer>
</Source>
<Source>
<ASCIIString value="km">
</ASCIIString>
</Source>
</DataComparison>
<DataComparison type="EQUAL">
<Source>
<ASCIIString value="miles">
</ASCIIString>
</Source>
<Source>
<GlobalTextBuffer name="UniteDistance">
</GlobalTextBuffer>
</Source>
</DataComparison>
</For>
</Appl>
<Act posc=5 posl=12 destc=7 destl=13 ident=22>
<MathAndLogic>
<EvalExpression>
<Expression value="%%GVF_G33%%%%MULT%%0.6214">
</Expression>
<Destination>
<GlobalFloatVar name="G33">
</GlobalFloatVar>
</Destination>
</EvalExpression>
</MathAndLogic>
<MathAndLogic>
<Round SignificantDigits="0">
<FloatVariable>
<GlobalFloatVar name="G33">
</GlobalFloatVar>
</FloatVariable>
</Round>
</MathAndLogic>
</Act>
</PartDiag>
<PartDiag>
<Appl Description=TO-BE-FILLED>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OldUniteDistance">
</TextBuffer>
</Source>
<Source>
<GlobalTextBuffer name="UniteDistance">
</GlobalTextBuffer>
</Source>
</DataComparison>
</For>
</Appl>
<Act posc=5 posl=12 destc=7 destl=13 ident=23>
</Act>
</PartDiag>
<Test posc=5 posl=7 destyesc=7 destyesl=8 destnoc=5 destnol=8 ident=25>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<GlobalTextBuffer name="UniteTemperature">
</GlobalTextBuffer>
</Source>
<Source>
<ASCIIString value="°F">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=7 posl=8 destc=5 destl=10 ident=26>
<ContextManipulator>
<AC_Context>
<AC_ContextParam Param="TempUnit">
</AC_ContextParam>
</AC_Context>
<SetContextData DataType="Text">
<Source>
<ASCIIString value="F">
</ASCIIString>
</Source>
</SetContextData>
</ContextManipulator>
</Act>
<Act posc=5 posl=8 destc=5 destl=10 ident=27>
<ContextManipulator>
<AC_Context>
<AC_ContextParam Param="TempUnit">
</AC_ContextParam>
</AC_Context>
<SetContextData DataType="Text">
<Source>
<ASCIIString value="C">
</ASCIIString>
</Source>
</SetContextData>
</ContextManipulator>
</Act>
<PartDiag>
<Appl Description=TO-BE-FILLED>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OldUniteDistance">
</TextBuffer>
</Source>
<Source>
<ASCIIString value="miles">
</ASCIIString>
</Source>
</DataComparison>
<DataComparison type="EQUAL">
<Source>
<ASCIIString value="km">
</ASCIIString>
</Source>
<Source>
<GlobalTextBuffer name="UniteDistance">
</GlobalTextBuffer>
</Source>
</DataComparison>
<descr>KmReadFromECU
</descr>
</For>
</Appl>
<Act posc=5 posl=12 destc=7 destl=13 ident=29>
<MathAndLogic>
<Assignment>
<Source>
<FloatVar name="V33">
</FloatVar>
</Source>
<Destination>
<GlobalFloatVar name="G33">
</GlobalFloatVar>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
</PartDiag>
<Act posc=7 posl=13 destc=5 destl=14 ident=30>
<MathAndLogic>
<Assignment>
<Source>
<GlobalFloatVar name="G33">
</GlobalFloatVar>
</Source>
<Destination>
<NamedGlobalFloatVar name="KMTOTAL">
</NamedGlobalFloatVar>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
</cel>
</Tree>
