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