|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.ibutton.tmex.container.iButtonContainerGeneral
|
+--com.ibutton.tmex.container.iButtonContainer12
iButton container for iButton family type 12 (hex). This family type is a 'dual addressible switch' iButton (DS2407). It contains 2 addressible switches and or sensors.
//\\//\\//\\// Does not yet support memory operations \\//\\//\\//
| Fields inherited from class com.ibutton.tmex.container.iButtonContainerGeneral |
adapter,
ID |
| Constructor Summary | |
iButtonContainer12()
Constructs a General purpose iButton container class. |
|
| Method Summary | |
java.lang.String |
getAlternateNames()
Retrieve the alternate Dallas Semiconductor part numbers or names. |
boolean |
getChannelAActivity()
Read the activity latch of the A channel PIO switch. |
boolean |
getChannelALevel()
Read the sensed level on the A channel of this device. |
boolean |
getChannelAState()
Read the state of the A channel PIO switch. |
boolean |
getChannelBActivity()
Read the activity latch of the B channel PIO switch. |
boolean |
getChannelBLevel()
Read the sensed level on the B channel of this device. |
boolean |
getChannelBState()
Read the state of the B channel PIO switch. |
java.lang.String |
getDescription()
Retrieve a short description of the function of the iButton type. |
java.lang.String |
getiButtonPartName()
Retrieve the Dallas Semiconductor part number of the iButton as a string. |
int |
getNumberOfChannels()
Read the number of channels on this 1-Wire switch. |
boolean |
isPowerSupplied()
Read the devices is getting supplied with power. |
int |
readSwitchState(boolean clearActivity)
Set the switch state for a dual switch. |
void |
setSwitchState(boolean channelAState)
Set the switch state for a single switch. |
void |
setSwitchState(boolean channelAState,
boolean channelBState)
Set the switch state for a dual switch. |
| Methods inherited from class com.ibutton.tmex.container.iButtonContainerGeneral |
dataBlock,
getBit,
getBlock,
getByte,
getID,
getIDString,
isAlarming,
isPresent,
putBit,
putByte,
reset,
select,
setupContainer |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public iButtonContainer12()
| Method Detail |
public java.lang.String getiButtonPartName()
public java.lang.String getAlternateNames()
public java.lang.String getDescription()
public void setSwitchState(boolean channelAState)
throws PortNotSelectedException,
PortInUseException,
AdapterNotDetectedException,
MicroLanIOException,
HardwareOptionNotAvailException
public void setSwitchState(boolean channelAState,
boolean channelBState)
throws PortNotSelectedException,
PortInUseException,
AdapterNotDetectedException,
MicroLanIOException,
HardwareOptionNotAvailException
public int readSwitchState(boolean clearActivity)
throws PortNotSelectedException,
PortInUseException,
AdapterNotDetectedException,
MicroLanIOException,
HardwareOptionNotAvailException
public int getNumberOfChannels()
public boolean getChannelAState()
public boolean getChannelBState()
public boolean getChannelAActivity()
public boolean getChannelBActivity()
public boolean getChannelALevel()
public boolean getChannelBLevel()
public boolean isPowerSupplied()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||