Example #1
0
  @Override
  protected void setupPropertyMaps() {
    super.setupPropertyMaps();

    addStatusChangeAnnouncementProperty(EPC_OPERATION_STATUS);
    removeSetProperty(EPC_OPERATION_STATUS);
    addGetProperty(EPC_OPERATION_STATUS);
    addGetProperty(EPC_MEASURED_ILLUMINANCE_VALUE1);
    addGetProperty(EPC_MEASURED_ILLUMINANCE_VALUE2);
  }
  @Override
  protected void setupPropertyMaps() {
    super.setupPropertyMaps();

    addStatusChangeAnnouncementProperty(EPC_OPERATION_STATUS);
    removeSetProperty(EPC_OPERATION_STATUS);
    addGetProperty(EPC_OPERATION_STATUS);
    addStatusChangeAnnouncementProperty(EPC_WATER_OVERFLOW_DETECTION_STATUS);
    addGetProperty(EPC_WATER_OVERFLOW_DETECTION_STATUS);
  }
Example #3
0
 @Override
 public void onNew() {
   super.onNew();
   Echo.getEventListener().onNewIlluminanceSensor(this);
 }
 @Override
 public void onNew() {
   super.onNew();
   Echo.getEventListener().onNewWaterOverflowSensor(this);
 }