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