home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Thomson (Residential)
/
TGSTPv7203.iso
/
mac
/
HIW
/
xml
/
mod_systemcheck_mac.xml
< prev
next >
Wrap
Extensible Markup Language
|
2008-02-11
|
4KB
|
83 lines
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fsm SYSTEM "fsm.dtd">
<!--
System check module for Mac.
Input properties:
- serialFilter: Regexp to filter search on serial number. Default '*'
- nameFilter: Regexp to filter search on device name. Default '*'
Output properties:
- adaptorManagerList: List of names of loaded adaptormanagers.
Exit events:
- foundDevice: One or more devices were found.
- needInstall: No devices were found. Some plugins need driver install.
- plugHardware: No devices were found. All drivers are installed.
-->
<fsm type="pageFsm">
<property key="autoContinue" value="yes"/>
<property key="autoContinueTime" value="0"/>
<property key="pluginsLoaded" value="0"/>
<!-- states -->
<states>
<!-- shows the page -->
<state type="showMoviePage" name="showPageSystemCheck">
<property key="registerPage" value="1"/>
<property key="sweep" value="1"/>
<property key="title" value="tr(Scanning computer)"/>
<property key="subTitle" value="tr(Please wait, the wizard is checking your computer.)"/>
<property key="info" value="tr(Scanning your computer)"/>
<property key="extraInfo" value="tr(Please wait, this can take a few minutes.)"/>
<property key="movieFile" value="Images/systemcheck.mng"/>
</state>
<!-- have we already passed systemcheck? (user may have clicked Back) -->
<state type="compare" name="checkPluginsLoaded"/>
<!-- load adaptor manager plugins -->
<state type="loadPlugins" name="loadPlugins" weight="15"/>
<!-- wait till null addresses disappear -->
<state type="waitNullAddresses" name="waitNullAddresses" weight="20">
<property key="timeout" value="60"/>
</state>
<!-- device finder -->
<state type="deviceFinder" name="sysCheckDeviceFinder" weight="15">
<property key="timeout" value="2"/>
</state>
</states>
<!-- This module has the following output events -->
<events>
<event name="needInstall"/>
<event name="foundDevice"/>
</events>
<!-- transitions -->
<transitions>
<transition startstate="showPageSystemCheck"/>
<!-- systemcheck already passed? -->
<transition fromstate="showPageSystemCheck" tostate="checkPluginsLoaded" event="continue">
<propertymap target="comparisonType" function="equal"/>
<propertymap target="input1" function="$fsm.pluginsLoaded"/>
<propertymap target="input2" function="1"/>
</transition>
<!-- recover after reboot -->
<transition fromstate="checkPluginsLoaded" tostate="loadPlugins" event="false">
<propertymap target="rootPath" function="$app.applicationPath"/>
<propertymap target="enableLogging" function="$app.enableLogging"/>
</transition>
<!-- wait a moment for DHCP lease -->
<transition fromstate="checkPluginsLoaded" tostate="waitNullAddresses" event="true"/>
<transition fromstate="loadPlugins" tostate="waitNullAddresses" event="noneLoaded|singleLoaded|multipleLoaded">
<!--output --><propertymap target="fsm.adaptorManagerList" function="$adaptorManagerList"/>
<propertymap target="fsm.pluginsLoaded" function="1"/>
</transition>
<transition fromstate="waitNullAddresses" tostate="sysCheckDeviceFinder" event="finished|timeout">
<propertymap target="nameFilter" function="$fsm.nameFilter"/>
<propertymap target="serialFilter" function="$fsm.serialFilter"/>
<propertymap target="adaptorManagerList" function="$fsm.adaptorManagerList"/>
</transition>
<transition fromstate="sysCheckDeviceFinder" toexit="foundDevice" event="foundSingleDevice|foundMultipleDevices"/>
<transition fromstate="sysCheckDeviceFinder" toexit="needInstall" event="foundNoDevices"/>
</transitions>
</fsm>