<?xml version="1.0" encoding="UTF-8"?>       --optional

<!--
Reserved characters
Some characters are generally reserved to indicate markup such that they cannot be used for character data. These characters are <, >, and &. Furthermore, single and double quotes are sometimes reserved. If you want to include such a character as below, write it as follows: 

&lt; instead of      <

&gt; instead of     >

&amp; instead of      &

&apos; instead of    '

&quot; instead of     "

&#37;   instead of   %

Please note that for node properties, you should NOT convert single or double quotes to &quot;. For example, version="1.0",  encoding="UTF-8", BG="10",FG="255" 

After you create the XML file, you may use Internet browser (such as IE, Firefox) to open it and see whether it complies with XML standard.

-->
<Transaction>
 
	<Order>
       
		<ID>198</ID>
       
		<!-- It must be unique in whole system, it can be a string -->
       
		<PosTerminal>2</PosTerminal>
 	
		<TransType>2</TransType> 
 		
		<!-- 1 Add new order, Append order to the last position-->
 		
		<!-- 2 Delete this order. If use this value, the KDS just need order ID tag. 
			Others tag can be any value, or don't transfer them -->
 		
		<!-- 3 Modify this order. Just tranfer all changed order tag. 
			If tag value is blank, KDS deal with it as unchanged -->
 		
		<!-- 4 Reserved for future use -->

 		
		<!-- 5 Ask this order kitchen status -->
 	
       
		<OrderStatus>3</OrderStatus>
       	
		<!-- 0 unpaid -->
       	
		<!-- 1 Paid -->
       	
		<!-- 2 In Process -->
       
       
		<OrderType>RUSH</OrderType> 
       	
		<!-- ""- Normal order -->
       	
		<!-- RUSH- Rush Order -->
	
		<!-- Fire- fire order-->

       
		<ServerName></ServerName> 
       	
		<!-- The operator name -->
       
		<Destination>Fast Food</Destination>
       	
		<!-- This order destination -->
       
		<GuestTable>23</GuestTable>
	
		<!-- Table number -->
       
		<UserInfo>userinfo</UserInfo>
	
                                        <!-- A parked order will go to parked pool and won't be displayed on panels. Its value can be yes/no or 1/0 -->                                 
                                        <Parked>no</Parked>
                                       <!-- Please check the KDS_Manager for finding out icons & indexes info -->
                                       <IconIndex>0</IconIndex>
		<OrderMessages>
	
			<!-- Append those message to the bottom of this order -->
		
			<Count>2</Count>
		
			<!--How many message -->
		
			<S0>Order Message 0</S0>
		
			<!--Sn- the message contents -->
		
			<S1>Order Message 1</S1>
	
		</OrderMessages>
    	
		<Item>
      		
			<ID>0</ID>
      			
			<!-- In this order this Item ID can NOT duplicated and it supports up to 50 chars, which may include number+alphabet+punctuation mark -->
	       
			<TransType>1</TransType>
	       
			<!-- 1  - add a new item.
			Append this item to last -->
	       
			<!-- 2 - Delete this item. 
			The order transtype value can be 1(add), 3(modify).
			KDS just need ID value. Other tags can be any value -->
	       
			<!-- 3 - Modify this item-->
	       
			<!-- 4 - Reserved for future use -->

      		
			<Name>Pasta Salad Supreme</Name>
      		
			<Category>Monitor1</Category>
      		
			<Quantity>1</Quantity>
      		
			<Color BG="10" FG="255"></Color>
		
			<!-- 256 colors, bg and fg color value -->
		
			<KDSStation></KDSStation>	
		
			<!-- Send this item to which station, default value "-1", the KDS decided it -->
		
			<PreModifier>
		
				<!--Those message will be shown at top of item -->
			
				<Count>2</Count>
			
				<!-- Message count -->
			
				<S0>Pre-Modifier 0</S0>
			
				<!-- Sn message content-->
			
				<S1>Pre-Modifier 1</S1>
		
			</PreModifier>
	      
			<Condiment>
	        	
				<ID>0</ID>
	        		
				<!-- In this item, this condiment id is unique id -->
	        	
				<TransType>1</TransType>
			       
				<!-- 1  - add a new condiment.
					Append this condiment to last-->
			       
				<!-- 2 - Delete this condiment.
					Remove this condiment. KDS just need this condiment ID value. Other this 
					condiment tage can be any value.
					Item transtype value can be 1(add) or 3(modify)-->
			       
				<!-- 3 - Modify this condiment-->
			       
				<!-- 4 - Reserved for future use -->
			
				<PreModifier>
				
					<!--Those message will be shown at top of condiment -->
				
					<Count>2</Count>
				
					<!-- Message count -->
				
					<S0>Pre-Modifier 0</S0>
				
					<!-- Sn message content-->
				
					<S1>Pre-Modifier 1</S1>
			
				</PreModifier>
	        	
				<Name>Spicy</Name>
	        	
				<Color BG="110" FG="200"></Color>			
	      
			</Condiment>
            
			<Condiment>
	        	
				<ID>1</ID>
	        	
				<TransType>1</TransType>
	        	
				<Name>Spicy2</Name>
	        	
				<Color BG="210" FG="55"></Color>
	        	
				<Action>-1</Action> 
	      
			</Condiment>
       
		</Item>
	
		<Item>
		   
			<ID>1</ID>
		   
			<TransType>1</TransType>
		   
			<Name>1Pasta Salad Supreme</Name>
		   
			<Category>Monitor2</Category>
		   
			<Quantity>2</Quantity>
	
	   		<!--Use negative quantity to emulate void items and change quantity>
			<Color BG="90" FG="25"></Color>
		   
			<KDSStation></KDSStation>
		  
			<Condiment>
		    	
				<ID>0</ID>
		    	
				<TransType>1</TransType>
		    	
				<Name>Spicy01</Name>
		    	
				<Color BG="50" FG="5"></Color>
		    	
				<Action>1</Action> 
		  
			</Condiment>
		    
			<Condiment>
		    	
				<ID>2</ID>
		    	
				<TransType>2</TransType>
		    	
				<Name>Spicy02</Name>
		    	
				<Color BG="80" FG="95"></Color>
		    	
				<Action>-1</Action>
		    	
				<!-- add or del -->
		  
			</Condiment>
       
		</Item>

	
</Order>

</Transaction>

