|
2010-01-26 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectProfile
org.eclipse.soda.dk.gpio.profile.GpioProfile
public abstract class GpioProfile
The GPIO Profile specifies the interface to general purpose IO. It provides measurement values for the current states of input and output pins. It supports the ability to set the value of output pins through a command interface as well as triggering the state of an output pin with an LDAP expression. The GpioProfile class implements the GpioProfileService and provides the controls for the profile.
The list of exported services:
GpioProfileService,
See the following specification(s) for more details:
Title:
EPCglobal Low Level Reader Protocol (LLRP)
URL:
http://www.epcglobalinc.org/standards/llrp
Version:
1.0.1
Date:
August 13, 2007
Vendor:
EPCglobal
Comment:
Ratified
Title:
EPCglobal Application Level Events (ALE) Specification
URL:
http://www.epcglobalinc.org/standards/ale/
Version:
1.1
Date:
February 27, 2008
Vendor:
EPCglobal
Comment:
Ratified
| Field Summary | |
|---|---|
protected ReadOnlyMeasurement |
analogInput
AnalogInput specifies the current analog inputs. |
protected ReadOnlyMeasurement |
analogInputCount
AnalogInputCount specifies the number of analog inputs supported by the device. |
protected java.util.Map |
analogInputOffMap
Define the analog input off map (Map) field. |
protected ReadOnlyMeasurement |
analogOutput
AnalogOutput specifies the current states of the analog outputs. |
protected ReadOnlyMeasurement |
analogOutputCount
AnalogOutputCount specifies the number of outputs supported by the device. |
protected java.util.Map |
analogOutputOffMap
Define the analog output off map (Map) field. |
protected MethodCommand |
analogOutputRequest
AnalogOutputRequest is the command interface to set the state of Analog Outputs. |
static java.lang.String |
CLASS_NAME
Defines the full class name. |
static java.lang.String |
CONTROL_PROFILE_PREFIX
Define the control profile prefix configuration key. |
protected java.lang.String |
controlProfileServiceBitsExternalKey
Define control profile service bits external key. |
protected java.lang.String |
controlProfileServiceBitsGetExternalKey
Define control profile service bits get external key. |
protected java.lang.String |
controlProfileServiceLongsExternalKey
Define control profile service longs external key. |
protected java.lang.String |
controlProfileServiceLongsGetExternalKey
Define control profile service longs get external key. |
protected ReadOnlyMeasurement |
input
Input specifies the current states of the input pins. |
protected ReadOnlyMeasurement |
inputCount
InputCount specifies the number of input pins supported by the device. |
protected java.util.Map |
inputFalseMap
Define the input false map (Map) field. |
protected java.util.Hashtable |
ldapMap
Define the LDAP map (Dictionary) field. |
protected ReadOnlyMeasurement |
output
Output specifies the current states of the output pins. |
protected MethodMeasurement |
output10Expression
LDAP expression to trigger the state of output pin 10 based on input pin and control values. |
protected MethodMeasurement |
output11Expression
LDAP expression to trigger the state of output pin 11 based on input pin and control values. |
protected MethodMeasurement |
output12Expression
LDAP expression to trigger the state of output pin 12 based on input pin and control values. |
protected MethodMeasurement |
output13Expression
LDAP expression to trigger the state of output pin 13 based on input pin and control values. |
protected MethodMeasurement |
output14Expression
LDAP expression to trigger the state of output pin 14 based on input pin and control values. |
protected MethodMeasurement |
output15Expression
LDAP expression to trigger the state of output pin 15 based on input pin and control values. |
protected MethodMeasurement |
output16Expression
LDAP expression to trigger the state of output pin 16 based on input pin and control values. |
protected MethodMeasurement |
output17Expression
LDAP expression to trigger the state of output pin 17 based on input pin and control values. |
protected MethodMeasurement |
output18Expression
LDAP expression to trigger the state of output pin 18 based on input pin and control values. |
protected MethodMeasurement |
output19Expression
LDAP expression to trigger the state of output pin 19 based on input pin and control values. |
protected MethodMeasurement |
output1Expression
LDAP expression to trigger the state of output pin 1 based on input pin and control values. |
protected MethodMeasurement |
output20Expression
LDAP expression to trigger the state of output pin 20 based on input pin and control values. |
protected MethodMeasurement |
output21Expression
LDAP expression to trigger the state of output pin 21 based on input pin and control values. |
protected MethodMeasurement |
output22Expression
LDAP expression to trigger the state of output pin 22 based on input pin and control values. |
protected MethodMeasurement |
output23Expression
LDAP expression to trigger the state of output pin 23 based on input pin and control values. |
protected MethodMeasurement |
output24Expression
LDAP expression to trigger the state of output pin 24 based on input pin and control values. |
protected MethodMeasurement |
output25Expression
LDAP expression to trigger the state of output pin 25 based on input pin and control values. |
protected MethodMeasurement |
output26Expression
LDAP expression to trigger the state of output pin 26 based on input pin and control values. |
protected MethodMeasurement |
output27Expression
LDAP expression to trigger the state of output pin 27 based on input pin and control values. |
protected MethodMeasurement |
output28Expression
LDAP expression to trigger the state of output pin 28 based on input pin and control values. |
protected MethodMeasurement |
output29Expression
LDAP expression to trigger the state of output pin 29 based on input pin and control values. |
protected MethodMeasurement |
output2Expression
LDAP expression to trigger the state of output pin 2 based on input pin and control values. |
protected MethodMeasurement |
output30Expression
LDAP expression to trigger the state of output pin 30 based on input pin and control values. |
protected MethodMeasurement |
output31Expression
LDAP expression to trigger the state of output pin 31 based on input pin and control values. |
protected MethodMeasurement |
output32Expression
LDAP expression to trigger the state of output pin 32 based on input pin and control values. |
protected MethodMeasurement |
output3Expression
LDAP expression to trigger the state of output pin 3 based on input pin and control values. |
protected MethodMeasurement |
output4Expression
LDAP expression to trigger the state of output pin 4 based on input pin and control values. |
protected MethodMeasurement |
output5Expression
LDAP expression to trigger the state of output pin 5 based on input pin and control values. |
protected MethodMeasurement |
output6Expression
LDAP expression to trigger the state of output pin 6 based on input pin and control values. |
protected MethodMeasurement |
output7Expression
LDAP expression to trigger the state of output pin 7 based on input pin and control values. |
protected MethodMeasurement |
output8Expression
LDAP expression to trigger the state of output pin 8 based on input pin and control values. |
protected MethodMeasurement |
output9Expression
LDAP expression to trigger the state of output pin 9 based on input pin and control values. |
protected ReadOnlyMeasurement |
outputCount
OutputCount specifies the number of output pins supported by the device. |
protected Filter[] |
outputFilters
Define the bit filters (Filter[]) field. |
protected java.util.Map |
outputOffMap
Define the output off map (Map) field. |
protected java.util.Map |
outputOnMap
Define the output on map (Map) field. |
protected MethodCommand |
outputRequest
OutputRequest is the command interface to set the state of output pins. |
| Constructor Summary | |
|---|---|
GpioProfile()
Constructs a new instance of the GpioProfile class. |
|
| Method Summary | |
|---|---|
protected void |
applyAnalogOutputRequest(java.util.Map request)
Apply analog output request with the specified request parameter. |
protected void |
applyOutputRequest(java.util.Map request)
Apply output request with the specified request parameter. |
protected void |
evaluateFilters()
Evaluate filters. |
MeasurementService |
getAnalogInput()
AnalogInput specifies the current analog inputs. |
MeasurementService |
getAnalogInputCount()
AnalogInputCount specifies the number of analog inputs supported by the device. |
protected long |
getAnalogInputCountValue()
Gets the analog input count value (long) value. |
MeasurementService |
getAnalogOutput()
AnalogOutput specifies the current states of the analog outputs. |
MeasurementService |
getAnalogOutputCount()
AnalogOutputCount specifies the number of outputs supported by the device. |
protected long |
getAnalogOutputCountValue()
Gets the analog output count value (long) value. |
CommandService |
getAnalogOutputRequest()
AnalogOutputRequest is the command interface to set the state of Analog Outputs. |
int |
getControlCapacity()
Gets the control capacity. |
java.lang.String |
getControlProfilePrefix()
Get the control profile prefix value. |
DeviceService |
getDefaultDevice()
Gets the default DeviceService. |
java.lang.String |
getDefaultKey()
Gets the default key of the profile. |
MeasurementService |
getInput()
Input specifies the current states of the input pins. |
MeasurementService |
getInputCount()
InputCount specifies the number of input pins supported by the device. |
protected abstract long |
getInputCountValue()
Gets the input count value (long) value. |
protected java.util.Map |
getMergedMap(java.util.Map request,
java.util.Map current,
java.lang.String[] names)
Get merged state with the specified request parameter and return the int result. |
int |
getMessageCapacity()
Gets the message capacity. |
MeasurementService |
getOutput()
Output specifies the current states of the output pins. |
MeasurementService |
getOutput10Expression()
LDAP expression to trigger the state of output pin 10 based on input pin and control values. |
MeasurementService |
getOutput11Expression()
LDAP expression to trigger the state of output pin 11 based on input pin and control values. |
MeasurementService |
getOutput12Expression()
LDAP expression to trigger the state of output pin 12 based on input pin and control values. |
MeasurementService |
getOutput13Expression()
LDAP expression to trigger the state of output pin 13 based on input pin and control values. |
MeasurementService |
getOutput14Expression()
LDAP expression to trigger the state of output pin 14 based on input pin and control values. |
MeasurementService |
getOutput15Expression()
LDAP expression to trigger the state of output pin 15 based on input pin and control values. |
MeasurementService |
getOutput16Expression()
LDAP expression to trigger the state of output pin 16 based on input pin and control values. |
MeasurementService |
getOutput17Expression()
LDAP expression to trigger the state of output pin 17 based on input pin and control values. |
MeasurementService |
getOutput18Expression()
LDAP expression to trigger the state of output pin 18 based on input pin and control values. |
MeasurementService |
getOutput19Expression()
LDAP expression to trigger the state of output pin 19 based on input pin and control values. |
MeasurementService |
getOutput1Expression()
LDAP expression to trigger the state of output pin 1 based on input pin and control values. |
MeasurementService |
getOutput20Expression()
LDAP expression to trigger the state of output pin 20 based on input pin and control values. |
MeasurementService |
getOutput21Expression()
LDAP expression to trigger the state of output pin 21 based on input pin and control values. |
MeasurementService |
getOutput22Expression()
LDAP expression to trigger the state of output pin 22 based on input pin and control values. |
MeasurementService |
getOutput23Expression()
LDAP expression to trigger the state of output pin 23 based on input pin and control values. |
MeasurementService |
getOutput24Expression()
LDAP expression to trigger the state of output pin 24 based on input pin and control values. |
MeasurementService |
getOutput25Expression()
LDAP expression to trigger the state of output pin 25 based on input pin and control values. |
MeasurementService |
getOutput26Expression()
LDAP expression to trigger the state of output pin 26 based on input pin and control values. |
MeasurementService |
getOutput27Expression()
LDAP expression to trigger the state of output pin 27 based on input pin and control values. |
MeasurementService |
getOutput28Expression()
LDAP expression to trigger the state of output pin 28 based on input pin and control values. |
MeasurementService |
getOutput29Expression()
LDAP expression to trigger the state of output pin 29 based on input pin and control values. |
MeasurementService |
getOutput2Expression()
LDAP expression to trigger the state of output pin 2 based on input pin and control values. |
MeasurementService |
getOutput30Expression()
LDAP expression to trigger the state of output pin 30 based on input pin and control values. |
MeasurementService |
getOutput31Expression()
LDAP expression to trigger the state of output pin 31 based on input pin and control values. |
MeasurementService |
getOutput32Expression()
LDAP expression to trigger the state of output pin 32 based on input pin and control values. |
MeasurementService |
getOutput3Expression()
LDAP expression to trigger the state of output pin 3 based on input pin and control values. |
MeasurementService |
getOutput4Expression()
LDAP expression to trigger the state of output pin 4 based on input pin and control values. |
MeasurementService |
getOutput5Expression()
LDAP expression to trigger the state of output pin 5 based on input pin and control values. |
MeasurementService |
getOutput6Expression()
LDAP expression to trigger the state of output pin 6 based on input pin and control values. |
MeasurementService |
getOutput7Expression()
LDAP expression to trigger the state of output pin 7 based on input pin and control values. |
MeasurementService |
getOutput8Expression()
LDAP expression to trigger the state of output pin 8 based on input pin and control values. |
MeasurementService |
getOutput9Expression()
LDAP expression to trigger the state of output pin 9 based on input pin and control values. |
MeasurementService |
getOutputCount()
OutputCount specifies the number of output pins supported by the device. |
protected abstract long |
getOutputCountValue()
Gets the output count value (long) value. |
CommandService |
getOutputRequest()
OutputRequest is the command interface to set the state of output pins. |
protected boolean |
getStoredInputByName(java.lang.String name)
Get stored input by name with the specified name parameter and return the boolean result. |
protected boolean |
getStoredOutputByName(java.lang.String name)
Get stored output by name with the specified name parameter and return the boolean result. |
protected void |
handleAnalogInput(MeasurementService source,
java.lang.Object timestamp,
java.lang.Object newValue,
java.lang.Object oldValue)
Handle analog input with the specified source, timestamp, new value and old value parameters. |
protected void |
handleControlProfileServiceBits(java.lang.String externalKey,
java.util.Dictionary data)
Handle control profile service bits with the specified external key and data parameters. |
protected void |
handleControlProfileServiceLongs(java.lang.String externalKey,
java.util.Dictionary data)
Handle control profile service longs with the specified external key and data parameters. |
protected void |
handleExecuteAnalogOutputRequest(Command command,
java.lang.Object data)
Handle execute analog output request with the specified command and data parameters. |
protected void |
handleExecuteOutputRequest(Command command,
java.lang.Object data)
Handle GPIO output request with the specified command and data parameters. |
protected void |
handleInput(MeasurementService source,
java.lang.Object timestamp,
java.lang.Object newValue,
java.lang.Object oldValue)
Handle input with the specified source, timestamp, new value and old value parameters. |
java.lang.Object |
handleMethodAnalogOutputRequest(int code,
Command command,
java.lang.Object data)
Handle method analog output request with the specified code, command and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput10Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output10 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput11Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output11 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput12Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output12 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput13Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output13 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput14Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output14 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput15Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output15 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput16Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output16 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput17Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output17 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput18Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output18 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput19Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output19 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput1Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output1 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput20Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output20 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput21Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output21 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput22Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output22 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput23Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output23 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput24Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output24 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput25Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output25 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput26Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output26 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput27Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output27 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput28Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output28 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput29Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output29 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput2Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output2 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput30Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output30 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput31Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output31 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput32Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output32 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput3Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output3 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput4Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output4 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput5Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output5 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput6Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output6 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput7Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output7 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput8Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output8 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutput9Expression(int code,
Measurement measurement,
java.lang.Object data)
Handle method output9 expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodOutputExpression(int code,
Measurement measurement,
java.lang.Object data,
int pin)
Handle method output expression with the specified code, measurement, data and pin parameters and return the Object result. |
java.lang.Object |
handleMethodOutputRequest(int code,
Command command,
java.lang.Object data)
Handle method output request with the specified code, command and data parameters and return the Object result. |
boolean |
isDeviceNeeded()
Is device needed. |
void |
measurementChanged(MeasurementService source,
java.lang.Object timestamp,
java.lang.Object newValue,
java.lang.Object oldValue)
Measurement changed. |
void |
notificationReceived(java.lang.String externalKey,
java.util.Dictionary data)
Notification received. |
protected boolean |
requestAnalogIsValidType(java.util.Map request)
Request analog is valid type with the specified request parameter and return the boolean result. |
protected boolean |
requestIsValidType(java.util.Map request)
Request is valid type with the specified request parameter and return the boolean result. |
void |
setup()
|
void |
setupCustom()
Setup custom. |
void |
setupNotification()
Setup notification. |
protected abstract void |
turnOffAllOutputs()
Turn off all outputs. |
protected abstract void |
turnOnAllOutputs()
Turn on all outputs. |
protected void |
updateAnalogOutputs(java.util.Map newState,
java.util.Map request)
Update analog outputs with the specified new state and request parameters. |
protected void |
updateFilter(int index,
java.lang.Object newValue)
Update filter with the specified index and new value parameters. |
protected abstract void |
updateOutputs(java.util.Map fullState,
java.util.Map individualRequest)
Update outputs with the specified request parameter. |
| 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
public static final java.lang.String CONTROL_PROFILE_PREFIX
protected java.lang.String controlProfileServiceBitsExternalKey
protected java.lang.String controlProfileServiceBitsGetExternalKey
protected java.lang.String controlProfileServiceLongsExternalKey
protected java.lang.String controlProfileServiceLongsGetExternalKey
protected final MethodCommand outputRequest
handleMethodOutputRequest(int, Command, Object)protected final MethodCommand analogOutputRequest
handleMethodAnalogOutputRequest(int, Command, Object)protected final ReadOnlyMeasurement inputCount
protected final ReadOnlyMeasurement outputCount
protected final ReadOnlyMeasurement input
protected final ReadOnlyMeasurement output
protected final MethodMeasurement output1Expression
handleMethodOutput1Expression(int, Measurement, Object)protected final MethodMeasurement output2Expression
handleMethodOutput2Expression(int, Measurement, Object)protected final MethodMeasurement output3Expression
handleMethodOutput3Expression(int, Measurement, Object)protected final MethodMeasurement output4Expression
handleMethodOutput4Expression(int, Measurement, Object)protected final MethodMeasurement output5Expression
handleMethodOutput5Expression(int, Measurement, Object)protected final MethodMeasurement output6Expression
handleMethodOutput6Expression(int, Measurement, Object)protected final MethodMeasurement output7Expression
handleMethodOutput7Expression(int, Measurement, Object)protected final MethodMeasurement output8Expression
handleMethodOutput8Expression(int, Measurement, Object)protected final MethodMeasurement output9Expression
handleMethodOutput9Expression(int, Measurement, Object)protected final MethodMeasurement output10Expression
handleMethodOutput10Expression(int, Measurement, Object)protected final MethodMeasurement output11Expression
handleMethodOutput11Expression(int, Measurement, Object)protected final MethodMeasurement output12Expression
handleMethodOutput12Expression(int, Measurement, Object)protected final MethodMeasurement output13Expression
handleMethodOutput13Expression(int, Measurement, Object)protected final MethodMeasurement output14Expression
handleMethodOutput14Expression(int, Measurement, Object)protected final MethodMeasurement output15Expression
handleMethodOutput15Expression(int, Measurement, Object)protected final MethodMeasurement output16Expression
handleMethodOutput16Expression(int, Measurement, Object)protected final MethodMeasurement output17Expression
handleMethodOutput17Expression(int, Measurement, Object)protected final MethodMeasurement output18Expression
handleMethodOutput18Expression(int, Measurement, Object)protected final MethodMeasurement output19Expression
handleMethodOutput19Expression(int, Measurement, Object)protected final MethodMeasurement output20Expression
handleMethodOutput20Expression(int, Measurement, Object)protected final MethodMeasurement output21Expression
handleMethodOutput21Expression(int, Measurement, Object)protected final MethodMeasurement output22Expression
handleMethodOutput22Expression(int, Measurement, Object)protected final MethodMeasurement output23Expression
handleMethodOutput23Expression(int, Measurement, Object)protected final MethodMeasurement output24Expression
handleMethodOutput24Expression(int, Measurement, Object)protected final MethodMeasurement output25Expression
handleMethodOutput25Expression(int, Measurement, Object)protected final MethodMeasurement output26Expression
handleMethodOutput26Expression(int, Measurement, Object)protected final MethodMeasurement output27Expression
handleMethodOutput27Expression(int, Measurement, Object)protected final MethodMeasurement output28Expression
handleMethodOutput28Expression(int, Measurement, Object)protected final MethodMeasurement output29Expression
handleMethodOutput29Expression(int, Measurement, Object)protected final MethodMeasurement output30Expression
handleMethodOutput30Expression(int, Measurement, Object)protected final MethodMeasurement output31Expression
handleMethodOutput31Expression(int, Measurement, Object)protected final MethodMeasurement output32Expression
handleMethodOutput32Expression(int, Measurement, Object)protected final ReadOnlyMeasurement analogInputCount
protected final ReadOnlyMeasurement analogOutputCount
protected final ReadOnlyMeasurement analogInput
protected final ReadOnlyMeasurement analogOutput
protected java.util.Map outputOnMap
protected java.util.Map outputOffMap
protected java.util.Map analogOutputOffMap
protected java.util.Map inputFalseMap
protected java.util.Map analogInputOffMap
protected java.util.Hashtable ldapMap
protected Filter[] outputFilters
| Constructor Detail |
|---|
public GpioProfile()
| Method Detail |
|---|
public java.lang.String getControlProfilePrefix()
CONTROL_PROFILE_PREFIX
public void notificationReceived(java.lang.String externalKey,
java.util.Dictionary data)
externalKey - external key.data - data.public void setupNotification()
public void measurementChanged(MeasurementService source,
java.lang.Object timestamp,
java.lang.Object newValue,
java.lang.Object oldValue)
source - source.timestamp - time stamp.newValue - new value.oldValue - old value.public java.lang.String getDefaultKey()
public DeviceService getDefaultDevice()
public boolean isDeviceNeeded()
public int getControlCapacity()
public int getMessageCapacity()
public CommandService getOutputRequest()
handleMethodOutputRequest(int, Command, Object)public CommandService getAnalogOutputRequest()
handleMethodAnalogOutputRequest(int, Command, Object)public MeasurementService getInputCount()
public MeasurementService getOutputCount()
public MeasurementService getInput()
public MeasurementService getOutput()
public MeasurementService getOutput1Expression()
handleMethodOutput1Expression(int, Measurement, Object)public MeasurementService getOutput2Expression()
handleMethodOutput2Expression(int, Measurement, Object)public MeasurementService getOutput3Expression()
handleMethodOutput3Expression(int, Measurement, Object)public MeasurementService getOutput4Expression()
handleMethodOutput4Expression(int, Measurement, Object)public MeasurementService getOutput5Expression()
handleMethodOutput5Expression(int, Measurement, Object)public MeasurementService getOutput6Expression()
handleMethodOutput6Expression(int, Measurement, Object)public MeasurementService getOutput7Expression()
handleMethodOutput7Expression(int, Measurement, Object)public MeasurementService getOutput8Expression()
handleMethodOutput8Expression(int, Measurement, Object)public MeasurementService getOutput9Expression()
handleMethodOutput9Expression(int, Measurement, Object)public MeasurementService getOutput10Expression()
handleMethodOutput10Expression(int, Measurement, Object)public MeasurementService getOutput11Expression()
handleMethodOutput11Expression(int, Measurement, Object)public MeasurementService getOutput12Expression()
handleMethodOutput12Expression(int, Measurement, Object)public MeasurementService getOutput13Expression()
handleMethodOutput13Expression(int, Measurement, Object)public MeasurementService getOutput14Expression()
handleMethodOutput14Expression(int, Measurement, Object)public MeasurementService getOutput15Expression()
handleMethodOutput15Expression(int, Measurement, Object)public MeasurementService getOutput16Expression()
handleMethodOutput16Expression(int, Measurement, Object)public MeasurementService getOutput17Expression()
handleMethodOutput17Expression(int, Measurement, Object)public MeasurementService getOutput18Expression()
handleMethodOutput18Expression(int, Measurement, Object)public MeasurementService getOutput19Expression()
handleMethodOutput19Expression(int, Measurement, Object)public MeasurementService getOutput20Expression()
handleMethodOutput20Expression(int, Measurement, Object)public MeasurementService getOutput21Expression()
handleMethodOutput21Expression(int, Measurement, Object)public MeasurementService getOutput22Expression()
handleMethodOutput22Expression(int, Measurement, Object)public MeasurementService getOutput23Expression()
handleMethodOutput23Expression(int, Measurement, Object)public MeasurementService getOutput24Expression()
handleMethodOutput24Expression(int, Measurement, Object)public MeasurementService getOutput25Expression()
handleMethodOutput25Expression(int, Measurement, Object)public MeasurementService getOutput26Expression()
handleMethodOutput26Expression(int, Measurement, Object)public MeasurementService getOutput27Expression()
handleMethodOutput27Expression(int, Measurement, Object)public MeasurementService getOutput28Expression()
handleMethodOutput28Expression(int, Measurement, Object)public MeasurementService getOutput29Expression()
handleMethodOutput29Expression(int, Measurement, Object)public MeasurementService getOutput30Expression()
handleMethodOutput30Expression(int, Measurement, Object)public MeasurementService getOutput31Expression()
handleMethodOutput31Expression(int, Measurement, Object)public MeasurementService getOutput32Expression()
handleMethodOutput32Expression(int, Measurement, Object)public MeasurementService getAnalogInputCount()
public MeasurementService getAnalogOutputCount()
public MeasurementService getAnalogInput()
public MeasurementService getAnalogOutput()
public void setup()
org.eclipse.soda.dk.device.Container#setup()protected void applyAnalogOutputRequest(java.util.Map request)
request - The request (Map) parameter.getAnalogOutputRequest(),
handleExecuteAnalogOutputRequest(Command,Object),
handleMethodAnalogOutputRequest(int,Command,Object)protected void applyOutputRequest(java.util.Map request)
request - The request (Map) parameter.applyAnalogOutputRequest(Map),
getAnalogOutputRequest(),
getOutputRequest(),
handleExecuteAnalogOutputRequest(Command,Object),
handleExecuteOutputRequest(Command,Object),
handleMethodAnalogOutputRequest(int,Command,Object),
handleMethodOutputRequest(int,Command,Object)protected void evaluateFilters()
protected long getAnalogInputCountValue()
long) value.protected long getAnalogOutputCountValue()
long) value.protected abstract long getInputCountValue()
long) value.getAnalogInputCountValue()
protected java.util.Map getMergedMap(java.util.Map request,
java.util.Map current,
java.lang.String[] names)
request - The request (Map) parameter.current - The current (Map) parameter.names - The names (String[]) parameter.
int) value.protected abstract long getOutputCountValue()
long) value.getAnalogOutputCountValue()protected boolean getStoredInputByName(java.lang.String name)
name - The name (String) parameter.
boolean) value.protected boolean getStoredOutputByName(java.lang.String name)
name - The name (String) parameter.
boolean) value.
protected void handleAnalogInput(MeasurementService source,
java.lang.Object timestamp,
java.lang.Object newValue,
java.lang.Object oldValue)
source - The source (MeasurementService) parameter.timestamp - The time stamp (Object) parameter.newValue - The new value (Object) parameter.oldValue - The old value (Object) parameter.getAnalogInput()
protected void handleControlProfileServiceBits(java.lang.String externalKey,
java.util.Dictionary data)
externalKey - The external key (String) parameter.data - The data (Dictionary) parameter.
protected void handleControlProfileServiceLongs(java.lang.String externalKey,
java.util.Dictionary data)
externalKey - The external key (String) parameter.data - The data (Dictionary) parameter.
protected void handleExecuteAnalogOutputRequest(Command command,
java.lang.Object data)
command - The command (Command) parameter.data - The data (Object) parameter.
protected void handleExecuteOutputRequest(Command command,
java.lang.Object data)
command - The command (Command) parameter.data - The data (Object) parameter.
protected void handleInput(MeasurementService source,
java.lang.Object timestamp,
java.lang.Object newValue,
java.lang.Object oldValue)
source - The source (MeasurementService) parameter.timestamp - The time stamp (Object) parameter.newValue - The new value (Object) parameter.oldValue - The old value (Object) parameter.getAnalogInput(),
getInput(),
handleAnalogInput(MeasurementService,Object,Object,Object)
public java.lang.Object handleMethodAnalogOutputRequest(int code,
Command command,
java.lang.Object data)
code - The code (int) parameter.command - The command (Command) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput10Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput11Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput12Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput13Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput14Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput15Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput16Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput17Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput18Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput19Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput1Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput20Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput21Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput22Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput23Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput24Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput25Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput26Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput27Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput28Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput29Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput2Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput30Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput31Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput32Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput3Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput4Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput5Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput6Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput7Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput8Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutput9Expression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodOutputExpression(int code,
Measurement measurement,
java.lang.Object data,
int pin)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.pin - The pin (int) parameter.
Object) value.
public java.lang.Object handleMethodOutputRequest(int code,
Command command,
java.lang.Object data)
code - The code (int) parameter.command - The command (Command) parameter.data - The data (Object) parameter.
Object) value.protected boolean requestAnalogIsValidType(java.util.Map request)
request - The request (Map) parameter.
boolean) value.protected boolean requestIsValidType(java.util.Map request)
request - The request (Map) parameter.
boolean) value.requestAnalogIsValidType(Map)public void setupCustom()
protected abstract void turnOffAllOutputs()
protected abstract void turnOnAllOutputs()
protected void updateAnalogOutputs(java.util.Map newState,
java.util.Map request)
newState - The new state (Map) parameter.request - The request (Map) parameter.
protected void updateFilter(int index,
java.lang.Object newValue)
index - The index (int) parameter.newValue - The new value (Object) parameter.
protected abstract void updateOutputs(java.util.Map fullState,
java.util.Map individualRequest)
fullState - The full state (Map) parameter.individualRequest - The individual request (Map) parameter.turnOffAllOutputs(),
turnOnAllOutputs(),
updateAnalogOutputs(Map,Map)
|
2010-01-26 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||