park.borne.impl
Class BarriereImpl

java.lang.Object
  extended bypark.borne.impl.BarriereImpl

public class BarriereImpl
extends java.lang.Object


Field Summary
private static byte MSQ_ENTREES
           
private  PCF8574 pCF8574Bar
          reference sur la classe permettant d'acceder au materiel
private  byte registre
          memorisation registre sortie du port PCF8574
 
Constructor Summary
BarriereImpl()
          constructeur
 
Method Summary
 void actualiseEntrees()
          actualisation de l'etat des entrees
 void init()
           
 boolean isBoucleAmont()
           
 boolean isBoucleAval()
           
 boolean isCommandeEnable()
           
 boolean isCommandeSensDescente()
           
 boolean isCommandeSensMontee()
           
 boolean isInFDCH()
           
 boolean isInFDCL()
           
 void kill()
           
 void setCommandeEnable(boolean on)
           
 void setCommandeSensDescente(boolean on)
           
 void setCommandeSensMontee(boolean on)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MSQ_ENTREES

private static final byte MSQ_ENTREES
See Also:
Constant Field Values

pCF8574Bar

private PCF8574 pCF8574Bar
reference sur la classe permettant d'acceder au materiel


registre

private volatile byte registre
memorisation registre sortie du port PCF8574

Constructor Detail

BarriereImpl

public BarriereImpl()
constructeur

Method Detail

init

public void init()
          throws PortException
Throws:
PortException

kill

public void kill()

isInFDCH

public boolean isInFDCH()

isInFDCL

public boolean isInFDCL()

isBoucleAmont

public boolean isBoucleAmont()

isBoucleAval

public boolean isBoucleAval()

setCommandeSensMontee

public void setCommandeSensMontee(boolean on)

isCommandeSensMontee

public boolean isCommandeSensMontee()

setCommandeSensDescente

public void setCommandeSensDescente(boolean on)

isCommandeSensDescente

public boolean isCommandeSensDescente()

setCommandeEnable

public void setCommandeEnable(boolean on)

isCommandeEnable

public boolean isCommandeEnable()

actualiseEntrees

public void actualiseEntrees()
actualisation de l'etat des entrees