|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectGpioProfile
org.eclipse.soda.dk.epcglobal.llrp.gpio.profile.EpcglobalLlrpGpioProfile
public class EpcglobalLlrpGpioProfile
EpcglobalLlrp GPIO Profile. The EpcglobalLlrpGpioProfile class implements the device service and provides the controls for the device.
The list of exported services:
EpcglobalLlrpGpioProfileService,
the following specification(s) for more details:
Title:
EPCglobal Low Level Reader Protocol (LLRP)
Version:
1.0
Date:
April 12, 2007
Vendor:
EPCglobal
Comment:
Ratified
Title:
EPCglobal Low Level Reader Protocol (LLRP)
Version:
1.0
Date:
April 12, 2007
Vendor:
EPCglobal
Comment:
Ratified
Title:
LLRP Specification
Version:
EPC
Vendor:
EPC
Title:
LLRP Specification
Version:
EPC
Vendor:
EPC
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_NAME
Defines the class name. |
protected CommandService |
epcglobalLlrpDeviceServiceGetReaderConfig_GPIPortCurrentState
Defines the GetReaderConfig_GPIPortCurrentState commandref. |
protected SignalService |
epcglobalLlrpDeviceServiceGPIPortCurrentStateResponse
Defines the GPIPortCurrentStateResponse signalref. |
protected SignalService |
epcglobalLlrpDeviceServiceReaderEventNotification
Defines the ReaderEventNotification signalref. |
protected CommandService |
epcglobalLlrpDeviceServiceSetReaderConfig_GPIPortCurrentState
Defines the SetReaderConfig_GPIPortCurrentState commandref. |
protected CommandService |
epcglobalLlrpDeviceServiceSetReaderConfig_GPOWriteData
Defines the SetReaderConfig_GPOWriteData commandref. |
protected CommandService |
epcglobalLlrpDeviceServiceSetReaderConfig_ReaderEventNotificationSpec
Defines the SetReaderConfig_ReaderEventNotificationSpec commandref. |
protected SignalService |
epcglobalLlrpDeviceServiceSetReaderConfigResponse
Defines the SetReaderConfigResponse signalref. |
| Constructor Summary | |
|---|---|
EpcglobalLlrpGpioProfile()
Constructs a new instance of the EpcglobalLlrpGpioProfile class. |
|
EpcglobalLlrpGpioProfile(DeviceService device)
Constructs an instance of this class from the specified device parameter. |
|
| Method Summary | |
|---|---|
void |
activate()
Activate. |
protected void |
enableGPIEventNotification()
Enable gpievent notification. |
protected void |
enableGPIPorts()
Enable gpiports. |
protected void |
epcEpcglobalLlrpUpdateOutputPort(int gpoPortNumber,
java.lang.Boolean gpoPortState)
Epc epcglobal llrp update output port with the specified gpo port number and gpo port state parameters. |
protected void |
epcEpcglobalLlrpUpdateOutputPort(java.util.List gpoWriteDatas)
Epc epcglobal llrp update output port with the specified gpo write datas parameter. |
DeviceService |
getDefaultDevice()
Gets the default DeviceService. |
java.lang.String |
getDefaultKey()
Gets the default key of the device. |
int |
getGpiPortCount()
Gets the value of gpi port count custom parameter. |
int |
getGpoPortCount()
Gets the value of gpo port count custom parameter. |
protected long |
getInputCountValue()
Gets the input count value (long) value. |
protected long |
getOutputCountValue()
Gets the output count value (long) value. |
protected java.util.Map |
getReaderEventNotificationSpecParameter()
Gets the reader event notification spec parameter (Map) value. |
protected java.util.Map |
getSetReaderConfigGPIEventParameter()
Gets the set reader config gpievent parameter (Map) value. |
protected java.util.Map |
getSetReaderGPICurrentStateParameter()
Gets the set reader gpicurrent state parameter (Map) value. |
boolean |
isDeviceNeeded()
Is device needed. |
protected void |
populateTasks()
Populate tasks. |
void |
setDevice(DeviceService device)
Set device. |
void |
setGpiPortCount(int gpiPortCount)
Sets the value of gpi port count custom parameter. |
void |
setGpoPortCount(int gpoPortCount)
Sets the value of gpo port count custom parameter. |
void |
setup()
|
void |
signalOccurred(SignalService source,
java.lang.Object timestamp,
java.lang.Object data)
Signal occurred. |
protected void |
turnOffAllOutputs()
Turn off all outputs. |
protected void |
turnOnAllOutputs()
Turn on all outputs. |
protected void |
updateOutputs(java.util.Map fullState,
java.util.Map individualRequest)
Update outputs with the specified full state and individual request parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASS_NAME
protected CommandService epcglobalLlrpDeviceServiceSetReaderConfig_ReaderEventNotificationSpec
protected CommandService epcglobalLlrpDeviceServiceSetReaderConfig_GPIPortCurrentState
protected CommandService epcglobalLlrpDeviceServiceGetReaderConfig_GPIPortCurrentState
protected CommandService epcglobalLlrpDeviceServiceSetReaderConfig_GPOWriteData
protected SignalService epcglobalLlrpDeviceServiceSetReaderConfigResponse
protected SignalService epcglobalLlrpDeviceServiceGPIPortCurrentStateResponse
protected SignalService epcglobalLlrpDeviceServiceReaderEventNotification
| Constructor Detail |
|---|
public EpcglobalLlrpGpioProfile()
EpcglobalLlrpGpioProfile(DeviceService)public EpcglobalLlrpGpioProfile(DeviceService device)
device - The device (DeviceService) parameter.EpcglobalLlrpGpioProfile()| Method Detail |
|---|
public void activate()
protected void enableGPIEventNotification()
protected void enableGPIPorts()
protected void epcEpcglobalLlrpUpdateOutputPort(int gpoPortNumber,
java.lang.Boolean gpoPortState)
gpoPortNumber - The gpo port number (int) parameter.gpoPortState - The gpo port state (Boolean) parameter.epcEpcglobalLlrpUpdateOutputPort(List)protected void epcEpcglobalLlrpUpdateOutputPort(java.util.List gpoWriteDatas)
gpoWriteDatas - The gpo write datas (List) parameter.epcEpcglobalLlrpUpdateOutputPort(int,Boolean)public DeviceService getDefaultDevice()
public java.lang.String getDefaultKey()
public int getGpiPortCount()
setGpiPortCount(int)public int getGpoPortCount()
setGpoPortCount(int)protected long getInputCountValue()
long) value.protected long getOutputCountValue()
long) value.protected java.util.Map getReaderEventNotificationSpecParameter()
Map) value.protected java.util.Map getSetReaderConfigGPIEventParameter()
Map) value.protected java.util.Map getSetReaderGPICurrentStateParameter()
Map) value.public boolean isDeviceNeeded()
protected void populateTasks()
public void setDevice(DeviceService device)
device - device.getDefaultDevice()public void setGpiPortCount(int gpiPortCount)
gpiPortCount - The gpi port count custom parameter.getGpiPortCount()public void setGpoPortCount(int gpoPortCount)
gpoPortCount - The gpo port count custom parameter.getGpoPortCount()public void setup()
org.eclipse.soda.dk.device.Container#setup()
public void signalOccurred(SignalService source,
java.lang.Object timestamp,
java.lang.Object data)
source - source.timestamp - timestamp.data - data.protected void turnOffAllOutputs()
protected void turnOnAllOutputs()
protected void updateOutputs(java.util.Map fullState,
java.util.Map individualRequest)
fullState - The full state (Map) parameter.individualRequest - The individual request (Map) parameter.turnOffAllOutputs(),
turnOnAllOutputs()
|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||