<!DOCTYPE Tree SYSTEM "IPSA.dtd">
<Tree chk="1178119182" type="Script" onEnd="default" onBackExit="back">
<Header>
<IFile>
<FileName name="script_automatic_vehicle_detection">
</FileName>
<Modif date="27/01/2014" user="mohamedhedi.attia" site="THESAU">
</Modif>
</IFile>
<ITool name="ime2" revision="7.3.2.2" exedate="14/06/2013">
</ITool>
</Header>
<precel>
<TreeInfo posc=1 posl=1 ident=10>
<Comment>Procédure de détection automatique du véchicule
</Comment>
</TreeInfo>
</precel>
<cel>
<Start posc=13 posl=1 destc=13 destl=3 ident=11>
</Start>
<Act posc=13 posl=3 destc=17 destl=5 ident=12>
<Comment>Entrée dans le Tag VechilePreparation
</Comment>
<AutomaticVehicleDetection>
<Vehicle_Preparation>
</Vehicle_Preparation>
</AutomaticVehicleDetection>
</Act>
<Act posc=17 posl=9 destc=17 destl=13 ident=16>
<Comment>Entrée dans le Tag VinPreparation
</Comment>
<AutomaticVehicleDetection>
<Vin_Preparation>
</Vin_Preparation>
</AutomaticVehicleDetection>
</Act>
<Act posc=13 posl=19 destc=13 destl=21 ident=17>
<Comment>Entrée dans le Tag VinResult
</Comment>
<AutomaticVehicleDetection>
<Vin_Result>
</Vin_Result>
</AutomaticVehicleDetection>
</Act>
<Act posc=13 posl=23 destc=13 destl=25 ident=20>
<Comment>Entrée dans le Tag GetVehicleData
</Comment>
<AutomaticVehicleDetection>
<GetVehicleData>
</GetVehicleData>
</AutomaticVehicleDetection>
</Act>
<Switch posc=13 posl=25 ident=21>
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>3
</FloatNumber>
</Source>
<TargetCell destc=13 destl=27>
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>9
</FloatNumber>
</Source>
<TargetCell destc=21 destl=29>
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc=13 destl=27>
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<Act posc=13 posl=27 destc=21 destl=29 ident=23>
<Comment>Entrée dans le Tag GetVehicle
</Comment>
<AutomaticVehicleDetection>
<GetVehicle>
</GetVehicle>
</AutomaticVehicleDetection>
</Act>
<Act posc=13 posl=33 destc=13 destl=35 ident=25>
<Comment>Entrée dans le Tag GetVehicleEnd
</Comment>
<AutomaticVehicleDetection>
<GetVehicleEnd>
</GetVehicleEnd>
</AutomaticVehicleDetection>
</Act>
<End posc=13 posl=35 ident=26>
</End>
<Act posc=21 posl=29 destc=13 destl=33 ident=31>
<AutomaticVehicleDetection>
<Vehicle_Report>
</Vehicle_Report>
</AutomaticVehicleDetection>
</Act>
<Switch posc=13 posl=21 ident=32>
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>3
</FloatNumber>
</Source>
<TargetCell destc=13 destl=23>
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>9
</FloatNumber>
</Source>
<TargetCell destc=21 destl=29>
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc=13 destl=23>
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<Switch posc=13 posl=7 ident=34>
<Source>
<TextBuffer name="VEHICLEMODEL_RETURN">
</TextBuffer>
</Source>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="AUTO_VEH_DETECT">
</ASCIIString>
</Source>
<TargetCell destc=17 destl=9>
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="MANU_VEH_DETECT">
</ASCIIString>
</Source>
<TargetCell destc=15 destl=11>
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<ASCIIString value="MANU_VEH_DETECT_TDIAG">
</ASCIIString>
</Source>
<TargetCell destc=15 destl=11>
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc=13 destl=17>
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<Switch posc=17 posl=5 ident=35>
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>3
</FloatNumber>
</Source>
<TargetCell destc=13 destl=7>
</TargetCell>
</SwitchTest>
<SwitchTest type="EQUAL">
<Source>
<FloatNumber>9
</FloatNumber>
</Source>
<TargetCell destc=13 destl=33>
</TargetCell>
</SwitchTest>
<DefaultSwitchTarget>
<TargetCell destc=13 destl=33>
</TargetCell>
</DefaultSwitchTarget>
</Switch>
<SubTree posc=17 posl=13 destc=17 destl=15 ident=36 FileName="script_detectVINauto.s" IsCritical="NO">
<FilePath path="Vehicle\gen">
</FilePath>
</SubTree>
<Act posc=15 posl=11 destc=17 destl=13 ident=37>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="NO_PROTOCOL">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="PROTOCOL_TYPE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=17 posl=17 destc=13 destl=17 ident=38>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="VIN_DETECTED">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="CODEVIN">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=13 posl=17 destc=13 destl=19 ident=40>
<PortalNavigation>
<VinPopup>
</VinPopup>
</PortalNavigation>
</Act>
<Test posc=17 posl=15 destyesc=13 destyesl=17 destnoc=17 destnol=17 ident=41>
<Comment>
</Comment>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="TEST_EMPTY">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="TEST_EMPTY">
</TextBuffer>
</Source>
<Source>
<TextBuffer name="VIN_DETECTED">
</TextBuffer>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
</cel>
</Tree>
