Package com.metratec.lib.rfidreader
Class HighOnTagSettings
- java.lang.Object
-
- com.metratec.lib.rfidreader.HighOnTagSettings
-
public class HighOnTagSettings extends java.lang.Object
Class for the reader high on tag settings
-
-
Constructor Summary
Constructors Constructor Description HighOnTagSettings(boolean enable)
HighOnTagSettings(java.lang.Integer outputPin, java.lang.Integer duration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getDuration()
java.lang.Integer
getOutputPin()
boolean
isEnable()
void
setDuration(java.lang.Integer duration)
void
setEnable(boolean enable)
void
setOutputPin(java.lang.Integer outputPin)
-
-
-
Constructor Detail
-
HighOnTagSettings
public HighOnTagSettings(boolean enable)
- Parameters:
enable
- set to false for disable the high on tag feature
-
HighOnTagSettings
public HighOnTagSettings(java.lang.Integer outputPin, java.lang.Integer duration)
- Parameters:
outputPin
- the output pin that signals a found tagduration
- pin high duration in milliseconds [100..1000]
-
-
Method Detail
-
isEnable
public boolean isEnable()
- Returns:
- if the feature is enabled
-
setEnable
public void setEnable(boolean enable)
- Parameters:
enable
- set to false for disable the high on tag feature
-
getOutputPin
public java.lang.Integer getOutputPin()
- Returns:
- the output pin that signals a found tag
-
setOutputPin
public void setOutputPin(java.lang.Integer outputPin)
- Parameters:
outputPin
- he output pin that signals a found tag
-
getDuration
public java.lang.Integer getDuration()
- Returns:
- pin high duration in milliseconds
-
setDuration
public void setDuration(java.lang.Integer duration)
- Parameters:
duration
- pin high duration in milliseconds [100..1000]
-
-