Esempio n. 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);
  }
Esempio n. 2
0
  @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);
  }
Esempio n. 3
0
 @Override
 public void onNew() {
   super.onNew();
   Echo.getEventListener().onNewIlluminanceSensor(this);
 }
Esempio n. 4
0
 @Override
 public void onNew() {
   super.onNew();
   Echo.getEventListener().onNewWaterOverflowSensor(this);
 }