Sample ODIS Production.xml File

From OKOS Wiki
Jump to navigation Jump to search

Sample ODIS_Production.xml File

 <?xml version="1.0" encoding="utf-8" ?>
 <Production>
   <HideScope value="false" />
   <AutoSave value="true" nameformat="{date} this is a test {F1} {F2}" dateformat="yyyy/MM/dd hh:mm:ss tt"/>
   <ShowWarnings value="false"/>
   <InputFields>
     <Field name="Work Order #" id="1" length="200" required="true"></Field>
     <Field name="Recipe" id="2" length="100"></Field>
     <Field name="Qty" id="3" length="40"></Field>
   </InputFields>
   <Buttons>
     <Button name="Start">
       <Action type="Init"></Action>
     </Button>
     <Button name="Stop">
       <Action type="Disable" id="all"/>
     </Button>
     <Button name="Initialize" id="1" color="Blue">
       <Action type="Init"></Action>
     </Button>
     <Button name="Load" id="2" color="green">
       <Action type="LoadParams"></Action>
       <Action type="SelectField" id="1"></Action>
     </Button>
     <Button name="Goto Start" id="3">
       <Action type="GotoStart"></Action>
     </Button>
     <Button name="Start Scan" id="4" color="Green">
       <Action type="Disable" id="1"></Action>
       <Action type="Disable" id="2"></Action>
       <Action type="Disable" id="3"></Action>
       <Action type="Disable" id="4"></Action>
       <Action type="Enable" id="5"></Action>
       <Action type="Enable" id="6"></Action>
       <Action type="Enable" id="7"></Action>
       <Action type="Start" />
     </Button>
     <Button name="Pause Scan" id ="5" color="Yellow" enabledonstart="false">
       <Action type="Pause" textpaused="Resume Scan"/>
     </Button>
     <Button name="Stop Scan" id="6" color="Red" textcolor="White" enabledonstart="false">
       <Action type="Stop" />
       <Action type="Enable" id="1"></Action>
       <Action type="Enable" id="2"></Action>
       <Action type="Enable" id="3"></Action>
       <Action type="Enable" id="4"></Action>
       <Action type="Disable" id="5"></Action>
       <Action type="Disable" id="6"></Action>
     </Button>
     <Button name="Abort Scan" id="7" color="White" textcolor="Black" enabledonstart="false">
      <Action type="Abort" />
       <Action type="Enable" id="1"></Action>
       <Action type="Enable" id="2"></Action>
       <Action type="Enable" id="3"></Action>
       <Action type="Enable" id="4"></Action>
       <Action type="Disable" id="5"></Action>
       <Action type="Disable" id="6"></Action>
       <Action type="Disable" id="7"></Action>
     </Button>
     <Button name="Tray View" id="8">
       <Action type="Switch" value="trayview"></Action>
     </Button>
     <Button name="Analysis" id="9">
       <Action type="Analysis"></Action>
     </Button>
     <Button name="Save" id="10" >
       <Action type="SaveData" />
     </Button>
     <Button name="Switch User" id="11">
       <Action type="Switch" value="switchuser"></Action>
     </Button>
     <Button name="Logout" id="12" color="LightBlue">
       <Action type="Logout" />
     </Button> 
   </Buttons> 
 </Production>