16 package com.sonycsl.echo.eoj.device.sensor;
36 super.setupPropertyMaps();
48 Echo.getEventListener().onNewBathWaterLevelSensor(
this);
152 if(edt == null || !(edt.length == 1))
return false;
209 if(edt == null || !(edt.length == 1))
return false;
258 if(edt == null || !(edt.length == 1))
return false;
264 boolean success = super.setProperty(property);
265 if(success)
return success;
267 switch(property.
epc) {
268 default :
return false;
274 byte[] edt = super.getProperty(epc);
275 if(edt != null)
return edt;
281 default :
return null;
287 boolean valid = super.isValidProperty(property);
288 if(valid)
return valid;
290 switch(property.
epc) {
294 default :
return false;
304 public Setter
set(
boolean responseRequired) {
306 ,
getNode().getAddressStr(), responseRequired);
310 public Getter
get() {
321 protected Informer
inform(
boolean multicast) {
326 address =
getNode().getAddressStr();
332 public static class Receiver
extends DeviceObject.Receiver {
335 protected boolean onSetProperty(
EchoObject eoj,
short tid, byte esv,
337 boolean ret = super.onSetProperty(eoj, tid, esv, property, success);
340 switch(property.epc) {
347 protected boolean onGetProperty(
EchoObject eoj,
short tid, byte esv,
349 boolean ret = super.onGetProperty(eoj, tid, esv, property, success);
352 switch(property.epc) {
354 onGetBathWaterLevelOverDetectionThresholdLevel(eoj, tid, esv, property, success);
357 onGetBathWaterLevelOverDetectionStatus(eoj, tid, esv, property, success);
360 onGetMeasuredValueOfBathWaterLevel(eoj, tid, esv, property, success);
389 protected void onGetBathWaterLevelOverDetectionThresholdLevel(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
416 protected void onGetBathWaterLevelOverDetectionStatus(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
439 protected void onGetMeasuredValueOfBathWaterLevel(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
442 public static class Setter
extends DeviceObject.Setter {
443 public Setter(
short dstEchoClassCode, byte dstEchoInstanceCode
444 , String dstEchoAddress,
boolean responseRequired) {
445 super(dstEchoClassCode, dstEchoInstanceCode
446 , dstEchoAddress, responseRequired);
450 public Setter reqSetProperty(byte epc, byte[] edt) {
451 return (Setter)super.reqSetProperty(epc, edt);
455 public Setter reqSetOperationStatus(byte[] edt) {
456 return (Setter)super.reqSetOperationStatus(edt);
459 public Setter reqSetInstallationLocation(byte[] edt) {
460 return (Setter)super.reqSetInstallationLocation(edt);
463 public Setter reqSetCurrentLimitSetting(byte[] edt) {
464 return (Setter)super.reqSetCurrentLimitSetting(edt);
467 public Setter reqSetPowerSavingOperationSetting(byte[] edt) {
468 return (Setter)super.reqSetPowerSavingOperationSetting(edt);
471 public Setter reqSetRemoteControlSetting(byte[] edt) {
472 return (Setter)super.reqSetRemoteControlSetting(edt);
475 public Setter reqSetCurrentTimeSetting(byte[] edt) {
476 return (Setter)super.reqSetCurrentTimeSetting(edt);
479 public Setter reqSetCurrentDateSetting(byte[] edt) {
480 return (Setter)super.reqSetCurrentDateSetting(edt);
483 public Setter reqSetPowerLimitSetting(byte[] edt) {
484 return (Setter)super.reqSetPowerLimitSetting(edt);
489 public static class Getter
extends DeviceObject.Getter {
490 public Getter(
short dstEchoClassCode, byte dstEchoInstanceCode
491 , String dstEchoAddress) {
492 super(dstEchoClassCode, dstEchoInstanceCode
497 public Getter reqGetProperty(byte epc) {
498 return (Getter)super.reqGetProperty(epc);
502 public Getter reqGetOperationStatus() {
503 return (Getter)super.reqGetOperationStatus();
506 public Getter reqGetInstallationLocation() {
507 return (Getter)super.reqGetInstallationLocation();
510 public Getter reqGetStandardVersionInformation() {
511 return (Getter)super.reqGetStandardVersionInformation();
514 public Getter reqGetIdentificationNumber() {
515 return (Getter)super.reqGetIdentificationNumber();
518 public Getter reqGetMeasuredInstantaneousPowerConsumption() {
519 return (Getter)super.reqGetMeasuredInstantaneousPowerConsumption();
522 public Getter reqGetMeasuredCumulativePowerConsumption() {
523 return (Getter)super.reqGetMeasuredCumulativePowerConsumption();
526 public Getter reqGetManufacturersFaultCode() {
527 return (Getter)super.reqGetManufacturersFaultCode();
530 public Getter reqGetCurrentLimitSetting() {
531 return (Getter)super.reqGetCurrentLimitSetting();
534 public Getter reqGetFaultStatus() {
535 return (Getter)super.reqGetFaultStatus();
538 public Getter reqGetFaultDescription() {
539 return (Getter)super.reqGetFaultDescription();
542 public Getter reqGetManufacturerCode() {
543 return (Getter)super.reqGetManufacturerCode();
546 public Getter reqGetBusinessFacilityCode() {
547 return (Getter)super.reqGetBusinessFacilityCode();
550 public Getter reqGetProductCode() {
551 return (Getter)super.reqGetProductCode();
554 public Getter reqGetProductionNumber() {
555 return (Getter)super.reqGetProductionNumber();
558 public Getter reqGetProductionDate() {
559 return (Getter)super.reqGetProductionDate();
562 public Getter reqGetPowerSavingOperationSetting() {
563 return (Getter)super.reqGetPowerSavingOperationSetting();
566 public Getter reqGetRemoteControlSetting() {
567 return (Getter)super.reqGetRemoteControlSetting();
570 public Getter reqGetCurrentTimeSetting() {
571 return (Getter)super.reqGetCurrentTimeSetting();
574 public Getter reqGetCurrentDateSetting() {
575 return (Getter)super.reqGetCurrentDateSetting();
578 public Getter reqGetPowerLimitSetting() {
579 return (Getter)super.reqGetPowerLimitSetting();
582 public Getter reqGetCumulativeOperatingTime() {
583 return (Getter)super.reqGetCumulativeOperatingTime();
586 public Getter reqGetStatusChangeAnnouncementPropertyMap() {
587 return (Getter)super.reqGetStatusChangeAnnouncementPropertyMap();
590 public Getter reqGetSetPropertyMap() {
591 return (Getter)super.reqGetSetPropertyMap();
594 public Getter reqGetGetPropertyMap() {
595 return (Getter)super.reqGetGetPropertyMap();
620 public Getter reqGetBathWaterLevelOverDetectionThresholdLevel() {
650 public Getter reqGetBathWaterLevelOverDetectionStatus() {
676 public Getter reqGetMeasuredValueOfBathWaterLevel() {
682 public static class Informer
extends DeviceObject.Informer {
683 public Informer(
short echoClassCode, byte echoInstanceCode
685 super(echoClassCode, echoInstanceCode
686 , dstEchoAddress, isSelfObject);
690 public Informer reqInformProperty(byte epc) {
691 return (Informer)super.reqInformProperty(epc);
694 public Informer reqInformOperationStatus() {
695 return (Informer)super.reqInformOperationStatus();
698 public Informer reqInformInstallationLocation() {
699 return (Informer)super.reqInformInstallationLocation();
702 public Informer reqInformStandardVersionInformation() {
703 return (Informer)super.reqInformStandardVersionInformation();
706 public Informer reqInformIdentificationNumber() {
707 return (Informer)super.reqInformIdentificationNumber();
710 public Informer reqInformMeasuredInstantaneousPowerConsumption() {
711 return (Informer)super.reqInformMeasuredInstantaneousPowerConsumption();
714 public Informer reqInformMeasuredCumulativePowerConsumption() {
715 return (Informer)super.reqInformMeasuredCumulativePowerConsumption();
718 public Informer reqInformManufacturersFaultCode() {
719 return (Informer)super.reqInformManufacturersFaultCode();
722 public Informer reqInformCurrentLimitSetting() {
723 return (Informer)super.reqInformCurrentLimitSetting();
726 public Informer reqInformFaultStatus() {
727 return (Informer)super.reqInformFaultStatus();
730 public Informer reqInformFaultDescription() {
731 return (Informer)super.reqInformFaultDescription();
734 public Informer reqInformManufacturerCode() {
735 return (Informer)super.reqInformManufacturerCode();
738 public Informer reqInformBusinessFacilityCode() {
739 return (Informer)super.reqInformBusinessFacilityCode();
742 public Informer reqInformProductCode() {
743 return (Informer)super.reqInformProductCode();
746 public Informer reqInformProductionNumber() {
747 return (Informer)super.reqInformProductionNumber();
750 public Informer reqInformProductionDate() {
751 return (Informer)super.reqInformProductionDate();
754 public Informer reqInformPowerSavingOperationSetting() {
755 return (Informer)super.reqInformPowerSavingOperationSetting();
758 public Informer reqInformRemoteControlSetting() {
759 return (Informer)super.reqInformRemoteControlSetting();
762 public Informer reqInformCurrentTimeSetting() {
763 return (Informer)super.reqInformCurrentTimeSetting();
766 public Informer reqInformCurrentDateSetting() {
767 return (Informer)super.reqInformCurrentDateSetting();
770 public Informer reqInformPowerLimitSetting() {
771 return (Informer)super.reqInformPowerLimitSetting();
774 public Informer reqInformCumulativeOperatingTime() {
775 return (Informer)super.reqInformCumulativeOperatingTime();
778 public Informer reqInformStatusChangeAnnouncementPropertyMap() {
779 return (Informer)super.reqInformStatusChangeAnnouncementPropertyMap();
782 public Informer reqInformSetPropertyMap() {
783 return (Informer)super.reqInformSetPropertyMap();
786 public Informer reqInformGetPropertyMap() {
787 return (Informer)super.reqInformGetPropertyMap();
812 public Informer reqInformBathWaterLevelOverDetectionThresholdLevel() {
842 public Informer reqInformBathWaterLevelOverDetectionStatus() {
868 public Informer reqInformMeasuredValueOfBathWaterLevel() {
874 public static class Proxy
extends BathWaterLevelSensor {
875 public Proxy(byte instanceCode) {
900 return setG((byte)0);
903 public static Setter
setG(byte instanceCode) {
904 return setG(instanceCode,
true);
907 public static Setter
setG(
boolean responseRequired) {
908 return setG((byte)0, responseRequired);
911 public static Setter
setG(byte instanceCode,
boolean responseRequired) {
917 return getG((byte)0);
920 public static Getter
getG(byte instanceCode) {
929 public static Informer
informG(byte instanceCode) {
synchronized byte[] getProperty(byte epc)
synchronized boolean setProperty(EchoProperty property)
static Setter setG(byte instanceCode)
static final byte EPC_BATH_WATER_LEVEL_OVER_DETECTION_THRESHOLD_LEVEL
static Informer informG(byte instanceCode)
final void removeSetProperty(byte epc)
final void addStatusChangeAnnouncementProperty(byte epc)
abstract byte[] getInstallationLocation()
byte[] getBathWaterLevelOverDetectionThresholdLevel()
final void addGetProperty(byte epc)
static Getter getG(byte instanceCode)
static final byte EPC_BATH_WATER_LEVEL_OVER_DETECTION_STATUS
boolean setOperationStatus(byte[] edt)
static final byte EPC_MEASURED_VALUE_OF_BATH_WATER_LEVEL
abstract byte[] getOperationStatus()
abstract byte[] getFaultStatus()
static final short ECHO_CLASS_CODE
static Setter setG(byte instanceCode, boolean responseRequired)
boolean isValidBathWaterLevelOverDetectionStatus(byte[] edt)
abstract byte[] getManufacturerCode()
byte[] getBathWaterLevelOverDetectionStatus()
synchronized boolean isValidProperty(EchoProperty property)
abstract byte[] getMeasuredValueOfBathWaterLevel()
static final byte EPC_OPERATION_STATUS
byte[] getStandardVersionInformation()
boolean isValidMeasuredValueOfBathWaterLevel(byte[] edt)
static Setter setG(boolean responseRequired)
Informer inform(boolean multicast)
abstract boolean setInstallationLocation(byte[] edt)
static final String MULTICAST_ADDRESS
static Informer informG()
boolean isValidBathWaterLevelOverDetectionThresholdLevel(byte[] edt)
Setter set(boolean responseRequired)
final boolean isSelfObject()