001    package org.cocome.tradingsystem.systests.interfaces;
002    
003    /**
004     * Interface for the lights display at a cash desk. This contains a light
005     * indicating express mode activity and a light indicating that no credit cards
006     * are accepted. For the reference implementation both lights are used at the
007     * same time. However the "no credit card light" might also be useful to
008     * indicate a missing bank caonnection.
009     * 
010     * @author Christian Pfaller
011     * @author $Author: hummel $
012     * @version $Revision: 1.1 $
013     * @levd.rating GREEN Rev: 47
014     */
015    
016    public interface ILightsDisplay extends IUpdateReceiver {
017    
018            /**
019             * Returns true, if the express mode light is on
020             */
021            public boolean isExpressModeLightOn() throws Exception;
022    
023            /**
024             * Returns ture, if the no credit card light is on
025             */
026            public boolean isNoCreditCardLightOn() throws Exception;
027    }