public abstract class W1BaseDevice extends Object implements W1Device
Constructor and Description |
---|
W1BaseDevice(File deviceDir) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
W1Device should be considered equal based on their ID
|
String |
getId()
Returns the name (id/serial number) of the device e.g.
|
String |
getName()
Returns a human readable name.
|
String |
getValue()
Gets the current Value = content of w1_slave file
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getFamilyId
public W1BaseDevice(File deviceDir)
public String getName()
W1Device
public String getId()
W1Device
public boolean equals(Object obj)
W1Device
public int hashCode()
public String getValue() throws IOException
W1Device
getValue
in interface W1Device
IOException
Copyright © 2012–2021 Pi4J. All rights reserved.