2010-01-26 1.2.0

org.eclipse.soda.dk.gpio.profile
Class GpioProfile

java.lang.Object
  extended by Profile
      extended by org.eclipse.soda.dk.gpio.profile.GpioProfile
All Implemented Interfaces:
GpioProfileService

public abstract class GpioProfile
extends Profile
implements GpioProfileService

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:

Since:
1.0
Version:
1.2.0
See Also:
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.
 
Fields inherited from interface org.eclipse.soda.dk.gpio.profile.service.GpioProfileService
AI0_DATA_KEY, AI1_DATA_KEY, AI10_DATA_KEY, AI11_DATA_KEY, AI12_DATA_KEY, AI13_DATA_KEY, AI14_DATA_KEY, AI15_DATA_KEY, AI16_DATA_KEY, AI17_DATA_KEY, AI18_DATA_KEY, AI19_DATA_KEY, AI2_DATA_KEY, AI20_DATA_KEY, AI21_DATA_KEY, AI22_DATA_KEY, AI23_DATA_KEY, AI24_DATA_KEY, AI25_DATA_KEY, AI26_DATA_KEY, AI27_DATA_KEY, AI28_DATA_KEY, AI29_DATA_KEY, AI3_DATA_KEY, AI30_DATA_KEY, AI31_DATA_KEY, AI32_DATA_KEY, AI4_DATA_KEY, AI5_DATA_KEY, AI6_DATA_KEY, AI7_DATA_KEY, AI8_DATA_KEY, AI9_DATA_KEY, ALL_COMMANDS, ALL_MEASUREMENTS, ALL_SIGNALS, ANALOG_INPUT_COUNT_ERROR_EXTERNAL_KEY, ANALOG_INPUT_COUNT_EXTERNAL_KEY, ANALOG_INPUT_COUNT_GET_EXTERNAL_KEY, ANALOG_INPUT_COUNT_READ_EXTERNAL_KEY, ANALOG_INPUT_ERROR_EXTERNAL_KEY, ANALOG_INPUT_EXTERNAL_KEY, ANALOG_INPUT_GET_EXTERNAL_KEY, ANALOG_INPUT_NAMES, ANALOG_INPUT_READ_EXTERNAL_KEY, ANALOG_OUTPUT_COUNT_ERROR_EXTERNAL_KEY, ANALOG_OUTPUT_COUNT_EXTERNAL_KEY, ANALOG_OUTPUT_COUNT_GET_EXTERNAL_KEY, ANALOG_OUTPUT_COUNT_READ_EXTERNAL_KEY, ANALOG_OUTPUT_ERROR_EXTERNAL_KEY, ANALOG_OUTPUT_EXTERNAL_KEY, ANALOG_OUTPUT_GET_EXTERNAL_KEY, ANALOG_OUTPUT_NAMES, ANALOG_OUTPUT_READ_EXTERNAL_KEY, ANALOG_OUTPUT_REQUEST_ERROR_EXTERNAL_KEY, ANALOG_OUTPUT_REQUEST_EXTERNAL_KEY, AnalogInput, AnalogInputCount, AnalogOutput, AnalogOutputCount, AnalogOutputRequest, ANALOGOUTPUTREQUEST_EXECUTE_EXTERNAL_KEY, AO0_DATA_KEY, AO1_DATA_KEY, AO10_DATA_KEY, AO11_DATA_KEY, AO12_DATA_KEY, AO13_DATA_KEY, AO14_DATA_KEY, AO15_DATA_KEY, AO16_DATA_KEY, AO17_DATA_KEY, AO18_DATA_KEY, AO19_DATA_KEY, AO2_DATA_KEY, AO20_DATA_KEY, AO21_DATA_KEY, AO22_DATA_KEY, AO23_DATA_KEY, AO24_DATA_KEY, AO25_DATA_KEY, AO26_DATA_KEY, AO27_DATA_KEY, AO28_DATA_KEY, AO29_DATA_KEY, AO3_DATA_KEY, AO30_DATA_KEY, AO31_DATA_KEY, AO32_DATA_KEY, AO4_DATA_KEY, AO5_DATA_KEY, AO6_DATA_KEY, AO7_DATA_KEY, AO8_DATA_KEY, AO9_DATA_KEY, Capabilities, CAPABILITIES_ERROR_EXTERNAL_KEY, CAPABILITIES_EXTERNAL_KEY, CAPABILITIES_GET_EXTERNAL_KEY, Configuration, CONFIGURATION_ERROR_EXTERNAL_KEY, CONFIGURATION_EXTERNAL_KEY, CONFIGURATION_GET_EXTERNAL_KEY, GpioProfile, I0_DATA_KEY, I1_DATA_KEY, I10_DATA_KEY, I11_DATA_KEY, I12_DATA_KEY, I13_DATA_KEY, I14_DATA_KEY, I15_DATA_KEY, I16_DATA_KEY, I17_DATA_KEY, I18_DATA_KEY, I19_DATA_KEY, I2_DATA_KEY, I20_DATA_KEY, I21_DATA_KEY, I22_DATA_KEY, I23_DATA_KEY, I24_DATA_KEY, I25_DATA_KEY, I26_DATA_KEY, I27_DATA_KEY, I28_DATA_KEY, I29_DATA_KEY, I3_DATA_KEY, I30_DATA_KEY, I31_DATA_KEY, I32_DATA_KEY, I4_DATA_KEY, I5_DATA_KEY, I6_DATA_KEY, I7_DATA_KEY, I8_DATA_KEY, I9_DATA_KEY, Input, INPUT_COUNT_ERROR_EXTERNAL_KEY, INPUT_COUNT_EXTERNAL_KEY, INPUT_COUNT_GET_EXTERNAL_KEY, INPUT_COUNT_READ_EXTERNAL_KEY, INPUT_ERROR_EXTERNAL_KEY, INPUT_EXTERNAL_KEY, INPUT_GET_EXTERNAL_KEY, INPUT_NAMES, INPUT_READ_EXTERNAL_KEY, InputCount, Metrics, METRICS_ERROR_EXTERNAL_KEY, METRICS_EXTERNAL_KEY, METRICS_GET_EXTERNAL_KEY, O0_DATA_KEY, O1_DATA_KEY, O10_DATA_KEY, O11_DATA_KEY, O12_DATA_KEY, O13_DATA_KEY, O14_DATA_KEY, O15_DATA_KEY, O16_DATA_KEY, O17_DATA_KEY, O18_DATA_KEY, O19_DATA_KEY, O2_DATA_KEY, O20_DATA_KEY, O21_DATA_KEY, O22_DATA_KEY, O23_DATA_KEY, O24_DATA_KEY, O25_DATA_KEY, O26_DATA_KEY, O27_DATA_KEY, O28_DATA_KEY, O29_DATA_KEY, O3_DATA_KEY, O30_DATA_KEY, O31_DATA_KEY, O32_DATA_KEY, O4_DATA_KEY, O5_DATA_KEY, O6_DATA_KEY, O7_DATA_KEY, O8_DATA_KEY, O9_DATA_KEY, Output, OUTPUT_COUNT_ERROR_EXTERNAL_KEY, OUTPUT_COUNT_EXTERNAL_KEY, OUTPUT_COUNT_GET_EXTERNAL_KEY, OUTPUT_COUNT_READ_EXTERNAL_KEY, OUTPUT_ERROR_EXTERNAL_KEY, OUTPUT_EXTERNAL_KEY, OUTPUT_GET_EXTERNAL_KEY, OUTPUT_NAMES, OUTPUT_READ_EXTERNAL_KEY, OUTPUT_REQUEST_ERROR_EXTERNAL_KEY, OUTPUT_REQUEST_EXTERNAL_KEY, OUTPUT1_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT1_EXPRESSION_EXTERNAL_KEY, OUTPUT1_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT1_EXPRESSION_KEY, OUTPUT1_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT1_EXPRESSION_WRITE_EXTERNAL_KEY, OUTPUT10_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT10_EXPRESSION_EXTERNAL_KEY, OUTPUT10_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT10_EXPRESSION_KEY, OUTPUT10_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT10_EXPRESSION_WRITE_EXTERNAL_KEY, Output10Expression, OUTPUT11_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT11_EXPRESSION_EXTERNAL_KEY, OUTPUT11_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT11_EXPRESSION_KEY, OUTPUT11_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT11_EXPRESSION_WRITE_EXTERNAL_KEY, Output11Expression, OUTPUT12_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT12_EXPRESSION_EXTERNAL_KEY, OUTPUT12_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT12_EXPRESSION_KEY, OUTPUT12_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT12_EXPRESSION_WRITE_EXTERNAL_KEY, Output12Expression, OUTPUT13_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT13_EXPRESSION_EXTERNAL_KEY, OUTPUT13_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT13_EXPRESSION_KEY, OUTPUT13_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT13_EXPRESSION_WRITE_EXTERNAL_KEY, Output13Expression, OUTPUT14_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT14_EXPRESSION_EXTERNAL_KEY, OUTPUT14_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT14_EXPRESSION_KEY, OUTPUT14_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT14_EXPRESSION_WRITE_EXTERNAL_KEY, Output14Expression, OUTPUT15_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT15_EXPRESSION_EXTERNAL_KEY, OUTPUT15_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT15_EXPRESSION_KEY, OUTPUT15_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT15_EXPRESSION_WRITE_EXTERNAL_KEY, Output15Expression, OUTPUT16_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT16_EXPRESSION_EXTERNAL_KEY, OUTPUT16_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT16_EXPRESSION_KEY, OUTPUT16_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT16_EXPRESSION_WRITE_EXTERNAL_KEY, Output16Expression, OUTPUT17_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT17_EXPRESSION_EXTERNAL_KEY, OUTPUT17_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT17_EXPRESSION_KEY, OUTPUT17_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT17_EXPRESSION_WRITE_EXTERNAL_KEY, Output17Expression, OUTPUT18_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT18_EXPRESSION_EXTERNAL_KEY, OUTPUT18_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT18_EXPRESSION_KEY, OUTPUT18_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT18_EXPRESSION_WRITE_EXTERNAL_KEY, Output18Expression, OUTPUT19_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT19_EXPRESSION_EXTERNAL_KEY, OUTPUT19_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT19_EXPRESSION_KEY, OUTPUT19_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT19_EXPRESSION_WRITE_EXTERNAL_KEY, Output19Expression, Output1Expression, OUTPUT2_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT2_EXPRESSION_EXTERNAL_KEY, OUTPUT2_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT2_EXPRESSION_KEY, OUTPUT2_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT2_EXPRESSION_WRITE_EXTERNAL_KEY, OUTPUT20_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT20_EXPRESSION_EXTERNAL_KEY, OUTPUT20_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT20_EXPRESSION_KEY, OUTPUT20_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT20_EXPRESSION_WRITE_EXTERNAL_KEY, Output20Expression, OUTPUT21_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT21_EXPRESSION_EXTERNAL_KEY, OUTPUT21_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT21_EXPRESSION_KEY, OUTPUT21_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT21_EXPRESSION_WRITE_EXTERNAL_KEY, Output21Expression, OUTPUT22_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT22_EXPRESSION_EXTERNAL_KEY, OUTPUT22_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT22_EXPRESSION_KEY, OUTPUT22_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT22_EXPRESSION_WRITE_EXTERNAL_KEY, Output22Expression, OUTPUT23_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT23_EXPRESSION_EXTERNAL_KEY, OUTPUT23_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT23_EXPRESSION_KEY, OUTPUT23_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT23_EXPRESSION_WRITE_EXTERNAL_KEY, Output23Expression, OUTPUT24_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT24_EXPRESSION_EXTERNAL_KEY, OUTPUT24_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT24_EXPRESSION_KEY, OUTPUT24_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT24_EXPRESSION_WRITE_EXTERNAL_KEY, Output24Expression, OUTPUT25_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT25_EXPRESSION_EXTERNAL_KEY, OUTPUT25_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT25_EXPRESSION_KEY, OUTPUT25_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT25_EXPRESSION_WRITE_EXTERNAL_KEY, Output25Expression, OUTPUT26_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT26_EXPRESSION_EXTERNAL_KEY, OUTPUT26_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT26_EXPRESSION_KEY, OUTPUT26_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT26_EXPRESSION_WRITE_EXTERNAL_KEY, Output26Expression, OUTPUT27_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT27_EXPRESSION_EXTERNAL_KEY, OUTPUT27_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT27_EXPRESSION_KEY, OUTPUT27_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT27_EXPRESSION_WRITE_EXTERNAL_KEY, Output27Expression, OUTPUT28_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT28_EXPRESSION_EXTERNAL_KEY, OUTPUT28_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT28_EXPRESSION_KEY, OUTPUT28_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT28_EXPRESSION_WRITE_EXTERNAL_KEY, Output28Expression, OUTPUT29_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT29_EXPRESSION_EXTERNAL_KEY, OUTPUT29_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT29_EXPRESSION_KEY, OUTPUT29_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT29_EXPRESSION_WRITE_EXTERNAL_KEY, Output29Expression, Output2Expression, OUTPUT3_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT3_EXPRESSION_EXTERNAL_KEY, OUTPUT3_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT3_EXPRESSION_KEY, OUTPUT3_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT3_EXPRESSION_WRITE_EXTERNAL_KEY, OUTPUT30_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT30_EXPRESSION_EXTERNAL_KEY, OUTPUT30_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT30_EXPRESSION_KEY, OUTPUT30_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT30_EXPRESSION_WRITE_EXTERNAL_KEY, Output30Expression, OUTPUT31_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT31_EXPRESSION_EXTERNAL_KEY, OUTPUT31_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT31_EXPRESSION_KEY, OUTPUT31_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT31_EXPRESSION_WRITE_EXTERNAL_KEY, Output31Expression, OUTPUT32_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT32_EXPRESSION_EXTERNAL_KEY, OUTPUT32_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT32_EXPRESSION_KEY, OUTPUT32_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT32_EXPRESSION_WRITE_EXTERNAL_KEY, Output32Expression, Output3Expression, OUTPUT4_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT4_EXPRESSION_EXTERNAL_KEY, OUTPUT4_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT4_EXPRESSION_KEY, OUTPUT4_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT4_EXPRESSION_WRITE_EXTERNAL_KEY, Output4Expression, OUTPUT5_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT5_EXPRESSION_EXTERNAL_KEY, OUTPUT5_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT5_EXPRESSION_KEY, OUTPUT5_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT5_EXPRESSION_WRITE_EXTERNAL_KEY, Output5Expression, OUTPUT6_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT6_EXPRESSION_EXTERNAL_KEY, OUTPUT6_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT6_EXPRESSION_KEY, OUTPUT6_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT6_EXPRESSION_WRITE_EXTERNAL_KEY, Output6Expression, OUTPUT7_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT7_EXPRESSION_EXTERNAL_KEY, OUTPUT7_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT7_EXPRESSION_KEY, OUTPUT7_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT7_EXPRESSION_WRITE_EXTERNAL_KEY, Output7Expression, OUTPUT8_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT8_EXPRESSION_EXTERNAL_KEY, OUTPUT8_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT8_EXPRESSION_KEY, OUTPUT8_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT8_EXPRESSION_WRITE_EXTERNAL_KEY, Output8Expression, OUTPUT9_EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT9_EXPRESSION_EXTERNAL_KEY, OUTPUT9_EXPRESSION_GET_EXTERNAL_KEY, OUTPUT9_EXPRESSION_KEY, OUTPUT9_EXPRESSION_READ_EXTERNAL_KEY, OUTPUT9_EXPRESSION_WRITE_EXTERNAL_KEY, Output9Expression, OutputCount, OutputRequest, OUTPUTREQUEST_EXECUTE_EXTERNAL_KEY, SERVICE_DESCRIPTION, SERVICE_NAME, Status, STATUS_ERROR_EXTERNAL_KEY, STATUS_EXTERNAL_KEY, STATUS_GET_EXTERNAL_KEY
 
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

CLASS_NAME

public static final java.lang.String CLASS_NAME
Defines the full class name.

Since:
1.0
See Also:
Constant Field Values

CONTROL_PROFILE_PREFIX

public static final java.lang.String CONTROL_PROFILE_PREFIX
Define the control profile prefix configuration key.

Since:
1.0
See Also:
Constant Field Values

controlProfileServiceBitsExternalKey

protected java.lang.String controlProfileServiceBitsExternalKey
Define control profile service bits external key.

Since:
1.0

controlProfileServiceBitsGetExternalKey

protected java.lang.String controlProfileServiceBitsGetExternalKey
Define control profile service bits get external key.

Since:
1.0

controlProfileServiceLongsExternalKey

protected java.lang.String controlProfileServiceLongsExternalKey
Define control profile service longs external key.

Since:
1.0

controlProfileServiceLongsGetExternalKey

protected java.lang.String controlProfileServiceLongsGetExternalKey
Define control profile service longs get external key.

Since:
1.0

outputRequest

protected final MethodCommand outputRequest
OutputRequest is the command interface to set the state of output pins. The incoming request should be in the form of a Map with output pin keys (see Output data keys) and the requested Boolean values. The request can include 1 or more pins to be changed. A request to update an output pin which has an associated LDAP expression will be ignored. Pins are indexed beginning with 1. The "o0" data key signifies that the requested Boolean value should be applied to all output pins.

Since:
1.0
See Also:
handleMethodOutputRequest(int, Command, Object)

analogOutputRequest

protected final MethodCommand analogOutputRequest
AnalogOutputRequest is the command interface to set the state of Analog Outputs. The incoming request should be in the form of a Map with output keys (see AnalogOutput data keys) and the requested Long values. The request can include 1 or more values to be changed. Outputs are indexed beginning with 1. The "ao0" data key signifies that the requested Long value should be applied to all outputs.

Since:
1.1
See Also:
handleMethodAnalogOutputRequest(int, Command, Object)

inputCount

protected final ReadOnlyMeasurement inputCount
InputCount specifies the number of input pins supported by the device. InputCount is a read-only measurement and should be set only by the implementation class. InputCount is reported as a Long value.

Since:
1.0

outputCount

protected final ReadOnlyMeasurement outputCount
OutputCount specifies the number of output pins supported by the device. OutputCount is a read-only measurement and should be set only by the implementation class. OutputCount is reported as a Long value.

Since:
1.0

input

protected final ReadOnlyMeasurement input
Input specifies the current states of the input pins. Input is a read-only measurement reported as a Map value with input pin keys (see Input data keys) and Boolean state values. The measurement includes the state of multiple pins. Pins are indexed beginning with 1. When the state of 1 or more input pins changes, the measurement will include old and new states for all of the supported input pins. All pins may not be supported by the device. Get the InputCount measurement for the number of supported input pins.

Since:
1.0

output

protected final ReadOnlyMeasurement output
Output specifies the current states of the output pins. Output is a read-only measurement reported as a Map value with output pin keys (see Output data keys) and Boolean state values. The measurement includes the state of multiple pins. Pins are indexed beginning with 1. When the state of 1 or more output pins changes, the measurement will include old and new states for all of the supported output pins. All pins may not be supported by the device. Get the OutputCount measurement for the number of supported output pins.

Since:
1.0

output1Expression

protected final MethodMeasurement output1Expression
LDAP expression to trigger the state of output pin 1 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput1Expression(int, Measurement, Object)

output2Expression

protected final MethodMeasurement output2Expression
LDAP expression to trigger the state of output pin 2 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput2Expression(int, Measurement, Object)

output3Expression

protected final MethodMeasurement output3Expression
LDAP expression to trigger the state of output pin 3 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput3Expression(int, Measurement, Object)

output4Expression

protected final MethodMeasurement output4Expression
LDAP expression to trigger the state of output pin 4 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput4Expression(int, Measurement, Object)

output5Expression

protected final MethodMeasurement output5Expression
LDAP expression to trigger the state of output pin 5 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput5Expression(int, Measurement, Object)

output6Expression

protected final MethodMeasurement output6Expression
LDAP expression to trigger the state of output pin 6 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput6Expression(int, Measurement, Object)

output7Expression

protected final MethodMeasurement output7Expression
LDAP expression to trigger the state of output pin 7 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput7Expression(int, Measurement, Object)

output8Expression

protected final MethodMeasurement output8Expression
LDAP expression to trigger the state of output pin 8 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput8Expression(int, Measurement, Object)

output9Expression

protected final MethodMeasurement output9Expression
LDAP expression to trigger the state of output pin 9 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput9Expression(int, Measurement, Object)

output10Expression

protected final MethodMeasurement output10Expression
LDAP expression to trigger the state of output pin 10 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput10Expression(int, Measurement, Object)

output11Expression

protected final MethodMeasurement output11Expression
LDAP expression to trigger the state of output pin 11 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput11Expression(int, Measurement, Object)

output12Expression

protected final MethodMeasurement output12Expression
LDAP expression to trigger the state of output pin 12 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput12Expression(int, Measurement, Object)

output13Expression

protected final MethodMeasurement output13Expression
LDAP expression to trigger the state of output pin 13 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput13Expression(int, Measurement, Object)

output14Expression

protected final MethodMeasurement output14Expression
LDAP expression to trigger the state of output pin 14 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput14Expression(int, Measurement, Object)

output15Expression

protected final MethodMeasurement output15Expression
LDAP expression to trigger the state of output pin 15 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput15Expression(int, Measurement, Object)

output16Expression

protected final MethodMeasurement output16Expression
LDAP expression to trigger the state of output pin 16 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput16Expression(int, Measurement, Object)

output17Expression

protected final MethodMeasurement output17Expression
LDAP expression to trigger the state of output pin 17 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput17Expression(int, Measurement, Object)

output18Expression

protected final MethodMeasurement output18Expression
LDAP expression to trigger the state of output pin 18 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput18Expression(int, Measurement, Object)

output19Expression

protected final MethodMeasurement output19Expression
LDAP expression to trigger the state of output pin 19 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput19Expression(int, Measurement, Object)

output20Expression

protected final MethodMeasurement output20Expression
LDAP expression to trigger the state of output pin 20 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput20Expression(int, Measurement, Object)

output21Expression

protected final MethodMeasurement output21Expression
LDAP expression to trigger the state of output pin 21 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput21Expression(int, Measurement, Object)

output22Expression

protected final MethodMeasurement output22Expression
LDAP expression to trigger the state of output pin 22 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput22Expression(int, Measurement, Object)

output23Expression

protected final MethodMeasurement output23Expression
LDAP expression to trigger the state of output pin 23 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput23Expression(int, Measurement, Object)

output24Expression

protected final MethodMeasurement output24Expression
LDAP expression to trigger the state of output pin 24 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput24Expression(int, Measurement, Object)

output25Expression

protected final MethodMeasurement output25Expression
LDAP expression to trigger the state of output pin 25 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput25Expression(int, Measurement, Object)

output26Expression

protected final MethodMeasurement output26Expression
LDAP expression to trigger the state of output pin 26 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput26Expression(int, Measurement, Object)

output27Expression

protected final MethodMeasurement output27Expression
LDAP expression to trigger the state of output pin 27 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput27Expression(int, Measurement, Object)

output28Expression

protected final MethodMeasurement output28Expression
LDAP expression to trigger the state of output pin 28 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput28Expression(int, Measurement, Object)

output29Expression

protected final MethodMeasurement output29Expression
LDAP expression to trigger the state of output pin 29 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput29Expression(int, Measurement, Object)

output30Expression

protected final MethodMeasurement output30Expression
LDAP expression to trigger the state of output pin 30 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput30Expression(int, Measurement, Object)

output31Expression

protected final MethodMeasurement output31Expression
LDAP expression to trigger the state of output pin 31 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput31Expression(int, Measurement, Object)

output32Expression

protected final MethodMeasurement output32Expression
LDAP expression to trigger the state of output pin 32 based on input pin and control values.

Since:
1.0
See Also:
handleMethodOutput32Expression(int, Measurement, Object)

analogInputCount

protected final ReadOnlyMeasurement analogInputCount
AnalogInputCount specifies the number of analog inputs supported by the device. AnalogInputCount is a read-only measurement and should be set only by the implementation class. By default, this value is zero. AnalogInputCount is reported as a Long value.

Since:
1.1

analogOutputCount

protected final ReadOnlyMeasurement analogOutputCount
AnalogOutputCount specifies the number of outputs supported by the device. AnalogOutputCount is a read-only measurement and should be set only by the implementation class. By default, this value is zero. AnalogOutputCount is reported as a Long value.

Since:
1.1

analogInput

protected final ReadOnlyMeasurement analogInput
AnalogInput specifies the current analog inputs. AnalogInput is a read-only measurement reported as a Map value with analog input keys (see AnalogInput data keys) and Long state values. The measurement includes the state of multiple analog inputs. Analog inputs are indexed beginning with 1. When the state of 1 or more analog input changes, the measurement will include old and new states for all of the supported analog inputs All analog inputs may not be supported by the device. Get the AnalogInputCount measurement for the number of supported input pins.

Since:
1.1

analogOutput

protected final ReadOnlyMeasurement analogOutput
AnalogOutput specifies the current states of the analog outputs. AnalogOutput is a read-only measurement reported as a Map value with analog outputs (see AnalogOutput data keys) and Long state values. The measurement includes the state of multiple analog outputs. Analog outputs are indexed beginning with 1. When the state of 1 or more analog outputs changes, the measurement will include old and new states for all of the supported analog outputs. All analog outputs may not be supported by the device. Get the AnalogOutputCount measurement for the number of supported output pins.

Since:
1.1

outputOnMap

protected java.util.Map outputOnMap
Define the output on map (Map) field.


outputOffMap

protected java.util.Map outputOffMap
Define the output off map (Map) field.


analogOutputOffMap

protected java.util.Map analogOutputOffMap
Define the analog output off map (Map) field.


inputFalseMap

protected java.util.Map inputFalseMap
Define the input false map (Map) field.


analogInputOffMap

protected java.util.Map analogInputOffMap
Define the analog input off map (Map) field.


ldapMap

protected java.util.Hashtable ldapMap
Define the LDAP map (Dictionary) field.


outputFilters

protected Filter[] outputFilters
Define the bit filters (Filter[]) field.

Constructor Detail

GpioProfile

public GpioProfile()
Constructs a new instance of the GpioProfile class.

Since:
1.0
Method Detail

getControlProfilePrefix

public java.lang.String getControlProfilePrefix()
Get the control profile prefix value.

Returns:
The control profile prefix value.
Since:
1.0
See Also:
CONTROL_PROFILE_PREFIX

notificationReceived

public void notificationReceived(java.lang.String externalKey,
                                 java.util.Dictionary data)
Notification received.

Parameters:
externalKey - external key.
data - data.
Since:
1.0

setupNotification

public void setupNotification()
Setup notification.

Since:
1.0

measurementChanged

public void measurementChanged(MeasurementService source,
                               java.lang.Object timestamp,
                               java.lang.Object newValue,
                               java.lang.Object oldValue)
Measurement changed.

Parameters:
source - source.
timestamp - time stamp.
newValue - new value.
oldValue - old value.
Since:
1.0

getDefaultKey

public java.lang.String getDefaultKey()
Gets the default key of the profile.

Returns:
String The default key
Since:
1.0

getDefaultDevice

public DeviceService getDefaultDevice()
Gets the default DeviceService.

Returns:
DeviceService The default DeviceService.
Since:
1.0

isDeviceNeeded

public boolean isDeviceNeeded()
Is device needed.

Returns:
The results of this method.
Since:
1.0

getControlCapacity

public int getControlCapacity()
Gets the control capacity.

Returns:
The control capacity value.
Since:
1.0

getMessageCapacity

public int getMessageCapacity()
Gets the message capacity.

Returns:
int The message capacity.
Since:
1.0

getOutputRequest

public CommandService getOutputRequest()
OutputRequest is the command interface to set the state of output pins. The incoming request should be in the form of a Map with output pin keys (see Output data keys) and the requested Boolean values. The request can include 1 or more pins to be changed. A request to update an output pin which has an associated LDAP expression will be ignored. Pins are indexed beginning with 1. The "o0" data key signifies that the requested Boolean value should be applied to all output pins.

Returns:
The output request value.
Since:
1.0
See Also:
handleMethodOutputRequest(int, Command, Object)

getAnalogOutputRequest

public CommandService getAnalogOutputRequest()
AnalogOutputRequest is the command interface to set the state of Analog Outputs. The incoming request should be in the form of a Map with output keys (see AnalogOutput data keys) and the requested Long values. The request can include 1 or more values to be changed. Outputs are indexed beginning with 1. The "ao0" data key signifies that the requested Long value should be applied to all outputs.

Returns:
The analog output request value.
Since:
1.1
See Also:
handleMethodAnalogOutputRequest(int, Command, Object)

getInputCount

public MeasurementService getInputCount()
InputCount specifies the number of input pins supported by the device. InputCount is a read-only measurement and should be set only by the implementation class. InputCount is reported as a Long value.

Returns:
The input count value.
Since:
1.0

getOutputCount

public MeasurementService getOutputCount()
OutputCount specifies the number of output pins supported by the device. OutputCount is a read-only measurement and should be set only by the implementation class. OutputCount is reported as a Long value.

Returns:
The output count value.
Since:
1.0

getInput

public MeasurementService getInput()
Input specifies the current states of the input pins. Input is a read-only measurement reported as a Map value with input pin keys (see Input data keys) and Boolean state values. The measurement includes the state of multiple pins. Pins are indexed beginning with 1. When the state of 1 or more input pins changes, the measurement will include old and new states for all of the supported input pins. All pins may not be supported by the device. Get the InputCount measurement for the number of supported input pins.

Returns:
The input value.
Since:
1.0

getOutput

public MeasurementService getOutput()
Output specifies the current states of the output pins. Output is a read-only measurement reported as a Map value with output pin keys (see Output data keys) and Boolean state values. The measurement includes the state of multiple pins. Pins are indexed beginning with 1. When the state of 1 or more output pins changes, the measurement will include old and new states for all of the supported output pins. All pins may not be supported by the device. Get the OutputCount measurement for the number of supported output pins.

Returns:
The output value.
Since:
1.0

getOutput1Expression

public MeasurementService getOutput1Expression()
LDAP expression to trigger the state of output pin 1 based on input pin and control values.

Returns:
The output 1 expression value.
Since:
1.0
See Also:
handleMethodOutput1Expression(int, Measurement, Object)

getOutput2Expression

public MeasurementService getOutput2Expression()
LDAP expression to trigger the state of output pin 2 based on input pin and control values.

Returns:
The output 2 expression value.
Since:
1.0
See Also:
handleMethodOutput2Expression(int, Measurement, Object)

getOutput3Expression

public MeasurementService getOutput3Expression()
LDAP expression to trigger the state of output pin 3 based on input pin and control values.

Returns:
The output 3 expression value.
Since:
1.0
See Also:
handleMethodOutput3Expression(int, Measurement, Object)

getOutput4Expression

public MeasurementService getOutput4Expression()
LDAP expression to trigger the state of output pin 4 based on input pin and control values.

Returns:
The output 4 expression value.
Since:
1.0
See Also:
handleMethodOutput4Expression(int, Measurement, Object)

getOutput5Expression

public MeasurementService getOutput5Expression()
LDAP expression to trigger the state of output pin 5 based on input pin and control values.

Returns:
The output 5 expression value.
Since:
1.0
See Also:
handleMethodOutput5Expression(int, Measurement, Object)

getOutput6Expression

public MeasurementService getOutput6Expression()
LDAP expression to trigger the state of output pin 6 based on input pin and control values.

Returns:
The output 6 expression value.
Since:
1.0
See Also:
handleMethodOutput6Expression(int, Measurement, Object)

getOutput7Expression

public MeasurementService getOutput7Expression()
LDAP expression to trigger the state of output pin 7 based on input pin and control values.

Returns:
The output 7 expression value.
Since:
1.0
See Also:
handleMethodOutput7Expression(int, Measurement, Object)

getOutput8Expression

public MeasurementService getOutput8Expression()
LDAP expression to trigger the state of output pin 8 based on input pin and control values.

Returns:
The output 8 expression value.
Since:
1.0
See Also:
handleMethodOutput8Expression(int, Measurement, Object)

getOutput9Expression

public MeasurementService getOutput9Expression()
LDAP expression to trigger the state of output pin 9 based on input pin and control values.

Returns:
The output 9 expression value.
Since:
1.0
See Also:
handleMethodOutput9Expression(int, Measurement, Object)

getOutput10Expression

public MeasurementService getOutput10Expression()
LDAP expression to trigger the state of output pin 10 based on input pin and control values.

Returns:
The output 10 expression value.
Since:
1.0
See Also:
handleMethodOutput10Expression(int, Measurement, Object)

getOutput11Expression

public MeasurementService getOutput11Expression()
LDAP expression to trigger the state of output pin 11 based on input pin and control values.

Returns:
The output 11 expression value.
Since:
1.0
See Also:
handleMethodOutput11Expression(int, Measurement, Object)

getOutput12Expression

public MeasurementService getOutput12Expression()
LDAP expression to trigger the state of output pin 12 based on input pin and control values.

Returns:
The output 12 expression value.
Since:
1.0
See Also:
handleMethodOutput12Expression(int, Measurement, Object)

getOutput13Expression

public MeasurementService getOutput13Expression()
LDAP expression to trigger the state of output pin 13 based on input pin and control values.

Returns:
The output 13 expression value.
Since:
1.0
See Also:
handleMethodOutput13Expression(int, Measurement, Object)

getOutput14Expression

public MeasurementService getOutput14Expression()
LDAP expression to trigger the state of output pin 14 based on input pin and control values.

Returns:
The output 14 expression value.
Since:
1.0
See Also:
handleMethodOutput14Expression(int, Measurement, Object)

getOutput15Expression

public MeasurementService getOutput15Expression()
LDAP expression to trigger the state of output pin 15 based on input pin and control values.

Returns:
The output 15 expression value.
Since:
1.0
See Also:
handleMethodOutput15Expression(int, Measurement, Object)

getOutput16Expression

public MeasurementService getOutput16Expression()
LDAP expression to trigger the state of output pin 16 based on input pin and control values.

Returns:
The output 16 expression value.
Since:
1.0
See Also:
handleMethodOutput16Expression(int, Measurement, Object)

getOutput17Expression

public MeasurementService getOutput17Expression()
LDAP expression to trigger the state of output pin 17 based on input pin and control values.

Returns:
The output 17 expression value.
Since:
1.0
See Also:
handleMethodOutput17Expression(int, Measurement, Object)

getOutput18Expression

public MeasurementService getOutput18Expression()
LDAP expression to trigger the state of output pin 18 based on input pin and control values.

Returns:
The output 18 expression value.
Since:
1.0
See Also:
handleMethodOutput18Expression(int, Measurement, Object)

getOutput19Expression

public MeasurementService getOutput19Expression()
LDAP expression to trigger the state of output pin 19 based on input pin and control values.

Returns:
The output 19 expression value.
Since:
1.0
See Also:
handleMethodOutput19Expression(int, Measurement, Object)

getOutput20Expression

public MeasurementService getOutput20Expression()
LDAP expression to trigger the state of output pin 20 based on input pin and control values.

Returns:
The output 20 expression value.
Since:
1.0
See Also:
handleMethodOutput20Expression(int, Measurement, Object)

getOutput21Expression

public MeasurementService getOutput21Expression()
LDAP expression to trigger the state of output pin 21 based on input pin and control values.

Returns:
The output 21 expression value.
Since:
1.0
See Also:
handleMethodOutput21Expression(int, Measurement, Object)

getOutput22Expression

public MeasurementService getOutput22Expression()
LDAP expression to trigger the state of output pin 22 based on input pin and control values.

Returns:
The output 22 expression value.
Since:
1.0
See Also:
handleMethodOutput22Expression(int, Measurement, Object)

getOutput23Expression

public MeasurementService getOutput23Expression()
LDAP expression to trigger the state of output pin 23 based on input pin and control values.

Returns:
The output 23 expression value.
Since:
1.0
See Also:
handleMethodOutput23Expression(int, Measurement, Object)

getOutput24Expression

public MeasurementService getOutput24Expression()
LDAP expression to trigger the state of output pin 24 based on input pin and control values.

Returns:
The output 24 expression value.
Since:
1.0
See Also:
handleMethodOutput24Expression(int, Measurement, Object)

getOutput25Expression

public MeasurementService getOutput25Expression()
LDAP expression to trigger the state of output pin 25 based on input pin and control values.

Returns:
The output 25 expression value.
Since:
1.0
See Also:
handleMethodOutput25Expression(int, Measurement, Object)

getOutput26Expression

public MeasurementService getOutput26Expression()
LDAP expression to trigger the state of output pin 26 based on input pin and control values.

Returns:
The output 26 expression value.
Since:
1.0
See Also:
handleMethodOutput26Expression(int, Measurement, Object)

getOutput27Expression

public MeasurementService getOutput27Expression()
LDAP expression to trigger the state of output pin 27 based on input pin and control values.

Returns:
The output 27 expression value.
Since:
1.0
See Also:
handleMethodOutput27Expression(int, Measurement, Object)

getOutput28Expression

public MeasurementService getOutput28Expression()
LDAP expression to trigger the state of output pin 28 based on input pin and control values.

Returns:
The output 28 expression value.
Since:
1.0
See Also:
handleMethodOutput28Expression(int, Measurement, Object)

getOutput29Expression

public MeasurementService getOutput29Expression()
LDAP expression to trigger the state of output pin 29 based on input pin and control values.

Returns:
The output 29 expression value.
Since:
1.0
See Also:
handleMethodOutput29Expression(int, Measurement, Object)

getOutput30Expression

public MeasurementService getOutput30Expression()
LDAP expression to trigger the state of output pin 30 based on input pin and control values.

Returns:
The output 30 expression value.
Since:
1.0
See Also:
handleMethodOutput30Expression(int, Measurement, Object)

getOutput31Expression

public MeasurementService getOutput31Expression()
LDAP expression to trigger the state of output pin 31 based on input pin and control values.

Returns:
The output 31 expression value.
Since:
1.0
See Also:
handleMethodOutput31Expression(int, Measurement, Object)

getOutput32Expression

public MeasurementService getOutput32Expression()
LDAP expression to trigger the state of output pin 32 based on input pin and control values.

Returns:
The output 32 expression value.
Since:
1.0
See Also:
handleMethodOutput32Expression(int, Measurement, Object)

getAnalogInputCount

public MeasurementService getAnalogInputCount()
AnalogInputCount specifies the number of analog inputs supported by the device. AnalogInputCount is a read-only measurement and should be set only by the implementation class. By default, this value is zero. AnalogInputCount is reported as a Long value.

Returns:
The analog input count value.
Since:
1.1

getAnalogOutputCount

public MeasurementService getAnalogOutputCount()
AnalogOutputCount specifies the number of outputs supported by the device. AnalogOutputCount is a read-only measurement and should be set only by the implementation class. By default, this value is zero. AnalogOutputCount is reported as a Long value.

Returns:
The analog output count value.
Since:
1.1

getAnalogInput

public MeasurementService getAnalogInput()
AnalogInput specifies the current analog inputs. AnalogInput is a read-only measurement reported as a Map value with analog input keys (see AnalogInput data keys) and Long state values. The measurement includes the state of multiple analog inputs. Analog inputs are indexed beginning with 1. When the state of 1 or more analog input changes, the measurement will include old and new states for all of the supported analog inputs All analog inputs may not be supported by the device. Get the AnalogInputCount measurement for the number of supported input pins.

Returns:
The analog input value.
Since:
1.1

getAnalogOutput

public MeasurementService getAnalogOutput()
AnalogOutput specifies the current states of the analog outputs. AnalogOutput is a read-only measurement reported as a Map value with analog outputs (see AnalogOutput data keys) and Long state values. The measurement includes the state of multiple analog outputs. Analog outputs are indexed beginning with 1. When the state of 1 or more analog outputs changes, the measurement will include old and new states for all of the supported analog outputs. All analog outputs may not be supported by the device. Get the AnalogOutputCount measurement for the number of supported output pins.

Returns:
The analog output value.
Since:
1.1

setup

public void setup()
Since:
1.2
See Also:
org.eclipse.soda.dk.device.Container#setup()

applyAnalogOutputRequest

protected void applyAnalogOutputRequest(java.util.Map request)
Apply analog output request with the specified request parameter.

Parameters:
request - The request (Map) parameter.
See Also:
getAnalogOutputRequest(), handleExecuteAnalogOutputRequest(Command,Object), handleMethodAnalogOutputRequest(int,Command,Object)

applyOutputRequest

protected void applyOutputRequest(java.util.Map request)
Apply output request with the specified request parameter.

Parameters:
request - The request (Map) parameter.
See Also:
applyAnalogOutputRequest(Map), getAnalogOutputRequest(), getOutputRequest(), handleExecuteAnalogOutputRequest(Command,Object), handleExecuteOutputRequest(Command,Object), handleMethodAnalogOutputRequest(int,Command,Object), handleMethodOutputRequest(int,Command,Object)

evaluateFilters

protected void evaluateFilters()
Evaluate filters.


getAnalogInputCountValue

protected long getAnalogInputCountValue()
Gets the analog input count value (long) value.

Returns:
The analog input count value (long) value.

getAnalogOutputCountValue

protected long getAnalogOutputCountValue()
Gets the analog output count value (long) value.

Returns:
The analog output count value (long) value.

getInputCountValue

protected abstract long getInputCountValue()
Gets the input count value (long) value.

Returns:
The input count value (long) value.
See Also:
getAnalogInputCountValue()

getMergedMap

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.

Parameters:
request - The request (Map) parameter.
current - The current (Map) parameter.
names - The names (String[]) parameter.
Returns:
Results of the get merged state (int) value.

getOutputCountValue

protected abstract long getOutputCountValue()
Gets the output count value (long) value.

Returns:
The output count value (long) value.
See Also:
getAnalogOutputCountValue()

getStoredInputByName

protected boolean getStoredInputByName(java.lang.String name)
Get stored input by name with the specified name parameter and return the boolean result.

Parameters:
name - The name (String) parameter.
Returns:
Results of the get stored input by name (boolean) value.

getStoredOutputByName

protected boolean getStoredOutputByName(java.lang.String name)
Get stored output by name with the specified name parameter and return the boolean result.

Parameters:
name - The name (String) parameter.
Returns:
Results of the get stored output by name (boolean) value.

handleAnalogInput

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.

Parameters:
source - The source (MeasurementService) parameter.
timestamp - The time stamp (Object) parameter.
newValue - The new value (Object) parameter.
oldValue - The old value (Object) parameter.
See Also:
getAnalogInput()

handleControlProfileServiceBits

protected void handleControlProfileServiceBits(java.lang.String externalKey,
                                               java.util.Dictionary data)
Handle control profile service bits with the specified external key and data parameters.

Parameters:
externalKey - The external key (String) parameter.
data - The data (Dictionary) parameter.

handleControlProfileServiceLongs

protected void handleControlProfileServiceLongs(java.lang.String externalKey,
                                                java.util.Dictionary data)
Handle control profile service longs with the specified external key and data parameters.

Parameters:
externalKey - The external key (String) parameter.
data - The data (Dictionary) parameter.

handleExecuteAnalogOutputRequest

protected void handleExecuteAnalogOutputRequest(Command command,
                                                java.lang.Object data)
Handle execute analog output request with the specified command and data parameters.

Parameters:
command - The command (Command) parameter.
data - The data (Object) parameter.

handleExecuteOutputRequest

protected void handleExecuteOutputRequest(Command command,
                                          java.lang.Object data)
Handle GPIO output request with the specified command and data parameters.

Parameters:
command - The command (Command) parameter.
data - The data (Object) parameter.

handleInput

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.

Parameters:
source - The source (MeasurementService) parameter.
timestamp - The time stamp (Object) parameter.
newValue - The new value (Object) parameter.
oldValue - The old value (Object) parameter.
See Also:
getAnalogInput(), getInput(), handleAnalogInput(MeasurementService,Object,Object,Object)

handleMethodAnalogOutputRequest

public 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.

Parameters:
code - The code (int) parameter.
command - The command (Command) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method analog output request (Object) value.

handleMethodOutput10Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output10 expression (Object) value.

handleMethodOutput11Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output11 expression (Object) value.

handleMethodOutput12Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output12 expression (Object) value.

handleMethodOutput13Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output13 expression (Object) value.

handleMethodOutput14Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output14 expression (Object) value.

handleMethodOutput15Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output15 expression (Object) value.

handleMethodOutput16Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output16 expression (Object) value.

handleMethodOutput17Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output17 expression (Object) value.

handleMethodOutput18Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output18 expression (Object) value.

handleMethodOutput19Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output19 expression (Object) value.

handleMethodOutput1Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output1 expression (Object) value.

handleMethodOutput20Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output20 expression (Object) value.

handleMethodOutput21Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output21 expression (Object) value.

handleMethodOutput22Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output22 expression (Object) value.

handleMethodOutput23Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output23 expression (Object) value.

handleMethodOutput24Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output24 expression (Object) value.

handleMethodOutput25Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output25 expression (Object) value.

handleMethodOutput26Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output26 expression (Object) value.

handleMethodOutput27Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output27 expression (Object) value.

handleMethodOutput28Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output28 expression (Object) value.

handleMethodOutput29Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output29 expression (Object) value.

handleMethodOutput2Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output2 expression (Object) value.

handleMethodOutput30Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output30 expression (Object) value.

handleMethodOutput31Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output31 expression (Object) value.

handleMethodOutput32Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output32 expression (Object) value.

handleMethodOutput3Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output3 expression (Object) value.

handleMethodOutput4Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output4 expression (Object) value.

handleMethodOutput5Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output5 expression (Object) value.

handleMethodOutput6Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output6 expression (Object) value.

handleMethodOutput7Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output7 expression (Object) value.

handleMethodOutput8Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output8 expression (Object) value.

handleMethodOutput9Expression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output9 expression (Object) value.

handleMethodOutputExpression

public 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.

Parameters:
code - The code (int) parameter.
measurement - The measurement (Measurement) parameter.
data - The data (Object) parameter.
pin - The pin (int) parameter.
Returns:
Results of the handle method output expression (Object) value.

handleMethodOutputRequest

public 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.

Parameters:
code - The code (int) parameter.
command - The command (Command) parameter.
data - The data (Object) parameter.
Returns:
Results of the handle method output request (Object) value.

requestAnalogIsValidType

protected boolean requestAnalogIsValidType(java.util.Map request)
Request analog is valid type with the specified request parameter and return the boolean result.

Parameters:
request - The request (Map) parameter.
Returns:
Results of the request analog is valid type (boolean) value.

requestIsValidType

protected boolean requestIsValidType(java.util.Map request)
Request is valid type with the specified request parameter and return the boolean result.

Parameters:
request - The request (Map) parameter.
Returns:
Results of the request is valid type (boolean) value.
See Also:
requestAnalogIsValidType(Map)

setupCustom

public void setupCustom()
Setup custom.


turnOffAllOutputs

protected abstract void turnOffAllOutputs()
Turn off all outputs.


turnOnAllOutputs

protected abstract void turnOnAllOutputs()
Turn on all outputs.


updateAnalogOutputs

protected void updateAnalogOutputs(java.util.Map newState,
                                   java.util.Map request)
Update analog outputs with the specified new state and request parameters.

Parameters:
newState - The new state (Map) parameter.
request - The request (Map) parameter.

updateFilter

protected void updateFilter(int index,
                            java.lang.Object newValue)
Update filter with the specified index and new value parameters.

Parameters:
index - The index (int) parameter.
newValue - The new value (Object) parameter.

updateOutputs

protected abstract void updateOutputs(java.util.Map fullState,
                                      java.util.Map individualRequest)
Update outputs with the specified request parameter.

Parameters:
fullState - The full state (Map) parameter.
individualRequest - The individual request (Map) parameter.
See Also:
turnOffAllOutputs(), turnOnAllOutputs(), updateAnalogOutputs(Map,Map)

2010-01-26 1.2.0

Copyright (c) 2010 IBM. See license in Legal section.